#43278: rtorrent segfault on restart ------------------------+-------------------------------- Reporter: rharwood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: rtorrent ------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/43278> MacPorts <http://www.macports.org/> Ports system for OS X