Skip to content

Crashes when reading the body in Release configurations #96

@ArnaudWurmel

Description

@ArnaudWurmel

Description of the issue

We are using Embassy to mock our internals API for testing purposes and since we are upgrading our environment (Xcode 11.3.1 to Xcode 12.4) we are experiencing some bugs in our tests in release configuration.

After digging into the issue, we cloned the repository and try to run the unit tests in release and it seems that the library's tests are having the same issue as we do, the tests on the body features are crashing in release (HTTPServerTests.testPostBody(), HTTPServerTests.testPostWithInitialBody() for instance).

SelectorEventLoop+177
Capture d’écran 2021-04-22 à 14 17 49

Has anyone experiencing this during the transition to Xcode 12?

Environment

macOS Big Sur 11.2.3 (intel)
Xcode 12.4 (12D4e)
Embassy 4.1.3

Reproduction

Run these unit tests in release configuration:

  • HTTPServerTests.testPostBody()
  • HTTPServerTests.testPostWithInitialBody()

Both tests shall fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions