Opened 13 years ago

Closed 13 years ago

#2615 closed Bug (invalid)

Program received signal SIGPIPE, Broken pipe.

Reported by: ThomasCr Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 1.76
Severity: Normal Keywords:
Cc:

Description

while debugging I received this

sudo gdb --pid `pgrep transmission`
[sudo] password for user: 
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 3597
Reading symbols from /usr/bin/transmission...done.
Reading symbols from /usr/lib/libgthread-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /usr/lib/libnotify.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libnotify.so.1
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgtk-x11-2.0.so.0.1800.3...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgdk-x11-2.0.so.0.1800.3...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...Reading symbols from /usr/lib/debug/usr/lib/libgdk_pixbuf-2.0.so.0.1800.3...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libgio-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgio-2.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libevent-1.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libevent-1.4.so.2
Reading symbols from /usr/lib/libdbus-glib-1.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdbus-glib-1.so.2
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libpthread-2.10.1.so...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb5e89b70 (LWP 3600)]
[New Thread 0xb6e1ab70 (LWP 3599)]
[New Thread 0xb761bb70 (LWP 3598)]
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libgobject-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgobject-2.0.so.0
Reading symbols from /lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libglib-2.0.so.0
Reading symbols from /lib/i686/cmov/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libcurl-gnutls.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcurl-gnutls.so.4
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libc-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/tls/i686/cmov/librt.so.1...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/librt-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/librt.so.1
Reading symbols from /lib/libpcre.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcre.so.3
Reading symbols from /usr/lib/libpangocairo-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libXcomposite.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcomposite.so.1
Reading symbols from /usr/lib/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libatk-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libcairo.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcairo.so.2
Reading symbols from /usr/lib/libpangoft2-1.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /lib/tls/i686/cmov/libm.so.6...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libm-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXi.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libdl-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libresolv-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libresolv.so.2
Reading symbols from /lib/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libselinux.so.1
Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnsl-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1
Reading symbols from /lib/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libdbus-1.so.3
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/liblber-2.4.so.2
Reading symbols from /usr/lib/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libldap_r-2.4.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libpixman-1.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpixman-1.so.0
Reading symbols from /usr/lib/libdirectfb-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirectfb-1.2.so.0
Reading symbols from /usr/lib/libfusion-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfusion-1.2.so.0
Reading symbols from /usr/lib/libdirect-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdirect-1.2.so.0
Reading symbols from /usr/lib/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libxcb-render-util.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb-render-util.so.0
Reading symbols from /usr/lib/libxcb-render.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb-render.so.0
Reading symbols from /lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libexpat.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libkeyutils.so.1
Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /lib/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libgpg-error.so.0
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_compat-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_nis-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_files-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2
Reading symbols from /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so
Reading symbols from /usr/lib/libcanberra-gtk.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcanberra-gtk.so.0
Reading symbols from /usr/lib/libcanberra.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcanberra.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libtdb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtdb.so.1
Reading symbols from /usr/lib/libltdl.so.7...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libltdl.so.7
Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so...Reading symbols from /usr/lib/debug/usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
Reading symbols from /lib/libnss_mdns4_minimal.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_mdns4_minimal.so.2
Reading symbols from /lib/tls/i686/cmov/libnss_dns.so.2...Reading symbols from /usr/lib/debug/lib/tls/i686/cmov/libnss_dns-2.10.1.so...done.
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libnss_dns.so.2
Reading symbols from /usr/lib/pango/1.6.0/modules/pango-basic-fc.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /usr/lib/gio/modules/libgvfsdbus.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gio/modules/libgvfsdbus.so
Reading symbols from /usr/lib/libgvfscommon.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgvfscommon.so.0
Reading symbols from /lib/libudev.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libudev.so.0
Reading symbols from /usr/lib/gio/modules/libgioremote-volume-monitor.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gio/modules/libgioremote-volume-monitor.so
Reading symbols from /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
Reading symbols from /usr/lib/librsvg-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librsvg-2.so.2
Reading symbols from /usr/lib/libgsf-1.so.114...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgsf-1.so.114
Reading symbols from /usr/lib/libcroco-0.6.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcroco-0.6.so.3
Reading symbols from /usr/lib/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
0x00dd0422 in __kernel_vsyscall ()
(gdb) c
Continuing.
[Thread 0xb6e1ab70 (LWP 3599) exited]
[Thread 0xb5e89b70 (LWP 3600) exited]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb761bb70 (LWP 3598)]
0x00dd0422 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 4 (Thread 0xb761bb70 (LWP 3598)):
#0  0x00dd0422 in __kernel_vsyscall ()
#1  0x001ccc0b in write () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x080b87e0 in tr_evbuffer_write (io=0x9365440, fd=28, howmuch=265) at peer-io.c:269
#3  0x080ba15d in tr_peerIoTryWrite (io=0x9365440, howmuch=1024) at peer-io.c:852
#4  0x080ba2fc in tr_peerIoFlush (io=0x9365440, dir=TR_CLIENT_TO_PEER, limit=1024) at peer-io.c:882
#5  0x080b04da in phaseOne (peerArray=0xb761b130, dir=TR_CLIENT_TO_PEER) at bandwidth.c:221
#6  0x080b06eb in tr_bandwidthAllocate (b=0x8e4b188, dir=TR_CLIENT_TO_PEER, period_msec=500) at bandwidth.c:278
#7  0x080c10a2 in bandwidthPulse (vmgr=0x8e4d198) at peer-mgr.c:2881
#8  0x080a625d in timerCallback (fd=-1, event=1, vtimer=0x9203818) at trevent.c:304
#9  0x001ab248 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#10 0x001ab3c9 in event_loop () from /usr/lib/libevent-1.4.so.2
#11 0x001ab3ee in event_dispatch () from /usr/lib/libevent-1.4.so.2
#12 0x080a6048 in libeventThreadFunc (veh=0x8e4aca0) at trevent.c:240
#13 0x0808e6db in ThreadFunc (_t=0x8e49e30) at platform.c:108
#14 0x001c580e in start_thread (arg=0xb761bb70) at pthread_create.c:300
#15 0x00c777ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7793730 (LWP 3597)):
#0  0x00dd0422 in __kernel_vsyscall ()
#1  0x00c69ba6 in *__GI___poll (fds=0xceaff4, nfds=5, timeout=1960) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x003b053b in g_poll () from /lib/libglib-2.0.so.0
#3  0x003a355b in ?? () from /lib/libglib-2.0.so.0
#4  0x003a3b8f in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x00921419 in IA__gtk_main () at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
#6  0x0806d887 in main (argc=1, argv=0xbfbbb304) at main.c:470
(gdb) bt full
#0  0x00dd0422 in __kernel_vsyscall ()
No symbol table info available.
#1  0x001ccc0b in write () from /lib/tls/i686/cmov/libpthread.so.0
No locals.
#2  0x080b87e0 in tr_evbuffer_write (io=0x9365440, fd=28, howmuch=265) at peer-io.c:269
        e = 11
        n = 1024
        buffer = 0x92a9db8
