[llvm-bugs] [Bug 49066] New: Detached task with child tasks can deadlock in omp_fulfill_event

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 5 15:37:41 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49066

            Bug ID: 49066
           Summary: Detached task with child tasks can deadlock in
                    omp_fulfill_event
           Product: OpenMP
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Runtime Library
          Assignee: unassignedbugs at nondot.org
          Reporter: protze at itc.rwth-aachen.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 24487
  --> https://bugs.llvm.org/attachment.cgi?id=24487&action=edit
reproducer

Executing the attached code with more than 4 thread leads to all threads
waiting in a while loop in 
/w0/pj416018/llvm-project/openmp/runtime/src/kmp_tasking.cpp:3808

As I understand the related runtime code, the runtime assumes that there are no
child tasks left at this point.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210205/fdfbf0e9/attachment.html>


More information about the llvm-bugs mailing list