transmission crashes due to SIGPIPE when adding torrents via web interface

Bug #717290 reported by b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Transmission
Invalid
Unknown
transmission (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: transmission

Often when I add a torrent using the transmission web interface transmission will crash. Usually the torrent does actually get added since when I restart it appears. Sometimes the crash happens before the torrent is added. This does not happen all the time, but does happen regularly, and always after adding a torrent via the web interface.

I did not see transmission-dbg, transmission-common-dbg or transmission-gtk-dbg packages. Here is the GDB backtrace:

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0xb75ddb70 (LWP 27316)]
0x00484422 in __kernel_vsyscall ()
(gdb) bt
#0 0x00484422 in __kernel_vsyscall ()
#1 0x0016bedb in write () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080b9234 in ?? ()
#3 0x080b93dd in ?? ()
#4 0x080ba98c in tr_peerIoFlush ()
#5 0x080b09e7 in ?? ()
#6 0x080b14c8 in tr_bandwidthAllocate ()
#7 0x080bbcf0 in ?? ()
#8 0x0012f274 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#9 0x0012f3c9 in event_loop () from /usr/lib/libevent-1.4.so.2
#10 0x0012f3ee in event_dispatch () from /usr/lib/libevent-1.4.so.2
#11 0x080a7b6d in ?? ()
#12 0x080937f2 in ?? ()
#13 0x0016496e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x01058a4e in clone () from /lib/tls/i686/cmov/libc.so.6

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: transmission (not installed)
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Feb 11 09:10:42 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.2)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: transmission

Revision history for this message
b (ben-ekran) wrote :

I can't add apport info to this bug:

$ apport-collect 717290
The authorization page:
   (https://edge.launchpad.net/+authorize-token?oauth_token=2cCStGLX81JZMcGzwdw3&allow_permission=WRITE_PRIVATE)
should be opening in your browser. After you have authorized
this program to access Launchpad on your behalf you should come
back here and press <Enter> to finish the authentication process.

Package transmission not installed and no hook available, ignoring

I can't seem to change this bug to effect transmission-gtk or transmission-common (only "transmission" is an available choice).

Revision history for this message
bbordwell (benbordwell) wrote :

there are instructions on how to get -dbgsym packges here: https://wiki.ubuntu.com/DebuggingProgramCrash

Also I see you asked upstream for a .deb of a newer version, installing the packages from maverick should work: http://packages.ubuntu.com/maverick/transmission (you will need to install -common, then -gtk)

Revision history for this message
Charles Kerr (charlesk) wrote :

> Program received signal SIGPIPE, Broken pipe

This is happening because of gdb, not because of Transmission. This isn't the cause of the crash. See this for information on making gdb play nice with SIGPIPE: http://ahlamnote.blogspot.com/2006/12/gdb-ignore-sigpipe.html

Even once you get SIGPIPE handled, it looks like you ran gdb on a stripped version of the program, as most of the useful debugging information has been replaced with "??"... so if you have to go the gdb route, you'll need a dbg version of transmission.

Anyway, a crash report generated by Ubuntu will greatly help us in tracking down your problem. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. Thanks!

Changed in transmission (Ubuntu):
status: New → Incomplete
Changed in transmission:
status: Unknown → New
Changed in transmission:
status: New → Invalid
Revision history for this message
b (ben-ekran) wrote : Re: [Bug 717290] Re: transmission crashes due to SIGPIPE when adding torrents via web interface

Thanks,

I found the tranmission-gtk-dbgsym package so I'll install then when my
current transmission session is over.

Thanks for the sigpipe hint.

B.

On 11-02-11 05:10 PM, jordan wrote:
>> Program received signal SIGPIPE, Broken pipe
>
> This is happening because of gdb, not because of Transmission. This
> isn't the cause of the crash. See this for information on making gdb
> play nice with SIGPIPE: http://ahlamnote.blogspot.com/2006/12/gdb-
> ignore-sigpipe.html
>
> Even once you get SIGPIPE handled, it looks like you ran gdb on a
> stripped version of the program, as most of the useful debugging
> information has been replaced with "??"... so if you have to go the gdb
> route, you'll need a dbg version of transmission.
>
> Anyway, a crash report generated by Ubuntu will greatly help us in
> tracking down your problem. Please try to obtain a backtrace following
> the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and
> upload the backtrace (as an attachment) to the bug report. Thanks!
>
> ** Changed in: transmission (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
b (ben-ekran) wrote :

I've been running transmission in GDB for a while now and transmission
has not crashed since. I guess it was a fluke, maybe with updates
installed in background while transmission was running.

I'll keep an eye on it, but it indeed appears invalid.

On 11-02-13 11:23 PM, Bug Watch Updater wrote:
> ** Changed in: transmission
> Status: New => Invalid
>

Revision history for this message
Charles Kerr (charlesk) wrote :

Closing as invalid based on comment #5 from OP

Changed in transmission (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.