Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 Jul 2015 21:22:28 +0300
From: Constantine <iamvfx@...il.com>
To: musl@...ts.openwall.com
Subject: Commit 01d4274 breaks Clang's LeakSanitizer when used with musl

See this commit in cgit:

http://git.musl-libc.org/cgit/musl/commit/?id=01d4274

"make dlerror state and message thread-local and dynamically-allocated"


With this commit any application compiled with lsan yelds this error which
stops the application from running:

==15531==Sanitizer CHECK failed:
> /mnt/space/llvm/projects/compiler-rt/lib/lsan/lsan_interceptors.cc:58
> ((!lsan_init_is_running)) != (0) (0, 0)


But if I revert 01d4274
<https://github.com/procedural/musl-patches/blob/d9fab50/revert_01d4274.patch>
on musl 1.1.9 or higher versions, the error goes away and lsan works as
expected.

Just letting you guys know that this commit breaks external tools like lsan.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.