NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/51139: C++11 std::call_once() broken on NetBSD



The following reply was made to PR lib/51139; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/51139: C++11 std::call_once() broken on NetBSD
Date: Sun, 15 May 2016 09:31:43 +0200

 Program received signal SIGSEGV, Segmentation fault.
 [Switching to LWP 2]
 0x0000000000000000 in ?? ()
 (gdb) bt
 #0  0x0000000000000000 in ?? ()
 #1  0x00007f7ff780692e in pthread_once (
     once_control=once_control@entry=0x601d00 <flag>, 
     routine=0x400d50 <__once_proxy@plt>)
     at /usr/src/lib/libpthread/pthread_once.c:63
 #2  0x00000000004010cb in __gthread_once (__func=<optimized out>, 
     __once=0x601d00 <flag>) at /usr/include/g++/bits/gthr-default.h:699
 #3  std::call_once<simple_do_once()::<lambda()> > (__once=..., 
     __f=<optimized out>) at /usr/include/g++/mutex:729
 #4  simple_do_once () at test.cc:9
 #5  0x00007f7ff74a6dab in std::(anonymous namespace)::execute_native_thread_routine (__p=<optimized out>)
     at /usr/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/thread.cc:84
 #6  0x00007f7ff780b1c1 in pthread__create_tramp (cookie=0x7f7ff7b19000)
     at /usr/src/lib/libpthread/pthread.c:576
 
 Name clash on weak symbols between libpthread and libstdc++ ?
 
 Martin
 


Home | Main Index | Thread Index | Old Index