[Bug libstdc++/67791] New: Crash using std::thread and iostream with dynamic loading of a shared library

2015-09-30 Thread nexyon at gmail dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: nexyon at gmail dot com Target Milestone: --- Created attachment 36430 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36430&action=edit the source of the

[Bug libstdc++/67791] Crash using std::thread and iostream with dynamic loading of a shared library

2015-09-30 Thread nexyon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67791 --- Comment #1 from nexyon at gmail dot com --- Created attachment 36431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36431&action=edit the source of the main program

[Bug libstdc++/67791] Crash using std::thread and iostream with dynamic loading of a shared library

2015-10-01 Thread nexyon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67791 --- Comment #4 from nexyon at gmail dot com --- Thanks for the quick responses! I already expected some sort of side effect like this. Maybe it's possible to reevaluate whether pthread is linked or not during the first use of std::thread? I