{"action":"created","issue":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/1225","repository_url":"https://api.github.com/repos/arvidn/libtorrent","labels_url":"https://api.github.com/repos/arvidn/libtorrent/issues/1225/labels{/name}","comments_url":"https://api.github.com/repos/arvidn/libtorrent/issues/1225/comments","events_url":"https://api.github.com/repos/arvidn/libtorrent/issues/1225/events","html_url":"https://github.com/arvidn/libtorrent/issues/1225","id":183699711,"number":1225,"title":"crash in android in disk_io_thread::try_flush_hashed","user":{"login":"aldenml","id":143813,"avatar_url":"https://avatars.githubusercontent.com/u/143813?v=3","gravatar_id":"","url":"https://api.github.com/users/aldenml","html_url":"https://github.com/aldenml","followers_url":"https://api.github.com/users/aldenml/followers","following_url":"https://api.github.com/users/aldenml/following{/other_user}","gists_url":"https://api.github.com/users/aldenml/gists{/gist_id}","starred_url":"https://api.github.com/users/aldenml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldenml/subscriptions","organizations_url":"https://api.github.com/users/aldenml/orgs","repos_url":"https://api.github.com/users/aldenml/repos","events_url":"https://api.github.com/users/aldenml/events{/privacy}","received_events_url":"https://api.github.com/users/aldenml/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-10-18T14:17:40Z","updated_at":"2016-10-22T21:12:18Z","closed_at":null,"body":"**Please provide the following information**\r\n\r\nlibtorrent version (or branch): master\r\n\r\nplatform/architecture: android\r\n\r\ncompiler and compiler version: clang NDK 13\r\n\r\n```\r\npid: 21826, tid: 21936, name: Thread-7015  >>> com.frostwire.android <<<\r\nsignal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdaa00000\r\n    r0 00000000  r1 00000010  r2 00000010  r3 da9fffe4\r\n    r4 00000010  r5 0000000e  r6 00000080  r7 00000010\r\n    r8 040000d6  r9 00400100  sl 00000010  fp dd8fa7f8\r\n    ip 00000010  sp dd8fa798  lr 00000001  pc dfdeefd8  cpsr 800f0010\r\n\r\nbacktrace:\r\n    #00 pc 00221fd8  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZN10libtorrent14disk_io_thread16try_flush_hashedEPNS_18cached_piece_entryEiRNS_9tailqueueINS_11disk_io_jobEEERNSt6__ndk111unique_lockINS7_5mutexEEE+340)\r\n    #01 pc 00228a18  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZN10libtorrent14disk_io_thread15do_flush_hashedEPNS_11disk_io_jobERNS_9tailqueueIS1_EE+252)\r\n    #02 pc 00223d6c  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZN10libtorrent14disk_io_thread11perform_jobEPNS_11disk_io_jobERNS_9tailqueueIS1_EE+144)\r\n    #03 pc 0022947c  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZN10libtorrent14disk_io_thread10thread_funENS0_13thread_type_tEN5boost4asio10io_service4workE+436)\r\n    #04 pc 0022a6a8  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZN10libtorrent14disk_io_thread9job_queue10thread_funEN5boost4asio10io_service4workE+56)\r\n    #05 pc 0022f0b8  /data/app/com.frostwire.android-2/lib/arm/libjlibtorrent.so (_ZNSt6__ndk114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN10libtorrent21pool_thread_interfaceEFvN5boost4asio10io_service4workEEPS8_SC_EEEEEPvSH_+156)\r\n    #06 pc 0003fa3b  /system/lib/libc.so (_ZL15__pthread_startPv+30)\r\n    #07 pc 0001a085  /system/lib/libc.so (__start_thread+6)\r\n```\r\n\r\nAny hint of where to look? Now I have debug versions but are useless, since this error manifest only in release while running in the wild."},"comment":{"url":"https://api.github.com/repos/arvidn/libtorrent/issues/comments/255554342","html_url":"https://github.com/arvidn/libtorrent/issues/1225#issuecomment-255554342","issue_url":"https://api.github.com/repos/arvidn/libtorrent/issues/1225","id":255554342,"user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars.githubusercontent.com/u/661450?v=3","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T21:12:18Z","updated_at":"2016-10-22T21:12:18Z","body":"@aldenml if you still have the binary+debug information for that build (or can rebuild it), you can load it up in gdb and issue: \"list *<address>\", where address is one of the addresses in the stack-trace (after \"pc\"). That will tell you exactly where it is (within the accuracy you get with optimizations enabled)"}}
{"actor":{"display_login":"arvidn"}}