xlgjjff / libtorrent

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

libtorrent has issues dealing with termination of it's eventloop on SmartOS/OmniOS #640

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile manually or install libtorrent with either rtorrent or deluge on 
SmartOS or OmniOS (or any illumos variant). rtorrent is the easiest to use to 
trigger it.
2. start rtorrent / start deluge
3. quit rtorrent / add a torrent and quit

What is the expected output? What do you see instead?
Program to quit. But segfaults. rtorrent and deluge will also randomly segfault 
while in operation with the same error.

What version of the product are you using? On what operating system?
SmartOS (using a base64 zone) - libtorrent-0.13.2nb6

Please provide any additional information below.
Stack trace:
Caught Segmentation fault, dumping stack:
0 /opt/local/bin/rtorrent'_Z8do_panici+0x74 [0x4c5454]
1 /opt/local/bin/rtorrent'_ZN13SignalHandler6caughtEi+0x4e [0x50163e]
2 /lib/amd64/libc.so.1'__sighndlr+0x6 [0xfffffd7fff0dfb26]
3 /lib/amd64/libc.so.1'call_user_handler+0x1db [0xfffffd7fff0d297b]
4 [0x2d9dfd]
5 /lib/amd64/libc.so.1'_SUNW_Unwind_RaiseException+0x50 [0xfffffd7fff0e57cf]
6 
/opt/local/gcc47/x86_64-sun-solaris2.11/lib/amd64/libstdc++.so.6.0.17'__cxa_thro
w+0x59 [0xfffffd7ff4a043d9]
7 /opt/local/bin/rtorrent'0x101bf7 [0x501bf7]
8 /opt/local/bin/rtorrent'_ZN10ThreadBase11call_eventsEv+0x111 [0x5025d1]
9 
/opt/local/lib/libtorrent.so.14.0.4'_ZN7torrent11thread_base10event_loopEPS0_+0x
98 [0xfffffd7ff4d35328]
10 /lib/amd64/libc.so.1'_thrp_setup+0x8a [0xfffffd7fff0df74a]
11 /lib/amd64/libc.so.1'_lwp_start+0x0 [0xfffffd7fff0dfa60]
Abort (core dumped)

Not the most popular platform for you guys I guess. But reporting it anyway.

Original issue reported on code.google.com by jorge.schrauwen on 23 Jun 2014 at 6:47

GoogleCodeExporter commented 8 years ago
rtorrent does not use this libtorrent (it calls its own core libtorrent too, 
but it's just its own core, not this library). The version you're referring to 
looks either like libtorrent-rakshasa (i.e. not this libtorrent) or a version 
of libtorrent that's at least 7 years old. (I think it's the former).

Could you please file the crash/bug you see in deluge?

Original comment by arvid.no...@gmail.com on 23 Jun 2014 at 6:52

GoogleCodeExporter commented 8 years ago
Oops my bad, I did not know there were multiple libtorrents.

Original comment by jorge.schrauwen on 24 Jun 2014 at 7:29

GoogleCodeExporter commented 8 years ago
so you're not experiencing an issue in deluge then?

Original comment by arvid.no...@gmail.com on 25 Jun 2014 at 4:51