swift: Runtime Crash at "__swift_instantiateConcreteTypeFromMangledName"
Description
DiscordBM crashes at __swift_instantiateConcreteTypeFromMangledName.
Reproduction
- Clone DiscordBM.
- On CLI run
BOT_TOKEN=aaaaaa swift test --filter IntegrationTests.DiscordClientTests.testGateway. - Or on Xcode add
BOT_TOKENas an env var with any value, and run thetestGateway()test.
Stack dump
<kbd>Expected behavior
No crash.
Environment
- macOS 14 + Swift 5.10 + Xcode 15.4.
- macOS 15 + Swift 6 + Xcode 16.
Not reproducible on Linux.
Additional information
No response
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 30 (9 by maintainers)
@mikeash I downgraded to Xcode 15.3 and I verified the with
otool -lthat the@rpathis now correct but I am still getting a crash:Here’s the output of
otool -l:Any ideas of what else might be wrong? I don’t know how to confirm I have fixed the crash without access to a system with the issue
I believe this could be the same issue: https://github.com/apple/swift/issues/74333