Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Aleksandr Pilosov <apilos01@utopia.poly.edu>
Subject: Re: strace/ptrace bug
Date: Fri, 23 Jan 1998 15:06:17 -0500 (EST)	[thread overview]
Message-ID: <c125db9e3b0f3deb14f4b0e7ca2925ba.axp-list@archive.invalid> (raw)
In-Reply-To: <19980123024646.54414@dot.cygnus.com>

On Fri, 23 Jan 1998, Richard Henderson wrote:

> On Fri, Jan 23, 1998 at 01:29:08AM -0500, Aleksandr Pilosov wrote:
> > seems like strace is calling sys_ptrace with unaligned address.
> 
> Likely.
> 
> > I'm not sure if strace is buggy, but this shouldn't generate an unaligned
> > trap in kernel
> 
> Strace is (very) buggy, and yes it should generate an unaligned trap.

So strace is at fault or kernel is? 

> > (from what I understand, they are not handled gracefully, 
> > and both strace and process traced die).
> 
> Ah, but they are handled gracefully.  We just print a helpful message.
> Helpful, that is, in annoying someone (like yourself) to fix it.  ;-)

Does that mean that processes are supposed to die when there's an
unaligned trap in kernel? 

*Goes to grab strace sources*

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1998-01-23 20:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19980123024646.54414@dot.cygnus.com>
1998-01-23 20:06 ` Aleksandr Pilosov [this message]
     [not found] <Pine.GSO.3.96.980123150327.22482B-100000@utopia.poly.edu>
1998-01-23 22:11 ` strace/ptrace bug Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox