public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65112] New: [5 Regression] -fsanitized=thread Fortran program crashes at startup Date: Wed, 18 Feb 2015 20:17:00 -0000 [thread overview] Message-ID: <bug-65112-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65112 Bug ID: 65112 Summary: [5 Regression] -fsanitized=thread Fortran program crashes at startup Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Current trunk leads to segfault with: > cat main.f90 END > gfortran -fsanitize=thread -fopenmp -gdwarf-3 -fPIE -pie -fno-omit-frame-pointer main.f90 ; ./a.out Segmentation fault the same goes fine with 4.9 gdb yields: Program received signal SIGSEGV, Segmentation fault. 0x00007ffff6fa8ac4 in TraceAddEvent (addr=140737336975177, typ=__tsan::EventTypeFuncEnter, fs=..., thr=0x7ffff61068c0) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.h:723 723 *evp = ev; (gdb) bt #0 0x00007ffff6fa8ac4 in TraceAddEvent (addr=140737336975177, typ=__tsan::EventTypeFuncEnter, fs=..., thr=0x7ffff61068c0) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.h:723 #1 __tsan::FuncEntry (thr=0x7ffff61068c0, pc=140737336975177) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.cc:913 #2 0x00007ffff6f5f763 in ScopedInterceptor::ScopedInterceptor (this=0x7fffffffd5e0, thr=0x7ffff61068c0, fname=<optimized out>, pc=140737336975177) at ../../../../gcc/libsanitizer/tsan/tsan_interceptors.cc:191 #3 0x00007ffff6f73722 in __interceptor___tls_get_addr (arg=0x7ffff6fff1e8) at ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:3871 #4 0x00007ffff6fa1f49 in ScopedIgnoreInterceptors (this=<synthetic pointer>) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.h:483 #5 __tsan::Initialize (thr=0x7ffff61068c0) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.cc:302 #6 0x00007ffff6f5f758 in ScopedInterceptor::ScopedInterceptor (this=0x7fffffffd6c0, thr=0x7ffff61068c0, fname=<optimized out>, pc=140737322699158) at ../../../../gcc/libsanitizer/tsan/tsan_interceptors.cc:190 #7 0x00007ffff6f5fc5e in __interceptor___cxa_atexit (f=0x7ffff6204830 <std::(anonymous namespace)::generic_error_category::~generic_error_category()>, arg=0x7ffff62f1530 <std::(anonymous namespace)::generic_category_instance>, dso=0x7ffff62f11e0) at ../../../../gcc/libsanitizer/tsan/tsan_interceptors.cc:321 #8 0x00007ffff6204996 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at ../../../../gcc/libstdc++-v3/src/c++11/compatibility-c++0x.cc:212 #9 _GLOBAL__sub_I_compatibility_c__0x.cc(void) () at ../../../../gcc/libstdc++-v3/src/c++11/compatibility-c++0x.cc:253 #10 0x00007ffff7dea64f in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2 #11 0x00007ffff7ddcb3a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #12 0x0000000000000001 in ?? () #13 0x00007fffffffdade in ?? () #14 0x0000000000000000 in ?? ()
next reply other threads:[~2015-02-18 20:17 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-18 20:17 Joost.VandeVondele at mat dot ethz.ch [this message] 2015-02-19 10:21 ` [Bug sanitizer/65112] " rguenth at gcc dot gnu.org 2015-02-20 14:06 ` jakub at gcc dot gnu.org 2015-02-25 21:34 ` mpolacek at gcc dot gnu.org 2015-02-26 17:23 ` mpolacek at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65112-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).