[LLVMbugs] [Bug 15431] pthread_key_create aborts program instead of returning an error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 5 12:13:28 PST 2013


Marshall Clow (home) <mclow.lists at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Marshall Clow (home) <mclow.lists at gmail.com> ---
The exception is being thrown correctly; but in this case, the resources that
the system needs to catch the exception (a pthread_key) have been exhausted.

There's not much that we can do here.

There is code in libc++abi to use thread-local storage instead of a pthread-key
for the globals, but that's not what Apple is shipping on Mac OS X.

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/20131205/91c27ce1/attachment.html>

More information about the llvm-bugs mailing list