Bug 147037 - 32-bit pthread_cancel causes kernel panic
Summary: 32-bit pthread_cancel causes kernel panic
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-03 21:30 UTC by Timur Tabi
Modified: 2015-01-04 22:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-08 01:33:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Test program that demonstrates the bug. (533 bytes, text/plain)
2005-02-03 21:32 UTC, Timur Tabi
no flags Details
Kernel panic message (1.94 KB, text/plain)
2005-02-03 21:35 UTC, Timur Tabi
no flags Details

Description Timur Tabi 2005-02-03 21:30:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)
Gecko/20040803

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:

compat-gcc-7.3-2.96.118.i386.rpm
compat-gcc-c++-7.3-2.96.118.i386.rpm
compat-libstdc++-devel-7.3-2.96.118.i386.rpm
compat-libstdc++-7.3-2.96.118.i386.rpm
glibc-devel-2.3.2-101.4.i386.rpm
libgcc-3.3.2-1.i386.rpm
libstdc++-3.3.2-1.i386.rpm


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install necessary RPMs
2. Compile test program
3. Run test program.

Additional info:

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.

Comment 1 Timur Tabi 2005-02-03 21:32:20 UTC
Created attachment 110625 [details]
Test program that demonstrates the bug.

Compile with "gcc -m32 pthread_test.c -o pthread_test -lpthread".

Comment 2 Timur Tabi 2005-02-03 21:35:15 UTC
Created attachment 110626 [details]
Kernel panic message

Comment 3 Timur Tabi 2005-02-03 21:50:45 UTC
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
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/x86_64/
is applicable, so that's the only one I tried.

Comment 4 Jakub Jelinek 2005-02-06 20:54:31 UTC
Kernel panic is surely a kernel bug, not glibc.

Comment 5 Dave Jones 2005-02-08 01:33:16 UTC
FC1 end of lifed long ago..



Note You need to log in before you can comment on or make changes to this bug.