Ticket #77 (closed defect: worksforme)
libtorrent crashes (gcc 4.0 issue?)
| Reported by: | anonymous | Owned by: | rakshasa |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | libtorrent | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When starting a download, rtorrent crashes after a few seconds. This appeared after I switched to gcc 4.0.2 (libtorrent/rtorrent built with gcc 3.4.3 was working fine). The crash happens with both stable and devel branch (tested with 0.7.0-1/0.3.0 and 0.7.5/0.3.5).
Details:
Caught Segmentation fault, dumping stack: 0 rtorrent [0x8050244] 1 rtorrent [0x805b0cf] 2 [0xffffe420] 3 /usr/lib/libtorrent.so.5(_ZN7torrent11RequestList9has_indexEj+0x21) [0xb7f55e01] 4 /usr/lib/libtorrent.so.5(_ZN7torrent19PeerConnectionLeech22receive_finished_chunkEi+0x56) [0xb7f51196] 5 /usr/lib/libtorrent.so.5(_ZSt8for_eachIN9__gnu_cxx17__normal_iteratorIPPN7torrent18PeerConnectionBaseESt6vectorIS4_SaIS4_EEEESt9binder2ndISt10mem_fun1_tIvS3_iEEET0_T_ SF_SE_+0x6e) [0xb7f3220e] 6 /usr/lib/libtorrent.so.5(_ZN7torrent14ConnectionList19send_finished_chunkEj+0x5a) [0xb7f30d6a] 7 /usr/lib/libtorrent.so.5(_ZN7torrent12DownloadMain17receive_hash_doneENS_11ChunkHandleESs+0x313) [0xb7f3aab3] 8 /usr/lib/libtorrent.so.5(_ZN4sigc8internal10slot_call2INS_18bound_mem_functor2IvN7torrent12DownloadMainENS3_11ChunkHandleESsEEvS5_SsE7call_itEPNS0_8slot_repERKS5_RKSs +0x9c) [0xb7f42cfc] 9 /usr/lib/libtorrent.so.5(_ZN7torrent9HashQueue5checkEb+0x135) [0xb7f29495] 10 /usr/lib/libtorrent.so.5(_ZN7torrent9HashQueue4workEv+0x42) [0xb7f29642] 11 /usr/lib/libtorrent.so.5(_ZNK4sigc15adaptor_functorINS_18bound_mem_functor0IvN7torrent9HashQueueEEEEclEv+0x3b) [0xb7f2972b] 12 /usr/lib/libtorrent.so.5(_ZN4sigc8internal10slot_call0INS_18bound_mem_functor0IvN7torrent9HashQueueEEEvE7call_itEPNS0_8slot_repE+0x20) [0xb7f29750] 13 /usr/lib/libtorrent.so.5(_ZN7torrent13TaskScheduler7executeENS_5TimerE+0x8a) [0xb7f65faa] 14 /usr/lib/libtorrent.so.5(_ZN7torrent7performEv+0x81) [0xb7f1af61] 15 rtorrent [0x8074372] 16 rtorrent [0x8051f7f] 17 /lib/tls/libc.so.6(__libc_start_main+0xc2) [0xb7b3adf2] 18 rtorrent(__gxx_personality_v0+0x18d) [0x804fce1] TO AVOID CORRUPT DOWNLOADS, RUN "touch" ON ALL DOWNLOADED FILES OR INITATE HASH RECHECK WITH ^R ON ALL TORRENTS.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
