Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1321 closed Bug (fixed)

shttpd crash in shttpd_poll() on startup

Reported by: alexef Owned by:
Priority: Normal Milestone: 1.40
Component: libtransmission Version: 1.34
Severity: Major Keywords:
Cc:

Description

Using Transmission 1.34 (6778) on Ubuntu 8.04, I'm getting Segmentation fault every time i try to start Transmission.

GDB:

{{{ alexef@soleares:$ gdb transmission GNU gdb 6.8-debian Copyright (C) 2008 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"... (no debugging symbols found) (gdb) (gdb) run Starting program: /usr/bin/transmission (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb7000720 (LWP 7749)] [New Thread 0xb6ba6b90 (LWP 7756)]

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6ba6b90 (LWP 7756)] 0x080ceca8 in shttpd_poll () (gdb) quit The program is running. Exit anyway? (y or n) y }}}

It worked fine before I got no free space on my drive. I tried freeing up space, removing Transmission, removing configuration, reinstalling, but still no luck.

Change History (6)

comment:1 Changed 13 years ago by charles

alexef: next time you get a crash, hit "bt" at the (gdb) prompt to get a backtrace.

comment:2 Changed 13 years ago by alexef

Sorry, I'm not used to gdb. Here is the backtrace:

(gdb) run
Starting program: /usr/bin/transmission 
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6f31720 (LWP 11404)]
[New Thread 0xb6ad6b90 (LWP 11407)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6ad6b90 (LWP 11407)]
0x080ceca8 in shttpd_poll ()
(gdb) bt
#0  0x080ceca8 in shttpd_poll ()
#1  0x080b20a4 in ?? ()
#2  0x080c1570 in event_base_loop ()
#3  0x080c172a in event_loop ()
#4  0x080c1742 in event_dispatch ()
#5  0x08096890 in ?? ()
#6  0x0808aa5a in ?? ()
#7  0xb772350f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb76a07ee in clone () from /lib/tls/i686/cmov/libc.so.6

It happens all the time, I'm not able to use transmission UI any more :(

comment:3 Changed 13 years ago by charles

  • Milestone changed from None Set to 1.40
  • Resolution set to fixed
  • Status changed from new to closed

The shttpd_poll() bug is fixed in trunk -- this is a frequently-reported issue, but shttpd has been removed from the upcoming 1.40 release.

comment:4 Changed 12 years ago by charles

  • Component changed from Transmission to libtransmission
  • Severity changed from Normal to Major

comment:5 Changed 12 years ago by charles

  • Summary changed from Transmission gives Segmentation fault at start up to Transmission crashes on startup in shttpd_poll()

comment:6 Changed 12 years ago by charles

  • Summary changed from Transmission crashes on startup in shttpd_poll() to shttpd crash in shttpd_poll() on startup
Note: See TracTickets for help on using tickets.