Crashes on thread exit in shared library built with libc++
When an external shared library's thread exits, it crashes the engine with a signal 11 error from Fmalloc. But only if that library was compiled with libc++, ones made with libstdc++ are fine. Which would fix my problem, except that beacause UE uses libc++, in order for any function that takes a string as an input (or a vector or any other standard type) to be callable, the other library has to be compiled with libc++. The library works fine on it's own - it's something about how it connects to UE that causes the issue.
Full instructions and code to reproduce this is at https://github.com/thesilencelies/UEThreadBugMWE.git
Any ideas of a fix/workaround?
Follow this question
Once you sign in you will be able to subscribe for any updates here