>> Let me run it in debugger for you, okay? (gcc 4.7.2 under Linux):
>>
>> #0  0x00007ffff7538425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
>> #1  0x00007ffff753bb8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
>> #2  0x00007ffff7b37e2d in __gnu_cxx::__verbose_terminate_handler() ()
>> from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> #3  0x00007ffff7b35f26 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> #4  0x00007ffff7b35f53 in std::terminate() () from
>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> #5  0x00007ffff7b3617e in __cxa_throw () from
>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> #6  0x00007ffff7b890cc in std::__throw_system_error(int) () from
>> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> #7  0x000000000040141e in
>> std::call_once<Base::instance()::{lambda()#1}>(std::once_flag&,
>> Base::instance()::{lambda()#1}&&)
>>       (__once=..., __f=...) at /usr/include/c++/4.7/mutex:827
>> #8  0x0000000000400edc in Base::instance () at a.cc:61
>> #9  0x0000000000400ccb in main () at a.cc:220
>>
> It crashes in Linux too?
Yep.

I would therefore guess it is not mingw-specific, though I can't 
investigate more for now. (Clang does not compile that code at all, so I 
can't try that one.)

Cheers, Vaclav


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to