Hi! While trying to debug some problems that were only occurring in CI, I tried adding debug spew to the affected tests by having them repeatedly call
swift_reportError to display a backtrace at certain events. This appears to eventually cause malloc corruption or segfaults after a number of messages, as in this CI run:
Looking at the source, I see that on ELF-based platforms we implement
_Unwind_Backtrace instead of libbacktrace. I'm not familiar with this API; is it being used correctly?