Red Hat Bugzilla – Bug 146070
GDB+Kernel 2.6.10-1.741_FC3smp results in unkillable zombies
Last modified: 2015-01-04 17:16:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Description of problem:
Debugging a threaded program with gdb 6.1post-1.20040607.43 and kernel
2.6.10-1.741_FC3smp results in a gdb lockup. At this point if you
kill -9 gdb, then the process that you were debugging becomes an
unkillable zombie. The process is inherited by by init - it just
won't die despite a kill -9.
Not using NPTL (via LD_ASSUME_KERNEL=2.2.5 or -rpath to force the
older linuxthreads) makes the problem go away.
I have tried this with 2.6.9-1.667 and 2.6.10-1.741_FC3 both with and
without smp with the same results.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gdb my_threaded_program
2. kill -9 gdb
Actual Results: 'my_threaded_program' became an unkillable zombie
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem. Please update to this new kernel, and
report whether or not it fixes your problem.
If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.