[LLVMbugs] [Bug 12158] sig 11 sometimes when accessing std::cout from multiple threads.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 30 11:58:33 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=12158

Seth <seth.cantrell at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Seth <seth.cantrell at gmail.com> ---
Ah, I had thought that the `-nostdinc -L ... -lc++` when linking were enough.

If I set DYLD_LIBRARY_PATH like so:

for i in {1..100}; do DYLD_LIBRARY_PATH=/Users/socantre/Programming/libcxx/lib
./a.out > /dev/null; done

then the program appears to run reliably.

-- 
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/20130630/38f74b46/attachment.html>


More information about the llvm-bugs mailing list