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: Always Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information: Attached is the file 'testapp1.txt' (in UNIX format) which shows output from gdb.
Created attachment 17228 [details] testapp1.txt
Can you post the source code?
Created attachment 17247 [details] testapp1.c
Thanks. In any case I just reproduced it *real* fast with xmms. Of course, that's segfaulting even when GDB isn't involved....
Bill, have you made any progress on it? If not, I'll jump into it.
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.
This should be fixed with the RC1 kernel.