This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]