Skip to content

Runtime Crash at "__swift_instantiateConcreteTypeFromMangledName" #74303

Open
@MahdiBM

Description

@MahdiBM

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_TOKEN as an env var with any value, and run the testGateway() test.

Stack dump

Screenshot 2024-06-11 at 10 31 57 PM

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwareruntimeThe Swift Runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions