mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Hoh <joerg@devone.org>
To: linux-kernel@vger.kernel.org
Subject: 2.6.0test5: ptrace() broken on alpha
Date: Sat, 4 Oct 2003 18:11:00 +0200	[thread overview]
Message-ID: <20031004161100.GC3573@hydra.joerghoh.de> (raw)

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

                 reply	other threads:[~2003-10-04 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031004161100.GC3573@hydra.joerghoh.de \
    --to=joerg@devone.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®