<div dir="ltr">
<p>Hi all,</p><p>I noticed these thread sanitizer warnings while running lldb-mi tests on Linux.</p><p>WARNING: ThreadSanitizer: signal-unsafe call inside of a signal (pid=39721)</p>
<p> #0 operator new(unsigned long) <null>:0 (lldb-mi-3.7.0+0x000000092b9d)</p>
<p> #1 std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) <null>:0 (libstdc++.so.6+0x0000000ba3b8)</p>
<p> #2 CMICmnResources::GetStringFromResource(unsigned int, CMIUtilString&) const /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MICmnResources.cpp:434 (lldb-mi-3.7.0+0x00000014ddd8)</p>
<p> #3 CMICmnResources::GetString(unsigned int) const /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MICmnResources.cpp:371 (lldb-mi-3.7.0+0x00000014db81)</p>
<p> #4 sigwinch_handler(int) /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriverMain.cpp:99 (lldb-mi-3.7.0+0x0000001589ff)</p>
<p> #5 __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, int, my_siginfo_t*, void*) tsan_interceptors.o:0 (lldb-mi-3.7.0+0x00000009f25f)</p>
<p> #6 void std::this_thread::sleep_for<long, std::ratio<1l, 1000l> >(std::chrono::duration<long, std::ratio<1l, 1000l> > const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/thread:279 (lldb-mi-3.7.0+0x00000013243e)</p>
<p> #7 CMIDriver::ReadStdinLineQueue() /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriver.cpp:710 (lldb-mi-3.7.0+0x000000155e62)</p>
<p> #8 CMIDriver::DoMainLoop() /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriver.cpp:631 (lldb-mi-3.7.0+0x000000155d37)</p>
<p> #9 non-virtual thunk to CMIDriver::DoMainLoop() /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriver.cpp:648 (lldb-mi-3.7.0+0x000000155fbd)</p>
<p> #10 CMIDriverMgr::DriverMainLoop() /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriverMgr.cpp:340 (lldb-mi-3.7.0+0x000000159ee6)</p>
<p> #11 main /usr/local/google/home/vharron/ll/tot/llvm/tools/lldb/tools/lldb-mi/MIDriverMain.cpp:364 (lldb-mi-3.7.0+0x000000158f60)</p><p><br></p><div><br></div>-- <br><div><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> <a href="tel:858-442-0868" value="+18584420868" target="_blank">858-442-0868</a></td></tr></tbody></table><br></div></div>
</div>