https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62022
Bug ID: 62022 Summary: [4.10 regression] 27_io/basic_ofstream/pthread2.cc FAILs Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Host: *-*-solaris2.1[01] Target: *-*-solaris2.1[01] Build: *-*-solaris2.1[01] Between 20140725 (r213049) and 20140801 (r213453), 27_io/basic_ofstream/pthread2.cc started to FAIL on Solaris: FAIL: 27_io/basic_ofstream/pthread2.cc execution test (both 32 and 64-bit, sparc and x86, Solaris 10 and 11): Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2 (LWP 2)] 0xfe4b2a26 in realfree () from /lib/libc.so.1 (gdb) where #0 0xfe4b2a26 in realfree () from /lib/libc.so.1 #1 0xfe4b30f7 in cleanfree () from /lib/libc.so.1 #2 0xfe4b2509 in _malloc_unlocked () from /lib/libc.so.1 #3 0xfe4b2400 in malloc () from /lib/libc.so.1 #4 0xfe718c26 in operator new (sz=324) at /vol/gcc/src/hg/trunk/local/libstdc++-v3/libsupc++/new_op.cc:50 #5 0x0805138d in thread_main () at /vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/27_io/basic_ofstream/pthread2.cc:36 #6 0xfe516a4c in _thrp_setup () from /lib/libc.so.1 #7 0xfe516cf0 in ?? () from /lib/libc.so.1 #8 0x00000000 in ?? () Only happens with current libstdc++.so, ok with 4.8 one provided by vendor. Rainer