[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 21 10:54:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #14 from Alexander Monakov <amonakov at gcc dot gnu.org> 2013-02-21 10:54:13 UTC ---
(In reply to comment #13)
> We've got this problem on Android, where an instrumented JNI library is loaded
> into Dalvik VM, which is outside of user control. We "solve" it by requiring
> that the runtime library is LD_PRELOAD-ed into the DVM (Android has a mechanism
> to do this on an individual app basis on rooted devices).
OT, but what is this mechanism you speak of? Currently this bug is the top
google hit for "Dalvik sanitizer LD_PRELOAD", and I don't see how it might work
if the VM only forks, not execs.
More information about the Gcc-bugs
mailing list