Bug 261360 - graphics/art: Crashes with OPENMP=ON when hidden helper threads are enabled
Summary: graphics/art: Crashes with OPENMP=ON when hidden helper threads are enabled
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
URL: https://reviews.llvm.org/D77609
Keywords: crash, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2022-01-20 17:31 UTC by Yuri Victorovich
Modified: 2023-03-09 00:48 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (toolchain)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-01-20 17:31:47 UTC
The port graphics/art crashes in run-time when built with OPENMP=ON (rev. 695bbdaf28d956bdb9f274343dd8a5ca5713a796).
Adding the environment variable LIBOMP_NUM_HIDDEN_HELPER_THREADS=0 in the run-time eliminates the crash.


Discussion about addition of hidden helper threads: https://reviews.llvm.org/D77609
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-02-04 05:16:42 UTC
Even with LIBOMP_NUM_HIDDEN_HELPER_THREADS=0 the executable now asserts:
> OMP: Error #13: Assertion failure at kmp_runtime.cpp(3689).
> OMP: Hint Please submit a bug report with this message, compile and run commands used, and machine configuration info including native compiler and operating system versions. Faster response will be obtained by including all program sources. For information on submitting this issue, please see https://bugs.llvm.org/.
> Abort trap
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-03-09 00:48:31 UTC
The problem doesn't occur any more.