Bug 38952 - Segmentation fault in pthread_handle_create using gdb
Segmentation fault in pthread_handle_create using gdb
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2001-05-03 10:27 EDT by Matt Domsch
Modified: 2008-05-01 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-05-15 18:18:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
testapp1.txt (2.46 KB, text/plain)
2001-05-03 10:28 EDT, Matt Domsch
no flags Details
testapp1.c (1.94 KB, text/plain)
2001-05-03 13:28 EDT, Matt Domsch
no flags Details

  None (edit)
Description Matt Domsch 2001-05-03 10:27:40 EDT
Description of Problem:
On IA-64 Wolverine, when you use gdb to debug a program that uses 
pthread_create(), a segmentation fault occurs in pthread_handle_create() 
on the first call to pthread_create().  This make debugging a threaded 
program with gdb impossible.

How Reproducible:

Steps to Reproduce:

Actual Results:

Expected Results:

Additional Information:
Attached is the file 'testapp1.txt' (in UNIX format) which shows output 
from gdb.
Comment 1 Matt Domsch 2001-05-03 10:28:12 EDT
Created attachment 17228 [details]
Comment 2 Bill Nottingham 2001-05-03 11:12:48 EDT
Can you post the source code?
Comment 3 Matt Domsch 2001-05-03 13:28:04 EDT
Created attachment 17247 [details]
Comment 4 Bill Nottingham 2001-05-03 14:40:58 EDT
Thanks. In any case I just reproduced it *real* fast with xmms. Of course,
that's segfaulting even when GDB isn't involved....
Comment 5 Jakub Jelinek 2001-05-04 05:25:42 EDT
Bill, have you made any progress on it?
If not, I'll jump into it.
Comment 6 Bill Nottingham 2001-05-07 09:58:21 EDT
It's kernel related. Debugging under 2.4.2-2 works fine, under our 2.4.3 +
current ia64 patch fails. I'll try in a minute with 2.4.3-2.14.19, once it's
finished rebooting.
Comment 7 Bill Nottingham 2001-05-15 18:18:42 EDT
This should be fixed with the RC1 kernel.

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