Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unittest crash on macOS 10.14 #651

Closed
rainman110 opened this issue Dec 17, 2019 · 2 comments
Closed

Unittest crash on macOS 10.14 #651

rainman110 opened this issue Dec 17, 2019 · 2 comments

Comments

@rainman110
Copy link
Collaborator

The azure pipeline on macOS crashed running the unit tests:
https://dev.azure.com/DLR-SC/tigl/_build/results?buildId=120&view=logs&j=5b08ef7f-a1c3-507b-61aa-990725944352&t=17da43bf-c8b7-5525-58dd-721403c11888&l=385

I could reproduce this error in an macOS 10.14 VM. The error seems to come from the exception handling machanism and is similar to the following issue:
lastpass/lastpass-cli#447

Somehow, some object is beeing freed in a wrong way during stack unwinding.

A minimal example is required to completely understand the origin of this issue, but I suspect the origin to be in OCCT.

@rainman110
Copy link
Collaborator Author

Rebuilding oce / occt on macOS 10.14 with the native compilers fixes this problem, but this is not a true solution for our problem. I am trying to figure out, what the actual problem is.

@rainman110
Copy link
Collaborator Author

This issue seems to come from mixing different compilers.

A good solution is to simply switch to the macOS 10.13 image in the azure builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant