https://bugs.llvm.org/show_bug.cgi?id=34976
Bug ID: 34976
Summary: Use of 'concurrency::parallel_for_each' with the
Multi-threaded Debug (/MTd) run-time library causes
unhandled exceptions on program exit
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Support Libraries
Assignee: unassignedb...@nondot.org
Reporter: gbrey...@gmail.com
CC: llvm-bugs@lists.llvm.org
Use of 'parallel_for_each' when compiling with the Visual C++ Compiler uses the
Windows Concurrency Library. We have found that when compiling with /MTd, the
use of 'concurrency::parallel_for_each' can cause unhandled exceptions when the
program is exiting.
This is problematic when debugging or testing.
This issue does not occur when compiling to release or DLL run-time libraries,
and the issue has been raised with Microsoft. However in the meantime we
suggest the removal of this MSVC specific functionality and use the generic
implementation.
To reproduce this issue consistently:
- Create an an executable with calls to 'parallel_for_each'
- Run executable multiple times in parallel
- The exit codes will be as below:
-1073741819 = C0000005 = Access Violation exception
See attached files for example
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs