frostwire / frostwire-jlibtorrent

A swig Java interface for libtorrent by the makers of FrostWire. Develop libtorrent based apps with the joy of coding in Java.
http://www.frostwire.com
MIT License
446 stars 137 forks source link

[desktop/crash] on_piece_hashed -> libtorrent::torrent::we_have(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void> #157

Closed gubatron closed 7 years ago

gubatron commented 7 years ago

After multiple start/shutdown tests, I started getting this crash every time FrostWire started. The only way to make it go away was deleting the libtorrent folder. OSX

Thread 41 Crashed:
0   libsystem_kernel.dylib          0x00007fffa2c47dd6 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fffa2d33787 pthread_kill + 90
2   libsystem_c.dylib               0x00007fffa2bad420 abort + 129
3   libjvm.dylib                    0x000000010e282beb os::abort(bool) + 25
4   libjvm.dylib                    0x000000010e3a6a2a VMError::report_and_die() + 2304
5   libjvm.dylib                    0x000000010e284816 JVM_handle_bsd_signal + 1131
6   libjvm.dylib                    0x000000010e280a7b signalHandler(int, __siginfo*, void*) + 47
7   libsystem_platform.dylib        0x00007fffa2d26bba _sigtramp + 26
8   ???                             0x0000700011cdc488 0 + 123145601008776
9   libjlibtorrent.dylib            0x000000013052744a 0x130364000 + 1848394
10  libjlibtorrent.dylib            0x00000001305206f5 0x130364000 + 1820405
11  libjlibtorrent.dylib            0x00000001304fd03b libtorrent::torrent::we_have(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>) + 987
12  libjlibtorrent.dylib            0x00000001304ff2eb libtorrent::torrent::on_piece_hashed(libtorrent::aux::strong_typedef<int, libtorrent::aux::piece_index_tag, void>, libtorrent::digest32<160> const&, libtorrent::storage_error const&) + 907
13  libjlibtorrent.dylib            0x000000013045e7e1 0x130364000 + 1026017
14  libjlibtorrent.dylib            0x000000013040bcf3 libtorrent::disk_io_job::call_callback(libtorrent::buffer_allocator_interface&) + 307
15  libjlibtorrent.dylib            0x0000000130414e01 libtorrent::disk_io_thread::call_job_handlers() + 145
16  libjlibtorrent.dylib            0x00000001304183e4 boost::asio::detail::completion_handler<std::__1::__bind<void (libtorrent::disk_io_thread::*)(), libtorrent::disk_io_thread*> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long) + 84
17  libjlibtorrent.dylib            0x000000013049e561 0x130364000 + 1287521
18  libjlibtorrent.dylib            0x000000013049e035 0x130364000 + 1286197
19  libjlibtorrent.dylib            0x000000013049d390 0x130364000 + 1282960
20  libsystem_pthread.dylib         0x00007fffa2d30aab _pthread_body + 180
21  libsystem_pthread.dylib         0x00007fffa2d309f7 _pthread_start + 286
22  libsystem_pthread.dylib         0x00007fffa2d301fd thread_start + 13
aldenml commented 7 years ago

Closing this due to lack of occurrences.