Public bug reported:
Consider the following code:
# cat test.c
int main()
{
return 0;
}
Now compile it with clang-3.5 and -fsanitize=thread option and run:
# clang-3.5 -fsanitize=thread -fPIE -pie test.c
# ./a.out
FATAL: ThreadSanitizer can not mmap the shadow memory (something is mapped at
0x5650b0bb2000 < 0x7cf000000000)
FATAL: Make sure to compile with -fPIE and to link with -pie.
# uname -a
Linux mikhin2 3.19.0-41-generic #46~14.04.2-Ubuntu SMP Tue Dec 8 17:46:10 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux
This regression appears in 3.19.0-41-generic kernel. The example above
runs fine (without FATAL errors) with previous 3.19.0-39-generic
kernel.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.19.0-41-generic 3.19.0-41.46~14.04.2
ProcVersionSignature: Ubuntu 3.19.0-39.44~14.04.1-generic 3.19.8-ckt9
Uname: Linux 3.19.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: XFCE
Date: Fri Dec 18 14:53:45 2015
InstallationDate: Installed on 2015-12-14 (4 days ago)
InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: linux-lts-vivid
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: linux-lts-vivid (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1527599
Title:
applications compiled with tsan (-fsanitize=thread) option fails to
start with 3.19.0-41-generic kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-vivid/+bug/1527599/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs