{"action":"opened","issue":{"url":"https://api.github.com/repos/bombela/backward-cpp/issues/47","repository_url":"https://api.github.com/repos/bombela/backward-cpp","labels_url":"https://api.github.com/repos/bombela/backward-cpp/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/bombela/backward-cpp/issues/47/comments","events_url":"https://api.github.com/repos/bombela/backward-cpp/issues/47/events","html_url":"https://github.com/bombela/backward-cpp/issues/47","id":192040573,"number":47,"title":"deadlock when catching SIGSEGV.","user":{"login":"amosbird","id":5085485,"avatar_url":"https://avatars.githubusercontent.com/u/5085485?v=3","gravatar_id":"","url":"https://api.github.com/users/amosbird","html_url":"https://github.com/amosbird","followers_url":"https://api.github.com/users/amosbird/followers","following_url":"https://api.github.com/users/amosbird/following{/other_user}","gists_url":"https://api.github.com/users/amosbird/gists{/gist_id}","starred_url":"https://api.github.com/users/amosbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amosbird/subscriptions","organizations_url":"https://api.github.com/users/amosbird/orgs","repos_url":"https://api.github.com/users/amosbird/repos","events_url":"https://api.github.com/users/amosbird/events{/privacy}","received_events_url":"https://api.github.com/users/amosbird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T15:49:15Z","updated_at":"2016-11-28T15:49:15Z","closed_at":null,"body":"Here is the backtrace printed by gdb,\r\n```\r\n#0  0x000000000287790a in sys_futex (a=0x4087f80 <tcmalloc::Static::central_cache_+1216>, o=128, v=2, t=0x7febee032860) at /home/amos/repos/dsql/src/gutil/linux_syscall_support.h:2713\r\n#1  0x0000000002877a4b in base::internal::SpinLockDelay (w=0x4087f80 <tcmalloc::Static::central_cache_+1216>, value=2, loop=1073) at /home/amos/repos/dsql/src/gutil/spinlock_linux-inl.h:88\r\n#2  0x00000000028af9a9 in SpinLock::SlowLock() ()\r\n#3  0x0000000002967cd9 in tcmalloc::CentralFreeList::RemoveRange(void**, void**, int) ()\r\n#4  0x00000000029753b3 in tcmalloc::ThreadCache::FetchFromCentralCache(unsigned long, unsigned long) ()\r\n#5  0x000000000298236b in tc_malloc ()\r\n#6  0x00000000028dca86 in bfd_malloc ()\r\n#7  0x00000000028dd2bb in bfd_follow_gnu_debuglink ()\r\n#8  0x0000000002954d37 in find_line ()\r\n#9  0x0000000002954e97 in _bfd_dwarf2_find_nearest_line ()\r\n#10 0x00000000028efefa in _bfd_elf_find_nearest_line ()\r\n#11 0x00000000011b2858 in backward::TraceResolverLinuxImpl<backward::trace_resolver_tag::libbfd>::find_in_section (this=0x7febee032ff8, addr=213107247788, base_addr=213106294784, fobj=..., section=0x12e02ce0, result=...) at /home/amos/repo\r\ns/dsql/src/util/backward.hpp:1084\r\n#12 0x00000000011b26f9 in backward::TraceResolverLinuxImpl<backward::trace_resolver_tag::libbfd>::find_in_section_trampoline (section=0x12e02ce0, data=0x7febee032d60) at /home/amos/repos/dsql/src/util/backward.hpp:1060\r\n#13 0x00000000028de4dc in bfd_map_over_sections ()\r\n#14 0x00000000011b266c in backward::TraceResolverLinuxImpl<backward::trace_resolver_tag::libbfd>::find_symbol_details (this=0x7febee032ff8, fobj=..., addr=0x319e2e8aac <clone+108>, base_addr=0x319e200000) at /home/amos/repos/dsql/src/util/backward.hpp:1048\r\n#15 0x00000000011b203e in backward::TraceResolverLinuxImpl<backward::trace_resolver_tag::libbfd>::resolve (this=0x7febee032ff8, trace=...) at /home/amos/repos/dsql/src/util/backward.hpp:817\r\n#16 0x00000000011b51d1 in backward::Printer::print<backward::StackTrace> (this=0x7febee032ff0, st=..., os=0x319e58f120 <_IO_2_1_stderr_>) at /home/amos/repos/dsql/src/util/backward.hpp:1747\r\n#17 0x00000000011b3ee4 in backward::SignalHandling::sig_handler (info=0x7febee033470, _ctx=0x7febee033340) at /home/amos/repos/dsql/src/util/backward.hpp:1959\r\n#18 0x00007fecddbe8852 in os::Linux::chained_handler(int, siginfo*, void*) () from /home/amos/repos/dsql/install/postgres/jdk/jre/lib/amd64/server/libjvm.so\r\n#19 0x00007fecddbeec86 in JVM_handle_linux_signal () from /home/amos/repos/dsql/install/postgres/jdk/jre/lib/amd64/server/libjvm.so\r\n#20 0x00007fecddbe54b3 in signalHandler(int, siginfo*, void*) () from /home/amos/repos/dsql/install/postgres/jdk/jre/lib/amd64/server/libjvm.so\r\n#21 <signal handler called>\r\n\r\n```"}}
{"actor":{"display_login":"amosbird"}}