From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31880 invoked by alias); 4 Jan 2010 19:58:59 -0000 Received: (qmail 31851 invoked by uid 48); 4 Jan 2010 19:58:47 -0000 Date: Mon, 04 Jan 2010 19:58:00 -0000 Subject: [Bug libgomp/42616] New: OMP'ed loop inside pthread leads to crash. X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jos dot de_laender at telenet dot be" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg00447.txt.bz2 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