{"action":"created","issue":{"url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/46","labels_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/46/comments","events_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/46/events","html_url":"https://github.com/frostwire/frostwire-jlibtorrent/issues/46","id":100776990,"number":46,"title":"[Crash] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 099bf868","user":{"login":"bohregard","id":1455137,"avatar_url":"https://avatars.githubusercontent.com/u/1455137?v=3","gravatar_id":"","url":"https://api.github.com/users/bohregard","html_url":"https://github.com/bohregard","followers_url":"https://api.github.com/users/bohregard/followers","following_url":"https://api.github.com/users/bohregard/following{/other_user}","gists_url":"https://api.github.com/users/bohregard/gists{/gist_id}","starred_url":"https://api.github.com/users/bohregard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bohregard/subscriptions","organizations_url":"https://api.github.com/users/bohregard/orgs","repos_url":"https://api.github.com/users/bohregard/repos","events_url":"https://api.github.com/users/bohregard/events{/privacy}","received_events_url":"https://api.github.com/users/bohregard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-08-13T14:03:45Z","updated_at":"2015-08-14T13:55:36Z","closed_at":null,"body":"Background:\r\n\r\nThis issue seems to happen quite frequently without any warning. I tried using the addr2line utility and came up with no possible leads. Hopefully this is helpful.\r\n\r\nI'm using the gradle maven repo:\r\n```\r\ncompile 'com.frostwire:jlibtorrent:1.1.0.0'\r\ncompile 'com.frostwire:jlibtorrent-android:1.1.0.0'\r\n```\r\n\r\nLet me know if you need anything else from me.\r\n\r\nStack Trace:\r\n```\r\n********** Crash dump: **********\r\nBuild fingerprint: 'G-Box/k200/k200:4.4.2/KOT49H/20150810:userdebug/dev-keys'\r\npid: 18003, tid: 18003, name: t.test.test  >>> net.test.test <<<\r\nsignal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 099bf868\r\nStack frame     #00  pc 00281a8a  /data/app-lib/net.test.test-1/libjlibtorrent.so (boost::detail::shared_count::shared_count(boost::detail::weak_count const&, boost::detail::sp_nothrow_tag)+5)\r\nStack frame     #01  pc 00365b25  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::torrent_handle::status(unsigned int) const+28)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 0007298b  /system/lib/libdvm.so\r\nStack frame     #04  pc 0005496d  /system/lib/libdvm.so\r\nStack frame     #05  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #06  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023388  /system/lib/libc.so (__rt_sigtimedwait+12)\r\nStack frame     #01  pc 00015569  /system/lib/libc.so (sigwait+24)\r\nStack frame     #02  pc 00051f53  /system/lib/libdvm.so\r\nStack frame     #03  pc 0005496d  /system/lib/libdvm.so\r\nStack frame     #04  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #05  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 000228ec  /system/lib/libc.so (select+16)\r\nStack frame     #01  pc 0006148f  /system/lib/libdvm.so\r\nStack frame     #02  pc 00063fe1  /system/lib/libdvm.so\r\nStack frame     #03  pc 0005496d  /system/lib/libdvm.so\r\nStack frame     #04  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #05  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 00073f0f  /system/lib/libdvm.so\r\nStack frame     #04  pc 0005496d  /system/lib/libdvm.so\r\nStack frame     #05  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #06  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 00052d73  /system/lib/libdvm.so\r\nStack frame     #04  pc 0006785d  /system/lib/libdvm.so\r\nStack frame     #05  pc 00026fe0  /system/lib/libdvm.so\r\nStack frame     #06  pc 0002dfa0  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)\r\nStack frame     #07  pc 0002b638  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)\r\nStack frame     #08  pc 00060581  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)\r\nStack frame     #09  pc 000605a5  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)\r\nStack frame     #10  pc 0005528b  /system/lib/libdvm.so\r\nStack frame     #11  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #12  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 00052d73  /system/lib/libdvm.so\r\nStack frame     #04  pc 0006785d  /system/lib/libdvm.so\r\nStack frame     #05  pc 00026fe0  /system/lib/libdvm.so\r\nStack frame     #06  pc 0002dfa0  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)\r\nStack frame     #07  pc 0002b638  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)\r\nStack frame     #08  pc 00060581  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)\r\nStack frame     #09  pc 000605a5  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)\r\nStack frame     #10  pc 0005528b  /system/lib/libdvm.so\r\nStack frame     #11  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #12  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 00052d73  /system/lib/libdvm.so\r\nStack frame     #04  pc 0006785d  /system/lib/libdvm.so\r\nStack frame     #05  pc 00026fe0  /system/lib/libdvm.so\r\nStack frame     #06  pc 0002dfa0  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)\r\nStack frame     #07  pc 0002b638  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)\r\nStack frame     #08  pc 00060581  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)\r\nStack frame     #09  pc 000605a5  /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)\r\nStack frame     #10  pc 0005528b  /system/lib/libdvm.so\r\nStack frame     #11  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #12  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 000227a0  /system/lib/libc.so (__ioctl+8)\r\nStack frame     #01  pc 0002e807  /system/lib/libc.so (ioctl+14)\r\nStack frame     #02  pc 0001d3ed  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)\r\nStack frame     #03  pc 0001daf7  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)\r\nStack frame     #04  pc 0001db8d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)\r\nStack frame     #05  pc 000219a5  /system/lib/libbinder.so\r\nStack frame     #06  pc 0000ea5d  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)\r\nStack frame     #07  pc 0004d5b9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)\r\nStack frame     #08  pc 0000e58f  /system/lib/libutils.so\r\nStack frame     #09  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #10  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 000227a0  /system/lib/libc.so (__ioctl+8)\r\nStack frame     #01  pc 0002e807  /system/lib/libc.so (ioctl+14)\r\nStack frame     #02  pc 0001d3ed  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+140)\r\nStack frame     #03  pc 0001daf7  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)\r\nStack frame     #04  pc 0001db8d  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)\r\nStack frame     #05  pc 000219a5  /system/lib/libbinder.so\r\nStack frame     #06  pc 0000ea5d  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+216)\r\nStack frame     #07  pc 0004d5b9  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+68)\r\nStack frame     #08  pc 0000e58f  /system/lib/libutils.so\r\nStack frame     #09  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #10  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023954  /system/lib/libc.so (epoll_wait+12)\r\nStack frame     #01  pc 0025d749  /data/app-lib/net.test.test-1/libjlibtorrent.so (boost::asio::detail::epoll_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&)+36)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 003ac925  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::disk_io_thread::thread_fun(int, libtorrent::disk_io_thread::thread_type_t, boost::shared_ptr<boost::asio::io_service::work>)+208)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 003ac925  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::disk_io_thread::thread_fun(int, libtorrent::disk_io_thread::thread_type_t, boost::shared_ptr<boost::asio::io_service::work>)+208)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 003ac925  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::disk_io_thread::thread_fun(int, libtorrent::disk_io_thread::thread_type_t, boost::shared_ptr<boost::asio::io_service::work>)+208)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 003ac9c1  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::disk_io_thread::thread_fun(int, libtorrent::disk_io_thread::thread_type_t, boost::shared_ptr<boost::asio::io_service::work>)+364)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 003b7a97  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::condition_variable::wait_for(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> >)+138)\r\nStack frame     #04  pc 003f1a37  /data/app-lib/net.test.test-1/libjlibtorrent.so (libtorrent::alert_manager::wait_for_alert(boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> >)+66)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 0025db7b  /data/app-lib/net.test.test-1/libjlibtorrent.so (boost::asio::detail::task_io_service::run(boost::system::error_code&)+562)\r\nStack frame     #00  pc 000227a0  /system/lib/libc.so (__ioctl+8)\r\nStack frame     #01  pc 0002e807  /system/lib/libc.so (ioctl+14)\r\nStack frame     #02  pc 00069f14  /system/lib/egl/libGLES_mali.so\r\nStack frame     #03  pc 0006a3d0  /system/lib/egl/libGLES_mali.so\r\nStack frame     #04  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #05  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 00025894  /system/lib/libc.so\r\nStack frame     #03  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #04  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\nStack frame     #00  pc 00023bc4  /system/lib/libc.so (__futex_syscall3+8)\r\nStack frame     #01  pc 0000f564  /system/lib/libc.so (__pthread_cond_timedwait_relative+48)\r\nStack frame     #02  pc 0000f5c4  /system/lib/libc.so (__pthread_cond_timedwait+64)\r\nStack frame     #03  pc 000698b4  /system/lib/egl/libGLES_mali.so\r\nStack frame     #04  pc 00064c28  /system/lib/egl/libGLES_mali.so\r\nStack frame     #05  pc 0000d200  /system/lib/libc.so (__thread_entry+72)\r\nStack frame     #06  pc 0000d398  /system/lib/libc.so (pthread_create+240)\r\n```\r\n\r\nAddr2Line:\r\n\r\n```\r\nAddress: 00281a8a\r\n_ZN4Swig17DirectorExceptionC2EP7JNIEnv_P11_jthrowable\r\n??:?\r\n\r\nAddress: 00365b25\r\n_ZN10libtorrent14session_handle14wait_for_alertEN5boost6chrono8durationIxNS1_5ratioILx1ELx1000000000EEEEE\r\n??:?\r\n```"},"comment":{"url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/comments/131112859","html_url":"https://github.com/frostwire/frostwire-jlibtorrent/issues/46#issuecomment-131112859","issue_url":"https://api.github.com/repos/frostwire/frostwire-jlibtorrent/issues/46","id":131112859,"user":{"login":"bohregard","id":1455137,"avatar_url":"https://avatars.githubusercontent.com/u/1455137?v=3","gravatar_id":"","url":"https://api.github.com/users/bohregard","html_url":"https://github.com/bohregard","followers_url":"https://api.github.com/users/bohregard/followers","following_url":"https://api.github.com/users/bohregard/following{/other_user}","gists_url":"https://api.github.com/users/bohregard/gists{/gist_id}","starred_url":"https://api.github.com/users/bohregard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bohregard/subscriptions","organizations_url":"https://api.github.com/users/bohregard/orgs","repos_url":"https://api.github.com/users/bohregard/repos","events_url":"https://api.github.com/users/bohregard/events{/privacy}","received_events_url":"https://api.github.com/users/bohregard/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T13:55:36Z","updated_at":"2015-08-14T13:55:36Z","body":"@aldenml I pushed my code to another device and it works great. Seems to only be an issue with this certain device (Specifically Amlogic S802 devices running Kitkat 4.4). My Nexus 6 and Samsung tablet seem to function just fine. Any suggestions?"}}