[llvm-dev] Asan self host problems: Failed to deallocate
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Sat Feb 18 19:20:55 PST 2017
Rebooted my machine and I'm guessing that's how I lost the reproduction :/
Thanks for reading my emails - sorry it was a dead end/noise.
On Thu, Feb 16, 2017 at 5:01 PM Kostya Serebryany <kcc at google.com> wrote:
> It would really help to have a clean repro steps.
> I don't know how to extract them from CMakeCache :(
> On Wed, Feb 15, 2017 at 1:09 PM, David Blaikie <dblaikie at gmail.com> wrote:
> 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).
> No lld, so far as I know - believe I'm using gold at the moment for both
> 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.
> On Mon, Feb 13, 2017 at 4:17 PM Kostya Serebryany <kcc at google.com> wrote:
> Looks weird.
> 1. Is LLD involved here somehow? Peter has just fixed an
> asan-unfriendliness in LLD: https://reviews.llvm.org/rL294977, although
> this reports does not look related.
> 2. Could you provide the exact repro steps? (cmake, etc for both host and
> bootstrap build)?
> On Fri, Feb 10, 2017 at 9:41 PM, David Blaikie <dblaikie at gmail.com> wrote:
> 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):
> Any ideas?
> ==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584)
> bytes at address 0x631000014800
> ==10525==AddressSanitizer CHECK failed:
> "(("unable to unmap" && 0)) != (0)" (0x0, 0x0)
> #0 0x51f42f in __asan::AsanCheckFailed(char const*, int, char const*,
> unsigned long long, unsigned long long)
> #1 0x532eff in __sanitizer::CheckFailed(char const*, int, char
> const*, unsigned long long, unsigned long long)
> #2 0x52cf61 in __sanitizer::UnmapOrDie(void*, unsigned long)
> #3 0x53877f in __sanitizer::UnsetAlternateSignalStack()
> #4 0x5209f5 in __asan::AsanThread::Destroy()
> #5 0x7fd75802df81 in __nptl_deallocate_tsd
> #6 0x7fd75802e196 in start_thread
> #7 0x7fd744ee337c in clone
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev