Opened 11 years ago

Closed 6 years ago

#43278 closed defect (fixed)

rtorrent segfault on restart

Reported by: frozencemetery (Robbie Harwood) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: rtorrent

Description

Occasionally, after being cleanly shutdown with torrents in progress, rtorrent will segfault during the startup process like so:

robbie@osxserver:~$ rtorrent
Caught Segmentation fault, dumping stack:
0 0   rtorrent                            0x0000000100002fe8 _Z8do_panici + 126
1 1   rtorrent                            0x000000010004ef09 _ZN13SignalHandler6caughtEi + 321
2 2   libSystem.B.dylib                   0x00007fff852441ba _sigtramp + 26
3 3   libcrypto.1.0.0.dylib               0x000000010045e19c CRYPTO_add_lock + 140
4 4   libtorrent.14.dylib                 0x00000001003cf02d _ZN7torrent13DiffieHellman13store_pub_keyEPhj + 61
5 5   libtorrent.14.dylib                 0x00000001003aa666 _ZN7torrent9Handshake20prepare_key_plus_padEv + 86
6 6   libtorrent.14.dylib                 0x00000001003ae473 _ZN7torrent9Handshake11event_writeEv + 419
7 7   libtorrent.14.dylib                 0x000000010032d99b _ZN7torrent10PollKQueue7performEv + 203
8 8   libtorrent.14.dylib                 0x000000010032eafd _ZN7torrent10PollKQueue7do_pollExi + 157
9 9   libtorrent.14.dylib                 0x000000010036a0c7 _ZN7torrent11thread_base10event_loopEPS0_ + 183
10 10  rtorrent                            0x0000000100006890 main + 11047
11 11  rtorrent                            0x0000000100002f5c start + 52
Abort trap
robbie@osxserver:~$

This is consistent, though jiggling what torrents are/aren't in the .rtorrsession directory can cause rtorrent to start working again.

Change History (5)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

You should probably report that to the developer of the software.

comment:2 in reply to:  1 Changed 11 years ago by frozencemetery (Robbie Harwood)

Replying to ryandesign@…:

You should probably report that to the developer of the software.

As requested, I have now reported it upstream.

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Cc: gardnermj@… removed
Owner: changed from macports-tickets@… to stuartwesterman
Status: newassigned

comment:4 Changed 8 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted

comment:5 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

presumably fixed by [2cbb341a69c60f41eea572b15e25af932dfca95e/macports-ports]. Please reopen if otherwise.

Note: See TracTickets for help on using tickets.