<div dir="ltr">Hi there, <div><br></div><div>I just started running address sanitize <span style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono',monospace,serif;font-size:12px;line-height:21px">AddressSanitizer </span>and I received a report that I am having trouble parsing:</div>
<div><br></div><div><div>ASAN:SIGSEGV</div><div>=================================================================</div><div>==23580==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x2b3f29713a90 sp 0x2b3f3b526450 bp 0x2b3f3b526ca0 T38)</div>
<div>AddressSanitizer can not provide additional info.</div><div> #0 0x2b3f29713a8f in __sanitizer::StackTrace::FastUnwindStack(unsigned long, unsigned long, unsigned long, unsigned long) ??:?</div><div> #1 0x2b3f29704dac in free ??:?</div>
<div> #2 0x2b3f3118f8ac in __pthread_attr_destroy /build/buildd/eglibc-2.17/nptl/pthread_attr_destroy.c:41</div><div> #3 0x2b3f29711917 in __sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*) ??:?</div>
<div> #4 0x2b3f29711d8d in __sanitizer::GetThreadStackAndTls(bool, unsigned long*, unsigned long*, unsigned long*, unsigned long*) ??:?</div><div> #5 0x2b3f2970b72d in __asan::AsanThread::Init() ??:?</div><div> #6 0x2b3f2970b98f in __asan::AsanThread::ThreadStart(unsigned long) ??:?</div>
<div> #7 0x2b3f3118df6d in start_thread /build/buildd/eglibc-2.17/nptl/pthread_create.c:311</div><div> #8 0x2b3f320c79cc in clone /build/buildd/eglibc-2.17/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:113</div><div>
Thread T38 created by T0 here:</div><div> #0 0x2b3f296fa7eb in __interceptor_pthread_create ??:?</div><div> #1 0x2b3f301edd67 in tbb::internal::tbb_thread_v3::internal_start(void* (*)(void*), void*) /home/ppinto/external/tbb/tbb41_20130314oss/build/linux_intel64_gcc_cc4.1.2_libc2.5_kernel3.2.0_debug/../../src/tbb/tbb_thread.cpp:130</div>
<div> </div><div>....</div><div>==23580==ABORTING</div></div><div><br></div><div>Seems like the top of the stack was within Address Sanitizer itself, does this indicate a bug in sanitizer or am I missing something here?</div>
<div><br></div><div>Thanks in advance,</div><div>-pp</div><div><br></div><div>$ clang --version<br></div><div>Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4)</div><div>Target: x86_64-pc-linux-gnu</div><div>Thread model: posix</div>
<div><br></div><div><br></div></div>