#3  0x080ba15d in tr_peerIoTryWrite (io=0x9365440, howmuch=1024) at peer-io.c:852
        e = 11
        n = 0
#4  0x080ba2fc in tr_peerIoFlush (io=0x9365440, dir=TR_CLIENT_TO_PEER, limit=1024) at peer-io.c:882
        bytesUsed = 0
        __PRETTY_FUNCTION__ = "tr_peerIoFlush"
#5  0x080b04da in phaseOne (peerArray=0xb761b130, dir=TR_CLIENT_TO_PEER) at bandwidth.c:221
        increment = 1024
        bytesUsed = 0
        i = 0
        n = 26
        peerCount = 38
        peers = 0x926aea8
#6  0x080b06eb in tr_bandwidthAllocate (b=0x8e4b188, dir=TR_CLIENT_TO_PEER, period_msec=500) at bandwidth.c:278
        i = 38
        peerCount = 38
        tmp = {items = 0x9258ce0, n_items = 38, n_alloc = 64}
        low = {items = 0x94819f0, n_items = 38, n_alloc = 64}
        high = {items = 0x0, n_items = 0, n_alloc = 0}
        normal = {items = 0x926aea8, n_items = 38, n_alloc = 64}
        peers = 0x9258ce0
#7  0x080c10a2 in bandwidthPulse (vmgr=0x8e4d198) at peer-mgr.c:2881
        tor = 0x0
        mgr = 0x8e4d198
#8  0x080a625d in timerCallback (fd=-1, event=1, vtimer=0x9203818) at trevent.c:304
        more = 1830900
        timer = 0x9203818
        __PRETTY_FUNCTION__ = "timerCallback"
#9  0x001ab248 in event_base_loop () from /usr/lib/libevent-1.4.so.2
No symbol table info available.
#10 0x001ab3c9 in event_loop () from /usr/lib/libevent-1.4.so.2
No symbol table info available.
#11 0x001ab3ee in event_dispatch () from /usr/lib/libevent-1.4.so.2
No symbol table info available.
#12 0x080a6048 in libeventThreadFunc (veh=0x8e4aca0) at trevent.c:240
        eh = 0x8e4aca0
#13 0x0808e6db in ThreadFunc (_t=0x8e49e30) at platform.c:108
        t = 0x8e49e30
#14 0x001c580e in start_thread (arg=0xb761bb70) at pthread_create.c:300
        __res = <value optimized out>
        __ignore1 = <value optimized out>
        __ignore2 = <value optimized out>
        pd = 0xb761bb70
        now = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1925108, 0, 4001536, -1218333656, 947529213, -1011672941}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
        not_first_call = <value optimized out>
        robust = <value optimized out>
#15 0x00c777ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
(gdb) 

Version is svn9570

Change History (2)

comment:1 Changed 13 years ago by ThomasCr

Ok, sorry.. I read a little bit about it and think it can be ignored?

I read it right, that

handle SIGPIPE nostop noprint nopass

ignore this Signal in gdb?

comment:2 Changed 13 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

Yep, your further reading is correct.

http://ahlamnote.blogspot.com/2006/12/gdb-ignore-sigpipe.html

By default, gdb captures SIGPIPE of a process and pauses it. However, some program ignores SIGPIPE. So, the default behavour of gdb is not desired when debugging those program. To avoid gdb stopping in SIGPIPE, use the following command in gdb:

handle SIGPIPE nostop noprint pass

This is why my gdb list of steps to you in ticket #2600 read this way:

% gdb transmission
(gdb) handle SIGPIPE nostop noprint nopass
(gdb) r
...let transmission run until it goes crazy
CTRL-C
(gdb) thread apply all bt
(gdb) continue
...wait 5 seconds
CTRL-C
(gdb) thread apply all bt
(gdb) continue
...wait 5 seconds
CTRL-C
(gdb) thread apply all bt
(gdb) quit

cheers,

Charles :)

Note: See TracTickets for help on using tickets.