Ticket #498 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

Segfaults after a minute or so

Reported by: anonymous Owned by: rakshasa
Priority: high Component: libtorrent
Version: Severity: critical
Keywords: Cc:

Description

Caught Segmentation fault, dumping stack:
0 rtorrent [0x80583f8]
1 rtorrent [0x806f51a]
2 [0xffffe420]
3 /usr/lib/libtorrent.so.9(_ZN7torrent11RequestList9has_indexEj+0x32) [0xb7eef762]
4 /usr/lib/libtorrent.so.9(_ZN7torrent19PeerConnectionLeech22receive_finished_chunkEi+0x50) [0xb7ee8370]
5 /usr/lib/libtorrent.so.9(_ZN7torrent14ConnectionList19send_finished_chunkEj+0x52) [0xb7ec75da]
6 /usr/lib/libtorrent.so.9(_ZN7torrent15DownloadWrapper17receive_hash_doneENS_11ChunkHandleEPKc+0x3ed) [0xb7ed647d]
7 /usr/lib/libtorrent.so.9(_ZN7torrent9HashQueue5checkEb+0x106) [0xb7ebc2aa]
8 /usr/lib/libtorrent.so.9(_ZN7torrent9HashQueue4workEv+0x4d) [0xb7ebc481]
9 /usr/lib/libtorrent.so.9(_ZN3rak9mem_fn0_tIN7torrent9HashQueueEvEclEv+0x3d) [0xb7ebcddd]
10 /usr/lib/libtorrent.so.9(_ZN7torrent7performEv+0x100) [0xb7eac47c]
11 rtorrent [0x80b1e26]
12 rtorrent [0x805a341]
13 /lib/libc.so.6(__libc_start_main+0xd8) [0xb7a82878]
14 rtorrent(_ZN7torrent18set_max_open_filesEj+0x8d) [0x8051041]

It just dies after a minute or so. rTorrent 0.6.3 - libTorrent 0.10.3. Had the exact same problem with 0.6.0.

gcc version 4.1.1 on a Gentoo system.

Is there anything I can do to trace it down?

Change History

Changed 5 years ago by rakshasa

  • status changed from new to closed
  • resolution set to worksforme

Gcc 4.1.1 with -march=i686 has previously created bad code, so try a different compiler version.

Changed 5 years ago by spam.nospam.spam@gmail.com

@anonymous: you may find some clues in ticket #495, changing the compilation flags might help

Note: See TracTickets for help on using tickets.