Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: ahanins at gmail dot com
Created attachment 32208
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32208&action=edit
va_list corruption simple example
The
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59807
--- Comment #7 from Andrey H. ---
Kai, so what would be the fix?
IMHO, this bug is quite a show stopper for C++11 threading in Mingw-w64, so
maybe it worth to create a temporary patch for Mingw-w64 compilation with
pthreads support just to have a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59807
--- Comment #4 from Andrey H. ---
Thanks Jonathan, I followed your suggestion regarding os_defines.h, recompiled
the whole mingw-w64 toolchain and can confirm that it helps. But doesn't it
meant that it should be fixed in GCC sources itself (I mea
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59807
--- Comment #1 from Andrey H. ---
Simplest code which leaks handles on Windows:
for(;;) {
std::mutex op_mutex;
op_mutex.lock();
op_mutex.unlock();
}
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ahanins at gmail dot com
Hi,
Follow up to https://sourceforge.net/p/mingw-w64/bugs/376/
This is related to GTHR interface to pthread.
C++11 __mutex_base class does not