Bug#796246: FATAL: ThreadSanitizer: unexpected memory mapping
Package: src:linux
Version: 4.1.5-1
Severity: normal
Dear Maintainer,
Starting with 4.1.3-1 I'm no longer able to use ThreadSanitizer:
$ echo 'void main(void){}' | gcc -pie -fPIE -fsanitize=thread -xc - && ./a.out
FATAL: ThreadSanitizer: unexpected memory mapping 0x55d400945000-0x55d40094600
I don't know if this is a gcc or Linux bug but downgrading Linux to 4.0.8-2 or
3.16.7-ckt11-1 fix the problem. The problem can be reproduced with both gcc 4.9.3
and gcc 5.2.1.
Regards,
Jerome
-- Package-specific info:
** Version:
Linux version 4.1.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 4.9.3 (Debian 4.9.3-3) ) #1 SMP Debian 4.1.5-1 (2015-08-15)
** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.1.0-2-amd64 root=UUID=7651a4db-645c-41f9-b4ac-87c01b92e03d ro quiet
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-4.1.0-2-amd64 depends on:
ii debconf [debconf-2.0] 1.5.57
ii initramfs-tools [linux-initramfs-tool] 0.120
ii kmod 21-1
ii linux-base 4.0
Versions of packages linux-image-4.1.0-2-amd64 recommends:
ii firmware-linux-free 3.4
pn irqbalance <none>
Versions of packages linux-image-4.1.0-2-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 2.02~beta2-26
pn linux-doc-4.1 <none>
Versions of packages linux-image-4.1.0-2-amd64 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
pn firmware-linux <none>
ii firmware-linux-nonfree 0.44
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
ii firmware-realtek 0.44
pn xen-hypervisor <none>
-- debconf information:
linux-image-4.1.0-2-amd64/postinst/mips-initrd-4.1.0-2-amd64:
linux-image-4.1.0-2-amd64/prerm/removing-running-kernel-4.1.0-2-amd64: true
linux-image-4.1.0-2-amd64/postinst/depmod-error-initrd-4.1.0-2-amd64: false
Reply to: