A trivial program with an OMP'ed loop *inside* a pthread does crash at libgomp.h:380 where gomp_thread()->task becomes NULL->task.
mingw32 on xp is (with my installation) an installation where TLS (thread local storage) is inop. Hence the pthread_get_specific() and family are used. I suspect there to be a problem. -- Summary: OMP'ed loop inside pthread leads to crash. Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jos dot de_laender at telenet dot be GCC build triplet: mingw32 on xp GCC host triplet: mingw32 on xp GCC target triplet: mingw32 on xp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42616