bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in gdb with pthreads on linux i386


From: jeffk
Subject: Bug in gdb with pthreads on linux i386
Date: Sun, 21 Oct 2001 22:56:58 -0700 (PDT)

When debugging a multithreaded application that uses pipes, SIGPIPE aborts
the program even when signal(SIGPIPE,SIG_IGN) is called.  SIGPIPE only
happens if gdb is used.  Programs operate correctly without gdb.

Example minimal program:
        http://www.jdkoftinoff.com/testsocketsend.tar.gz

versions:

GNU gdb 5.0mdk-11mdk Linux-Mandrake 8.0
Copyright 2001 Free Software Foundation, Inc.

Linux version 2.4.3-20mdk (address@hidden) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release / Linux-Mandrake 8.0)) #1
Sun Apr 15 23:03:10 CEST 2001

/lib/libc.so.6 -> libc-2.2.2.so* 
/lib/libpthread.so.0 -> libpthread-0.9.so* 

gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)


--jeff koftinoff
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]