Red Hat Bugzilla – Bug 147037
32-bit pthread_cancel causes kernel panic
Last modified: 2015-01-04 17:16:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)
Description of problem:
When calling pthread_cancel in a 32-bit app, the kernel panics. This
doesn't happen if you call it from a 64-bit app, and it only happens
on FC1, not FC2 or FC3 or any other kernel or distro that we've tried.
I've attached a test program, and the kernel panic message. The test
program can be compiled with "gcc -m32 pthread_test.c -o pthread_test
-lpthread". However, you need to install the following RPMs first:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install necessary RPMs
2. Compile test program
3. Run test program.
I understand that FC1 is deprecated, but I want to open the bug
anyway. We have customers using FC1 that are impacted by this bug,
and so it needs to be reported, even if it will not get fixed. Or
perhaps there is a fix available that I just don't know about.
Created attachment 110625 [details]
Test program that demonstrates the bug.
Compile with "gcc -m32 pthread_test.c -o pthread_test -lpthread".
Created attachment 110626 [details]
Kernel panic message
FYI, I installed kernel-smp-2.4.22-1.2199.nptl.x86_64.rpm and it has
not fixed the problem. I don't think any other RPM in
is applicable, so that's the only one I tried.
Kernel panic is surely a kernel bug, not glibc.
FC1 end of lifed long ago..