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)

Reply via email to