[Bug libstdc++/47354] bitmap_allocator free_list::_M_get never locks mutex

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 19 02:27:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47354

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-19 01:31:12 UTC ---
Confirmed by modifying __gnu_cxx::__mutex to use
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP to initialize the mutex:

$ lib0x ./var
terminate called after throwing an instance of
'__gnu_cxx::__concurrence_unlock_error'
  what():  __gnu_cxx::__concurrence_unlock_error
Aborted (core dumped)



More information about the Gcc-bugs mailing list