Comment #6 on issue 386 by [email protected]: JNI-based app fails with
shadow memory range interleaves with existing memory mapping after ASan
instrumentation
https://code.google.com/p/address-sanitizer/issues/detail?id=386
Many thanks for the very quick response! When you mentioned LD_PRELOAD, did
you mean the instructions at
https://code.google.com/p/address-sanitizer/wiki/AsanAsDso? Also is there a
tool to find out which module maps to the addresses such
as '0x000096e00000'? I tried to us LD_PRELOAD=/usr/lib64/libasan.so.0 and
got the following error:
ASAN:SIGSEGV
=================================================================
==112764== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008
(pc 0x7f9b8a16e91b sp 0x7f9b8d859050 bp 0x7f9b8d8590f0 T1)
AddressSanitizer can not provide additional info.
#0 0x7f9b8a16e91a (+0x7091a)
Thread T1 created by T0 here:
#0 0x7f9b8fec2b6b (/usr/lib64/libasan.so.0.0.0+0xab6b)
#1 0x7f9b8fa8f4c8
(/usr/local/jdk-7u45-64/lib/amd64/jli/libjli.so+0xd4c8)
#2 0x7f9b8fa84589
(/usr/local/jdk-7u45-64/lib/amd64/jli/libjli.so+0x2589)
...
I tried to set ASAN_OPTIONS=handle_segv=0 as suggested by
https://code.google.com/p/address-sanitizer/issues/detail?id=58 but I got
the following error:
undefined symbol: __asan_option_detect_stack_use_after_return
Probably I got the wrong version of dynamic library? Do I need to build
ASAN by myself? I am trying other things and will report it back for more
findings.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.