mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.0test5: ptrace() broken on alpha
@ 2003-10-04 16:11 Joerg Hoh
  0 siblings, 0 replies; only message in thread
From: Joerg Hoh @ 2003-10-04 16:11 UTC (permalink / raw)
  To: linux-kernel

While debugging screen we found a strange problem; you can reproduce it
with
                                                                                                                                                             
strace -tt fo sh -c "sleep 1; sleep 1"
                                                                                                                                                             
The strace hangs (like here)
                                                                                                                                                             
[strippd]
17:07:46.400332 getpgrp()               = 302
17:07:46.400691 rt_sigaction(SIGCHLD, {0x120040210, [], 0}, {SIG_DFL}, 8, 0xffffffffffffffff) = 0
17:07:46.401228 osf_sigprocmask(0x1, 0, 0x1200f8508) = 0
17:07:46.401632 osf_sigprocmask(0x1, 0, 0x1200f8508) = 0
17:07:46.402027 osf_sigprocmask(0x1, 0, 0x1200f8508) = 0
17:07:46.402833 stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
17:07:46.403283 stat("/usr/local/sbin/sleep", 0x11ffff620) = -1 ENOENT (No such file or directory)
17:07:46.403661 stat("/usr/local/bin/sleep", 0x11ffff620) = -1 ENOENT (No such file or directory)
17:07:46.404044 stat("/usr/sbin/sleep", 0x11ffff620) = -1 ENOENT (No such file or directory)
17:07:46.404374 stat("/usr/bin/sleep", 0x11ffff620) = -1 ENOENT (No such file or directory)
17:07:46.404733 stat("/sbin/sleep", 0x11ffff620) = -1 ENOENT (No such file or directory)
17:07:46.405065 stat("/bin/sleep", {st_mode=S_IFREG|0755, st_size=20608, ...}) = 0
17:07:46.405428 stat("/bin/sleep", {st_mode=S_IFREG|0755, st_size=20608, ...}) = 0
17:07:46.406012 osf_sigprocmask(0x1, 0x80002, 0x11ffff7d0) = 0
17:07:46.406361 fork()                  = 304
17:07:46.415170 osf_sigprocmask(0x3, 0, 0) = 524290
17:07:46.415639 osf_sigprocmask(0x1, 0x80000, 0x11ffff8f0) = 0
17:07:46.415920 osf_sigprocmask(0x3, 0, 0) = 524288
17:07:46.416151 osf_sigprocmask(0x1, 0x80000, 0x11ffff8f0) = 0
17:07:46.416376 rt_sigaction(SIGINT, {0x12003ec60, [], 0}, {SIG_DFL}, 8, 0xffffffffffffffff) = 0
17:07:46.416820 wait4(-1,
                                                                                                                                                             
It seems the child has been forked but hasn't done anything further (no
exit()); (btw screen has a race condition, first forking and then
registering the signal handler).
                                                                                                                                                             
The problem occurs also on 2.6.0test6
                                                                                                                                                             
Joerg

-- 
...Wenn man sich bei NetBSD auf eines verlassen kann, dann: Egal, WAS[...]
man updated, mplayer hat mit Sicherheit dependencies drauf.
  Rene Schickbauer, news:2591532.ZKZXAUW3eG@gandalf.grumpfzotz.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-04 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04 16:11 2.6.0test5: ptrace() broken on alpha Joerg Hoh

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

all inboxes | Powered by JetHome®