public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36242]  New: OpenMP multi-threading crashes
@ 2008-05-15  8:12 eilemann at gmail dot com
  2008-05-15  8:13 ` [Bug c++/36242] " eilemann at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: eilemann at gmail dot com @ 2008-05-15  8:12 UTC (permalink / raw)
  To: gcc-bugs

OpenMP crashes in gomp_resolve_num_threads when used concurrently from multiple
threads.

% g++-4.2 -v
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5553~4/src/configure --disable-checking
-enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin9 --program-prefix= --host=i686-apple-darwin9
--target=i686-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5553)


-- 
           Summary: OpenMP multi-threading crashes
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eilemann at gmail dot com
  GCC host triplet: Mac OS X 10.5.2, Intel Core 2 Duo 2.16GHZ, MacBook Pro
GCC target triplet: Mac OS X 10.5.2, Intel Core 2 Duo 2.16GHZ, MacBook Pro


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/36242] OpenMP multi-threading crashes
  2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
@ 2008-05-15  8:13 ` eilemann at gmail dot com
  2008-05-15  8:14 ` eilemann at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: eilemann at gmail dot com @ 2008-05-15  8:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from eilemann at gmail dot com  2008-05-15 08:12 -------
Created an attachment (id=15641)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15641&action=view)
the preprocessed file (*.i*) that triggers the bug,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/36242] OpenMP multi-threading crashes
  2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
  2008-05-15  8:13 ` [Bug c++/36242] " eilemann at gmail dot com
@ 2008-05-15  8:14 ` eilemann at gmail dot com
  2008-06-11 20:20 ` steven at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: eilemann at gmail dot com @ 2008-05-15  8:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from eilemann at gmail dot com  2008-05-15 08:13 -------
Created an attachment (id=15642)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15642&action=view)
Standalone test case - compile line within


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/36242] OpenMP multi-threading crashes
  2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
  2008-05-15  8:13 ` [Bug c++/36242] " eilemann at gmail dot com
  2008-05-15  8:14 ` eilemann at gmail dot com
@ 2008-06-11 20:20 ` steven at gcc dot gnu dot org
  2008-06-11 20:30 ` jakub at gcc dot gnu dot org
  2009-04-08 10:46 ` support at jawset dot com
  4 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2008-06-11 20:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from steven at gcc dot gnu dot org  2008-06-11 20:19 -------
Jakub is the OpenMP guru.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/36242] OpenMP multi-threading crashes
  2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
                   ` (2 preceding siblings ...)
  2008-06-11 20:20 ` steven at gcc dot gnu dot org
@ 2008-06-11 20:30 ` jakub at gcc dot gnu dot org
  2009-04-08 10:46 ` support at jawset dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-11 20:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2008-06-11 20:29 -------
Using OpenMP pragmas in multiple pthread_create created threads concurrently
isn't supported in 4.2/4.3.
There is a support for it on the trunk since a few days ago though.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/36242] OpenMP multi-threading crashes
  2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
                   ` (3 preceding siblings ...)
  2008-06-11 20:30 ` jakub at gcc dot gnu dot org
@ 2009-04-08 10:46 ` support at jawset dot com
  4 siblings, 0 replies; 6+ messages in thread
From: support at jawset dot com @ 2009-04-08 10:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from support at jawset dot com  2009-04-08 10:46 -------
(In reply to comment #4)
> Using OpenMP pragmas in multiple pthread_create created threads concurrently

It also crashes when using omp pragmas from a single pthread if it is not the
main thread.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36242


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-08 10:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-15  8:12 [Bug c++/36242] New: OpenMP multi-threading crashes eilemann at gmail dot com
2008-05-15  8:13 ` [Bug c++/36242] " eilemann at gmail dot com
2008-05-15  8:14 ` eilemann at gmail dot com
2008-06-11 20:20 ` steven at gcc dot gnu dot org
2008-06-11 20:30 ` jakub at gcc dot gnu dot org
2009-04-08 10:46 ` support at jawset dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).