Hi everybody!
I have a problem with transmission-daemon 2.73 on CentOS linux 6.3. Every two or three days I see the message in my /var/log/messages saying
Nov 18 02:49:45 centos kernel: transmission-da[24287]: segfault at 8 ip 0807afe4 sp b7820120 error 6 in transmission-daemon[8048000+66000]
What I can add is that this problem is not new. It was always present on my system since I started using Transmission-daemon (2.33, I believe).
Could you help me investigate this issue? Is it even possible to solve segfault problems without delving into GDB?
I would be delighted to provide any additional details.
Transmission 2.73 segfaults randomly
Re: Transmission 2.73 segfaults randomly
I've got it running on CentOS 6.3 and haven't had any crashes. You may need to debug.
-
- Posts: 4
- Joined: Tue Jul 24, 2012 2:33 pm
Re: Transmission 2.73 segfaults randomly
x190 wrote:First, please try updating to the latest revision which is currently r13620.
If it crashes:
$ gdb transmission-daemon
(gdb) handle SIGPIPE nostop noprint nopass
(gdb) r -f
... run until Transmission crashes...
(gdb) thread apply all bt full
I did as you said and got the following output from GDB.
Frankly, I don't have any idea what it means:
Code: Select all
(gdb) thread apply all bt full
Thread 3 (Thread 0xb73ffb70 (LWP 27507)):
#0 0x00130424 in __kernel_vsyscall ()
No symbol table info available.
#1 0x004e7b21 in select () from /lib/libc.so.6
No symbol table info available.
#2 0x0806bba7 in tr_select (vsession=0x80b00c8) at web.c:307
No locals.
#3 tr_webThreadFunc (vsession=0x80b00c8) at web.c:397
r_fd_set = {__fds_bits = {0 <repeats 32 times>}}
max_fd = -1
t = {tv_sec = 0, tv_usec = 146076}
w_fd_set = {__fds_bits = {0 <repeats 32 times>}}
c_fd_set = {__fds_bits = {0 <repeats 32 times>}}
msec = 1000
unused = 0
msg = <value optimized out>
mcode = <value optimized out>
multi = <value optimized out>
web = 0xb6801960
taskCount = <value optimized out>
task = <value optimized out>
session = 0x80b00c8
---Type <return> to continue, or q <return> to quit---
#4 0x080567f2 in ThreadFunc (_t=0xb7400ff0) at platform.c:118
t = 0xb7400ff0
#5 0x003f8a49 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x004ef63e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 2 (Thread 0xb7fecb70 (LWP 27506)):
#0 0x00130424 in __kernel_vsyscall ()
No symbol table info available.
#1 0x004efeb6 in epoll_wait () from /lib/libc.so.6
No symbol table info available.
#2 0x0015b8f7 in epoll_dispatch (base=0xb7400480, tv=0xb7fec274)
at epoll.c:407
epollop = 0xb74005f0
events = 0xaffebe20
i = <value optimized out>
res = <value optimized out>
timeout = 267
__func__ = "epoll_dispatch"
#3 0x00148cbd in event_base_loop (base=0xb7400480, flags=0) at event.c:1575
evsel = 0x174100
tv = {tv_sec = 0, tv_usec = 266874}
tv_p = 0xb7fec274
res = <value optimized out>
done = 0
retval = 0
__func__ = "event_base_loop"
#4 0x00149b05 in event_base_dispatch (event_base=0xb7400480) at event.c:1420
No locals.
#5 0x080676c8 in libeventThreadFunc (veh=0x80b2e50) at trevent.c:248
base = 0xb7400480
eh = 0x80b2e50
#6 0x080567f2 in ThreadFunc (_t=0x80b2ea0) at platform.c:118
t = 0x80b2ea0
#7 0x003f8a49 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8 0x004ef63e in clone () from /lib/libc.so.6
No symbol table info available.
Thread 1 (Thread 0xb7fed730 (LWP 27502)):
#0 0x00130424 in __kernel_vsyscall ()
No symbol table info available.
#1 0x003ffc66 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#2 0x080683d3 in tr_wait_msec (msec=1000) at utils.c:862