<div dir="ltr">Hmm, nope - still have it, just didn't reproduce in my isolated build... I'll need to run more experiments to figure out what the relevant variables are.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Feb 18, 2017 at 7:20 PM David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Rebooted my machine and I'm guessing that's how I lost the reproduction :/ Ah well.<br class="gmail_msg"><br class="gmail_msg">Thanks for reading my emails - sorry it was a dead end/noise.</div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Thu, Feb 16, 2017 at 5:01 PM Kostya Serebryany <<a href="mailto:kcc@google.com" class="gmail_msg" target="_blank">kcc@google.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">It would really help to have a clean repro steps.<div class="gmail_msg">I don't know how to extract them from <span style="font-size:12.8px" class="gmail_msg">CMakeCache :( </span></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Wed, Feb 15, 2017 at 1:09 PM, David Blaikie <span dir="ltr" class="gmail_msg"><<a href="mailto:dblaikie@gmail.com" class="gmail_msg" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I wish there was something like the line in config.log that would show the CMake command, but instead I can at least show you the CMakeCache files for my release build and asan build (attached to this email).<br class="gmail_msg"><br class="gmail_msg">No lld, so far as I know - believe I'm using gold at the moment for both builds.<br class="gmail_msg"><br class="gmail_msg">Did just reproduce this with a clean release build and a clean asanified build from that. Same errors. I used my previous release build (so, probably from a few days ago ToT) to build the current one.<div class="gmail_msg"><div class="m_-8990228270995622045m_8711140985039810896h5 gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Mon, Feb 13, 2017 at 4:17 PM Kostya Serebryany <<a href="mailto:kcc@google.com" class="gmail_msg" target="_blank">kcc@google.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">Looks weird. <div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"></div><div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">1. Is LLD involved here somehow? Peter has just fixed an asan-unfriendliness in LLD: <a href="https://reviews.llvm.org/rL294977" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg" target="_blank">https://reviews.llvm.org/rL294977</a>, although this reports does not look related. </div><div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">2. Could you provide the exact repro steps? (cmake, etc for both host and bootstrap build)?<br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="gmail_extra m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"></div><div class="gmail_extra m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">--kcc </div></div></div></div><div dir="ltr" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="gmail_extra m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><div class="gmail_quote m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">On Fri, Feb 10, 2017 at 9:41 PM, David Blaikie <span dir="ltr" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><<a href="mailto:dblaikie@gmail.com" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><blockquote class="gmail_quote m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">Trying to run a self host "ninja check-clang" with ASan enabled I hit a /lot/ of errors like this (strangely I hit none of these in check-llvm, only in check-clang):<br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">Any ideas?<br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">





<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes at address 0x631000014800</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">==10525==AddressSanitizer CHECK failed: /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc:143 "(("unable to unmap" && 0)) != (0)" (0x0, 0x0)</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#0 0x51f42f in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/asan/asan_rtl.cc:69:3</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#1 0x532eff in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_termination.cc:79:5</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#2 0x52cf61 in __sanitizer::UnmapOrDie(void*, unsigned long) /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc:143:5</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#3 0x53877f in __sanitizer::UnsetAlternateSignalStack() /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:186:3</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#4 0x5209f5 in __asan::AsanThread::Destroy() /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/asan/asan_thread.cc:110:40</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#5 0x7fd75802df81 in __nptl_deallocate_tsd /build/eglibc-oGUzwX/eglibc-2.19/nptl/pthread_create.c:158</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#6 0x7fd75802e196 in start_thread /build/eglibc-oGUzwX/eglibc-2.19/nptl/pthread_create.c:325</span></p>
<p class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-p1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-s1 m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"><span class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243m_-5933580146166520484gmail-m_-7008161469121665832inbox-inbox-Apple-converted-space m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg">    </span>#7 0x7fd744ee337c in clone /build/eglibc-oGUzwX/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:111<br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"></span></p></div>
</blockquote></div><br class="m_-8990228270995622045m_8711140985039810896m_8129221811390007243gmail_msg gmail_msg"></div></div></div></div></blockquote></div></div></div></div>
</blockquote></div><br class="gmail_msg"></div>
</blockquote></div></blockquote></div>