Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sat, 4 Oct 2003 18:11:00 +0200 | From | Joerg Hoh <> | Subject | 2.6.0test5: ptrace() broken on alpha |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |