mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesper Juhl <juhl-lkml@dif.dk>
To: mbellett@cs.unibo.it
Cc: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: Kernel BUG() in exit.c in ptrace/pthread interaction
Date: Sun, 24 Apr 2005 04:02:59 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.62.0504240400040.2474@dragon.hyggekrogen.localhost> (raw)
In-Reply-To: <20050424014834.GA31463@cs.unibo.it>

On Sun, 24 Apr 2005 mbellett@cs.unibo.it wrote:

> When you run the program in attachment, *even as an ordinary user*, the kernel
> panic. Tested kernel is a 2.6.11.7 vanilla with alleged .config. Tested with

Just tried running it on my box here with a 2.6.12-rc2-mm3 kernel and it 
survived just fine.
Here's what I did and the output I got : 

$ gcc -lpthread ptrace-thread-bug.c
ptrace-thread-bug.c:158:2: warning: no newline at end of file
$ ./a.out
child: pid=5664
child: self sigstopping
father: pid=5663
father: waiting child's selfstopping
father: making child go again under ptrace
father: detaching
father: thread creation
father: waiting for end
thread 16386: attaching
thread 16386: unlocking
father: destroying semaphore
father: all done
thread 16386: unlocking child
$ 

-- 
Jesper Juhl


  reply	other threads:[~2005-04-24  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24  1:48 Mattia Belletti
2005-04-24  2:02 ` Jesper Juhl [this message]
     [not found] ` <Pine.LNX.4.62.0504240400040.2474@dragon.hyggekrogen.localh ost>
2005-04-24  8:40   ` Mike Galbraith

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=Pine.LNX.4.62.0504240400040.2474@dragon.hyggekrogen.localhost \
    --to=juhl-lkml@dif.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbellett@cs.unibo.it \
    /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®