hamedramzi / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
0 stars 0 forks source link

Random segfault with deluged libtorrent 0.15.10.0 #501

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start deluged daemon
2. Add some torrents
3. Wait

What is the expected output? What do you see instead?
No crash
Segfault when gdb is attached to deluged. Issue is in libtorrent

What version of the product are you using? On what operating system?
$ deluge --version
deluge: 1.3.5
libtorrent: 0.15.10.0

CentOS 6.4 x64

Please provide any additional information below.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb31efba700 (LWP 6821)]
0x00007fb320a78dea in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
(gdb) thread apply all backtrace

Thread 6 (Thread 0x7fb31f9bb700 (LWP 6820)):
#0  0x0000003ba460b43c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x00007fb3209e4f32 in libtorrent::disk_io_thread::operator()() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#2  0x00007fb32002fd47 in thread_proxy ()
   from /usr/lib64/libboost_thread-mt.so.5
#3  0x0000003ba4607851 in start_thread () from /lib64/libpthread.so.0
#4  0x0000003ba3ee890d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb31efba700 (LWP 6821)):
#0  0x00007fb320a78dea in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#1  0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#2  0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#3  0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#4  0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#5  0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#6  0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#7  0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#8  0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#9  0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#10 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#11 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#12 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#13 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#14 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#15 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#16 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#17 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#18 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#19 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#20 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#21 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#22 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#23 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#24 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#25 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#26 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#27 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#28 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#29 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#30 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#31 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#32 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#33 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#34 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#35 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#36 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#37 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#38 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#39 0x00007fb320a78a80 in libtorrent::peer_connection::request_upload_bandwidth(
libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#40 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#41 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#42 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#43 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#44 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#45 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#46 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#47 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#48 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#49 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#50 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#51 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#52 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#53 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::band
width_channel*, libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#54 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#55 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#56 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#57 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#58 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#59 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#60 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#61 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#62 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#63 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#64 0x00007fb320a78def in libtorrent::peer_connection::setup_send() ()
   from /usr/lib64/libtorrent-rasterbar.so.6
#65 0x00007fb320a78a80 in 
libtorrent::peer_connection::request_upload_bandwidth(libtorrent::bandwidth_chan
nel*, libtorrent::bandwidth_channel*, libtorrent::bandwidth_channel*, 
libtorrent::bandwidth_channel*) ()
   from /usr/lib64/libtorrent-rasterbar.so.6

Original issue reported on code.google.com by MattSnow...@gmail.com on 16 Aug 2013 at 12:46

GoogleCodeExporter commented 9 years ago
This bug was fixed in the RC_0_15 branch, but 0.16 became the official release 
so head of 0.15 was never released. I suppose I could release what's in that 
branch anyway.

Original comment by arvid.no...@gmail.com on 7 Sep 2013 at 9:40