Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: strace/ptrace bug
       [not found] <19980123024646.54414@dot.cygnus.com>
@ 1998-01-23 20:06 ` Aleksandr Pilosov
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksandr Pilosov @ 1998-01-23 20:06 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: strace/ptrace bug
       [not found] <Pine.GSO.3.96.980123150327.22482B-100000@utopia.poly.edu>
@ 1998-01-23 22:11 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-01-23 22:11 UTC (permalink / raw)


On Fri, Jan 23, 1998 at 03:06:17PM -0500, Aleksandr Pilosov wrote:
> So strace is at fault or kernel is? 

Strace.

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

No.

r~

-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-23 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.GSO.3.96.980123150327.22482B-100000@utopia.poly.edu>
1998-01-23 22:11 ` strace/ptrace bug Richard Henderson
     [not found] <19980123024646.54414@dot.cygnus.com>
1998-01-23 20:06 ` Aleksandr Pilosov

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