Bug#396973: gdb: can not debug any program linked with pthread.

2006-11-03 Thread Daniel Jacobowitz
On Fri, Nov 03, 2006 at 08:05:32PM -0500, Nick Lewycky wrote: > Attached. Here's the exact session I ran: > ptrace(0x19 /* PTRACE_??? */, 29003, 0xc, 0xff888354) = -1 EINVAL (Invalid > argument) > >>Architecture: i386 (x86_64) > >>Shell: /bin/sh linked to /bin/bash > >>Kernel: Linux 2.6.18.1 >

Bug#396973: gdb: can not debug any program linked with pthread.

2006-11-03 Thread Nick Lewycky
Daniel Jacobowitz wrote: > On Fri, Nov 03, 2006 at 08:05:32PM -0500, Nick Lewycky wrote: > >>Attached. Here's the exact session I ran: > >>ptrace(0x19 /* PTRACE_??? */, 29003, 0xc, 0xff888354) = -1 EINVAL (Invalid >>argument) > Architecture: i386 (x86_64) Shell: /bin/sh linked to /bin/

Bug#396973: gdb: can not debug any program linked with pthread.

2006-11-03 Thread Daniel Jacobowitz
On Fri, Nov 03, 2006 at 07:29:59PM -0500, Nick Lewycky wrote: > Severity: grave > Justification: renders package unusable Obviously not for everyone; it passes the testsuite during package build. I can only assume that either your C library or kernel has somehow gotten broken. Could you run "str

Bug#396973: gdb: can not debug any program linked with pthread.

2006-11-03 Thread Nick Lewycky
Package: gdb Version: 6.4.90.dfsg-1 Severity: grave Justification: renders package unusable Any program linked with "-lpthread" will make GDB unusable with the following error: Cannot find user-level thread for LWP 28988: generic error Here's an example: $ cat simple.c int main(void) {