mailing list of musl libc
 help / color / mirror / code / Atom feed
* Commit 01d4274 breaks Clang's LeakSanitizer when used with musl
@ 2015-07-02 18:22 Constantine
  2015-07-02 19:00 ` Rich Felker
  0 siblings, 1 reply; 9+ messages in thread
From: Constantine @ 2015-07-02 18:22 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1264 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-02 22:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02 18:22 Commit 01d4274 breaks Clang's LeakSanitizer when used with musl Constantine
2015-07-02 19:00 ` Rich Felker
2015-07-02 19:29   ` Szabolcs Nagy
2015-07-02 19:45     ` Constantine
2015-07-02 21:10       ` Szabolcs Nagy
2015-07-02 19:46     ` Szabolcs Nagy
2015-07-02 19:57     ` Alexander Monakov
2015-07-02 20:20       ` Rich Felker
2015-07-02 22:11         ` Alexander Monakov

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).