https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88791

--- Comment #5 from dominik.stras...@onespin-solutions.com ---
ASAN from git crashes like this. Looks like a double fault.
SignalHandler_Unix.h is in my application's code.
I've attached ASAN's debug output where I removed all messages talking about
poisoning/unpoisoning as they look unrelated.

#5  0x00007f6fd264c005 in SYSTEM::handleSignalForThread (t=140117893179136) at
SignalHandler_Unix.h:412
#6  0x00007f6fd264c57f in SYSTEM::gBadSignalHandler (signalNr=11,
info=0x7f6fbd3fb070, ctx=0x7f6fbd3faf40) at SignalHandler_Unix.h:478
#7  <signal handler called>
#8  __asan::GetCurrentThread () at
../../../../gcc-git/libsanitizer/asan/asan_thread.cc:415
#9  0x00007f6ffa37c58d in __asan_handle_no_return () at
../../../../gcc-git/libsanitizer/asan/asan_rtl.cc:538
#10 0x00007f6fd264c04e in SYSTEM::handleSignalForThread (t=140117893179136) at
SignalHandler_Unix.h:423
#11 0x00007f6fd264c57f in SYSTEM::gBadSignalHandler (signalNr=11,
info=0x7f6fbd3fbd70, ctx=0x7f6fbd3fbc40) at SignalHandler_Unix.h:478
#12 <signal handler called>
#13 GetCurrentThread () at
../../../../gcc-git/libsanitizer/asan/asan_thread.cc:415
#14 __asan::GetCurrentTidOrInvalid () at
../../../../gcc-git/libsanitizer/asan/asan_thread.cc:429
#15 0x00007f6ffa37a1ea in __asan::ReportGenericError (pc=140118247917729,
bp=bp@entry=140117893172896, sp=sp@entry=140117893172888, addr=105827994255744,
is_write=is_write@entry=false, access_size=access_size@entry=8, exp=0,
fatal=true) at ../../../../gcc-git/libsanitizer/asan/asan_report.cc:459
#16 0x00007f6ffa37aea8 in __asan::__asan_report_load8 (addr=<optimized out>) at
../../../../gcc-git/libsanitizer/asan/asan_rtl.cc:119
#17 0x00007f6fd264c8a1 in SYSTEM::gBadSignalHandler (signalNr=11,
info=0x7f6fbd3fd630, ctx=0x7f6fbd3fd500) at SignalHandler_Unix.h:502
#18 <signal handler called>
#19 __asan::AsanThread::SetThreadStackAndTls (this=this@entry=0x7f6fbc552000,
options=<optimized out>) at
../../../../gcc-git/libsanitizer/asan/asan_thread.h:80
#20 0x00007f6ffa37e619 in __asan::AsanThread::Init
(this=this@entry=0x7f6fbc552000, options=options@entry=0x0) at
../../../../gcc-git/libsanitizer/asan/asan_thread.cc:223
#21 0x00007f6ffa37ea64 in __asan::AsanThread::ThreadStart (this=0x7f6fbc552000,
os_id=5519, signal_thread_is_registered=0x7f6fc29da978) at
../../../../gcc-git/libsanitizer/asan/asan_thread.cc:244
#22 0x00007f6fd150de25 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f6fd01dcbad in clone () from /lib64/libc.so.6

Reply via email to