Red Hat Bugzilla – Bug 143350
ptrace horked in 2.6.9-1.1047_FC4smp
Last modified: 2007-11-30 17:10:57 EST
Description of problem:
ptrace() seems to be completely broken in 2.6.9-1.1047_FC4smp.
$ strace /bin/echo
execve("/bin/echo", ["/bin/echo"], [/* 39 vars */]) = 0
... and then it's stuck. The process has to be aborted. gdb shows the same
Version-Release number of selected component (if applicable):
I haven't rebooted and don't know whether this has been the case ever since the
last boot, but it surely is 100% reproducible now.
Steps to Reproduce:
1.boot said kernel
Nothing except the fake execve message
strace-4.5.8-1.x86_64 is used, but this shouldn't matter since gdb is also
affected and both programs worked before.
This happens on x86 as well. So not x86-64 specific.
This is ok in the upstream kernel and in the RHEL4 kernel.
So it's just some sort of merging snafu or whatnot in the FC4 kernel.
I didn't see anything obvious. I'm not going to worry about this since I figure
bleeding edge FC should be rebasing to 2.6.10(rc*) soon enough anyway.
This got corrected a bit but in 2.6.9-1.1049_FC4 but not that much.
'strace echo' just prints, at least on x86_64,
execve("/bin/echo", ["echo"], [/* 24 vars */]) = 0
and returns. I would expect to see some 38 lines of output.
theres a 2.6.10 based update in rawhide now, can you test that please ?
Seems to work again in 2.6.10-based kernels. I've only tested x86 so far, but
since the symptoms were identical this should apply to other archs as well.