[Bug sanitizer/85477] IO_old_cookie_seek is called instead of _IO_cookie_seek when compiled with -fsanitize=address
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 20 08:53:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85477
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
It's dup. With the fix I see:
$ gcc -m32 -fsanitize=undefined,address pr85477.c && ./a.out
ASAN:DEADLYSIGNAL
=================================================================
==24720==ERROR: AddressSanitizer: SEGV on unknown address 0xf7fe82f0 (pc
0xf7fe8304 bp 0xf7b5c320 sp 0xffffcdec T16777215)
==24720==The signal is caused by a WRITE memory access.
#0 0xf7fe8303 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x12303)
#1 0xf7acce69 (/usr/lib/libasan.so.4+0x104e69)
#2 0xf7ab8a65 (/usr/lib/libasan.so.4+0xf0a65)
#3 0xf7fe5c7a in _dl_init (/lib/ld-linux.so.2+0xfc7a)
#4 0xf7fd6cb9 (/lib/ld-linux.so.2+0xcb9)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/ld-linux.so.2+0x12303) in
_dl_get_tls_static_info
==24720==ABORTING
*** This bug has been marked as a duplicate of bug 84761 ***
More information about the Gcc-bugs
mailing list