This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/79341] Many Asan tests fail on s390
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Feb 2017 13:26:17 +0000
- Subject: [Bug sanitizer/79341] Many Asan tests fail on s390
- Auto-submitted: auto-generated
- References: <bug-79341-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341
--- Comment #57 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
libsanitizer miscalculates the Pcs in the backtrace:
#0 0x1000839 in NullDeref
#1 0x10006c1 in main
#2 0x3fff6e23069 in __libc_start_main
#3 0x100073d
These are all odd addresses, pointing to the last byte of the previous
instruction. In case of null-deref-1.c that byte belongs to some
instrumentation code that is associated with line 11.