PTRACE_GETEVENTMSG bug

Mike Frysinger vapier at gentoo.org
Sun Feb 20 00:38:41 UTC 2011


On Sat, Feb 19, 2011 at 6:34 PM, Dmitry V. Levin wrote:
> On Sat, Feb 19, 2011 at 03:43:04PM -0500, Mike Frysinger wrote:
>> On Saturday, February 19, 2011 15:06:06 Dmitry V. Levin wrote:
>> > On Fri, Feb 18, 2011 at 09:52:54PM -0500, Mike Frysinger wrote:
>> > > testing 65c1a81f6ad628240445ba24d888d25b2fd69c1e:
>> > >
>> > > ppc64: hangs hard when tracing forks
>> >
>> > Could you find out what
>> > $ env -i strace -d -f /usr/bin/time /bin/true
>> > prints on that system, please?
>>
>> # env -i ./strace -d -f /usr/bin/time /bin/true
>> ptrace_setoptions = 0xe
> [...]
>> pid 11894 stopped, [SIGTRAP]
>> clone( [wait(0x1057f) = 11894]
>> pid 11894 stopped, [SIGTRAP]
>> Process 0 attached
>
> Thanks, this is enough.  The bug is in the new PTRACE_GETEVENTMSG code,
> I've pushed a commit that should hopefully fix it:
> http://strace.git.sourceforge.net/git/gitweb.cgi?p=strace/strace;a=commitdiff;h=ldv/PTRACE_GETEVENTMSG
>
> Please give it a try.

git pull && git merge remotes/origin/ldv/PTRACE_GETEVENTMSG && make
-j4 && ./strace -f /usr/bin/time ls

seems to work now
-mike




More information about the Strace-devel mailing list