public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/61798] New: OpenMP exit code 155, profiling related?
@ 2014-07-14 10:16 kessler at iag dot uni-stuttgart.de
  2015-01-29  9:37 ` [Bug libgomp/61798] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kessler at iag dot uni-stuttgart.de @ 2014-07-14 10:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61798

            Bug ID: 61798
           Summary: OpenMP exit code 155, profiling related?
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kessler at iag dot uni-stuttgart.de
                CC: jakub at gcc dot gnu.org

I have got an OpenMP program (written in C++) up and running. However, when
running my test suite of 43 cases for profiling (with -pg, it's CFD flow solver
running in batch mode), some (usually 2-3) cases fail with an exit code of 155
-after- full completion of my code (that is, after return 0; in main). This
only happens if several codes run in parallel on the same machine (this
capability of the test script is from before the OpenMP parallelisation
effort), and even then not always, and with varying cases, so I am quite
confident it is not primarily a bug in my code.
>From scanning the output I have seen a message from the shell, apparently
catching a SIGPROF, which seems reasonable as I have profiling enabled, but
probably should not propagate outside the executable. I have never seen this
problem with profiling in non-OpenMP mode.
Unfortunately I can not share my code, but I think it is not related to the
user code anyway, but perhaps some race condition in the interaction between
profiling and OpenMP at program exit?

Thanks for shedding some light on this bizarre situation.

Ciao,

    Manuel


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

end of thread, other threads:[~2021-12-29  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14 10:16 [Bug libgomp/61798] New: OpenMP exit code 155, profiling related? kessler at iag dot uni-stuttgart.de
2015-01-29  9:37 ` [Bug libgomp/61798] " jakub at gcc dot gnu.org
2015-01-29  9:41 ` pinskia at gcc dot gnu.org
2015-01-29 14:43 ` kessler at iag dot uni-stuttgart.de
2021-12-29  7:41 ` pinskia at gcc dot gnu.org

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).