Updates:
Status: Accepted
Owner: [email protected]
Cc: [email protected] [email protected] [email protected]
Comment #1 on issue 327 by [email protected]: CHECK failed error in
pdfium_test binary
http://code.google.com/p/address-sanitizer/issues/detail?id=327
I can reproduce it.
ASAN_OPTIONS=report_globals=2 out/Release/pdfium_test a
==25590==Added Global: beg=0x7f08feeb8360 size=15/64 name=.str
module=../../third_party/libc++abi/trunk/src/exception.cpp dyn_init=0
==25590==Added Global: beg=0x7f08feeb83a0 size=19/64 name=.str1
module=../../third_party/libc++abi/trunk/src/exception.cpp dyn_init=0
==25590==Added Global: beg=0x7f08feedc100 size=40/96 name=_ZTVSt9exception
module=../../third_party/libc++abi/trunk/src/exception.cpp dyn_init=0
==25590==Added Global: beg=0x000001d03b01 size=13/64 name=_ZTSSt9exception
module=../../third_party/libc++abi/trunk/src/exception.cpp dyn_init=0
==25590==AddressSanitizer CHECK failed:
/usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_globals.cc:93 "((AddrIsAlignedByGranularity(g->beg))) !=
(0)" (0x0, 0x0)
The address of _ZTSSt9exception is clearly wrong.
% nm out/Release/pdfium_test | grep _ZTSSt9exception
0000000001d03b01 V _ZTSSt9exception
We force alignment of instrumented variables to 8, but this one ends
with ...01
bo_xu@, as a temporary workaround, please try
ASAN_OPTIONS=report_globals=0 out/Release/pdfium_test a
--
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.