Opened 10 years ago

Closed 10 years ago

#4330 closed Bug (worksforme)

Adding new torrent file causes client crash.

Reported by: amakarov Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.31
Severity: Critical Keywords: torrent, 12441
Cc:

Description

I can share .torrent file, but via private messages only, because it's from private BitTorrent? tracker. I have only this debug log:

*** glibc detected *** transmission-daemon: double free or corruption (!prev): 0x09b8f0f0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6ea85)[0xb747ca85]
/lib/libc.so.6(+0x6f722)[0xb747d722]
/lib/libc.so.6(cfree+0x6d)[0xb748080d]
/usr/lib/libevent-2.0.so.5(event_mm_free_+0x35)[0xb77891a5]
/usr/lib/libevent-2.0.so.5(+0x11aaf)[0xb778caaf]
/usr/lib/libevent-2.0.so.5(evbuffer_reserve_space+0xe1)[0xb778f991]
transmission-daemon[0x804dbb7]
transmission-daemon[0x804e486]
transmission-daemon[0x804fe60]
transmission-daemon[0x808cb37]
transmission-daemon[0x8091a01]
transmission-daemon[0x80856c6]
/usr/lib/libevent-2.0.so.5(+0x2a4ff)[0xb77a54ff]
/usr/lib/libevent-2.0.so.5(+0x27f6f)[0xb77a2f6f]
/usr/lib/libevent-2.0.so.5(+0x294bc)[0xb77a44bc]
/usr/lib/libevent-2.0.so.5(+0x29603)[0xb77a4603]
/usr/lib/libevent-2.0.so.5(_bufferevent_run_readcb+0x5f)[0xb779211f]
/usr/lib/libevent-2.0.so.5(+0x1859d)[0xb779359d]
/usr/lib/libevent-2.0.so.5(event_base_loop+0x209)[0xb7786fc9]
/usr/lib/libevent-2.0.so.5(event_base_dispatch+0x23)[0xb77881d3]
transmission-daemon[0x80670a8]
transmission-daemon[0x8056a30]
/lib/libpthread.so.0(+0x6c77)[0xb757ac77]
/lib/libc.so.6(clone+0x5e)[0xb74ddc6e]
======= Memory map: ========
08048000-080ba000 r-xp 00000000 08:06 524940     /usr/bin/transmission-daemon
080ba000-080bc000 rw-p 00071000 08:06 524940     /usr/bin/transmission-daemon
09a22000-09e63000 rw-p 00000000 00:00 0          [heap]
b41fc000-b41fd000 ---p 00000000 00:00 0 
b41fd000-b49fd000 rw-p 00000000 00:00 0 
b49fd000-b49fe000 ---p 00000000 00:00 0 
b49fe000-b51fe000 rw-p 00000000 00:00 0 
b51fe000-b51ff000 ---p 00000000 00:00 0 
b51ff000-b59ff000 rw-p 00000000 00:00 0 
b59ff000-b5a00000 ---p 00000000 00:00 0 
b5a00000-b6200000 rw-p 00000000 00:00 0 
b6200000-b623a000 rw-p 00000000 00:00 0 
b623a000-b6300000 ---p 00000000 00:00 0 
b631c000-b6338000 r-xp 00000000 08:06 2097541    /usr/lib/libgcc_s.so.1
b6338000-b6339000 rw-p 0001b000 08:06 2097541    /usr/lib/libgcc_s.so.1
b6341000-b6363000 rw-p 00000000 00:00 0 
b6363000-b6376000 r-xp 00000000 08:07 130843     /lib/libresolv-2.13.so
b6376000-b6377000 r--p 00012000 08:07 130843     /lib/libresolv-2.13.so
b6377000-b6378000 rw-p 00013000 08:07 130843     /lib/libresolv-2.13.so
b6378000-b637a000 rw-p 00000000 00:00 0 
b6382000-b638d000 r-xp 00000000 08:07 130844     /lib/libnss_files-2.13.so
b638d000-b638e000 r--p 0000a000 08:07 130844     /lib/libnss_files-2.13.so
b638e000-b638f000 rw-p 0000b000 08:07 130844     /lib/libnss_files-2.13.so
b638f000-b6390000 ---p 00000000 00:00 0 
b6390000-b6b90000 rw-p 00000000 00:00 0 
b6b90000-b6b91000 ---p 00000000 00:00 0 
b6b91000-b7392000 rw-p 00000000 00:00 0 
b7392000-b7395000 r-xp 00000000 08:07 130821     /lib/libdl-2.13.so
b7395000-b7396000 r--p 00002000 08:07 130821     /lib/libdl-2.13.so
b7396000-b7397000 rw-p 00003000 08:07 130821     /lib/libdl-2.13.so
b7397000-b7398000 rw-p 00000000 00:00 0 
b7398000-b73e5000 r-xp 00000000 08:06 2098274    /usr/lib/libssl.so.1.0.0
b73e5000-b73e9000 rw-p 0004d000 08:06 2098274    /usr/lib/libssl.so.1.0.0
b73e9000-b740d000 r-xp 00000000 08:06 2104197    /usr/lib/libssh2.so.1.0.1
b740d000-b740e000 rw-p 00024000 08:06 2104197    /usr/lib/libssh2.so.1.0.1
b740e000-b756d000 r-xp 00000000 08:07 130831     /lib/libc-2.13.so
b756d000-b756e000 ---p 0015f000 08:07 130831     /lib/libc-2.13.so
b756e000-b7570000 r--p 0015f000 08:07 130831     /lib/libc-2.13.so
b7570000-b7571000 rw-p 00161000 08:07 130831     /lib/libc-2.13.so
b7571000-b7574000 rw-p 00000000 00:00 0 
b7574000-b758b000 r-xp 00000000 08:07 130829     /lib/libpthread-2.13.so
b758b000-b758c000 r--p 00016000 08:07 130829     /lib/libpthread-2.13.so
b758c000-b758d000 rw-p 00017000 08:07 130829     /lib/libpthread-2.13.so
b758d000-b758f000 rw-p 00000000 00:00 0 
b758f000-b75a3000 r-xp 00000000 08:06 2097487    /usr/lib/libz.so.1.2.5
b75a3000-b75a4000 rw-p 00013000 08:06 2097487    /usr/lib/libz.so.1.2.5
b75a4000-b75a5000 rw-p 00000000 00:00 0 
b75a5000-b7708000 r-xp 00000000 08:06 2098273    /usr/lib/libcrypto.so.1.0.0
b7708000-b771c000 rw-p 00162000 08:06 2098273    /usr/lib/libcrypto.so.1.0.0
b771c000-b771f000 rw-p 00000000 00:00 0 
b771f000-b7779000 r-xp 00000000 08:06 2104200    /usr/lib/libcurl.so.4.2.0
b7779000-b777b000 rw-p 0005a000 08:06 2104200    /usr/lib/libcurl.so.4.2.0
b777b000-b77bf000 r-xp 00000000 08:06 2098811    /usr/lib/libevent-2.0.so.5.1.1
b77bf000-b77c0000 rw-p 00044000 08:06 2098811    /usr/lib/libevent-2.0.so.5.1.1
b77c0000-b77c7000 r-xp 00000000 08:07 130861     /lib/librt-2.13.so
b77c7000-b77c8000 r--p 00006000 08:07 130861     /lib/librt-2.13.so
b77c8000-b77c9000 rw-p 00007000 08:07 130861     /lib/librt-2.13.so
b77ca000-b77cf000 r-xp 00000000 08:07 130852     /lib/libnss_dns-2.13.so
b77cf000-b77d0000 r--p 00004000 08:07 130852     /lib/libnss_dns-2.13.so
b77d0000-b77d1000 rw-p 00005000 08:07 130852     /lib/libnss_dns-2.13.so
b77d1000-b77d2000 rw-p 00000000 00:00 0 
b77d2000-b77d3000 r-xp 00000000 00:00 0          [vdso]
b77d3000-b77f1000 r-xp 00000000 08:07 130839     /lib/ld-2.13.so
b77f1000-b77f2000 r--p 0001d000 08:07 130839     /lib/ld-2.13.so
b77f2000-b77f3000 rw-p 0001e000 08:07 130839     /lib/ld-2.13.so
bf8b1000-bf8d2000 rw-p 00000000 00:00 0          [stack]

Change History (6)

comment:1 follow-up: Changed 10 years ago by jordan

amakarov, it looks like that backtrace is from a stripped binary. I don't know what platform you're running on, but would it be possible to install a debug version of Transmission for the purpose of generating more informative backtraces?

comment:2 in reply to: ↑ 1 Changed 10 years ago by amakarov

Replying to jordan:

amakarov, it looks like that backtrace is from a stripped binary. I don't know what platform you're running on, but would it be possible to install a debug version of Transmission for the purpose of generating more informative backtraces?

Yes, sure. Just need some time to test.

comment:3 Changed 10 years ago by amakarov

The result: devel version didn't crash. I use ArchLinux?. First version of Transmission I installed from 'extra` repository (I don't remember exactly, so I mean it's official "stable" version), but now I will use developement version, because it works fine.

comment:4 Changed 10 years ago by jordan

Are the two installations different versions of Transmission?

comment:5 Changed 10 years ago by amakarov

Yes, sure. Now I use transmission-cli 2.31+ (12512).

comment:6 Changed 10 years ago by livings124

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.