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
uncaught exception reached top of stack #4588
Comments
|
If it reproduces, you can use dustmite (you'll have to write a simple script) and then just let the PC do the work for you (walk away from the machine ;)). |
After 16+ hours dustmite finished. Unfortunately the reduced test case is for another exception, but the result is still the same: I'll try to manually reduce it further. [1] dstep.zip |
I've managed to reduce it further, but it still depends on libclang. |
When I run the tests for DStep, one of them crashes with the following output:
The test that is causing the crash is this [1]. The test uses
assertThrown
to verify that an exception is thrown. ButassertThrown
fails to catch the exception.This seems to only happen using macOS ARM64. It doesn't happen on FreeBSD, Linux, macOS or Windows on x86-64. I haven't tested any other operating systems on ARM64, so it could be a problem with ARM64 in general.
I don't have a reduced test case. Throwing and catching an exception works fine in isolation. Any tips on how to debug this issue to be able to provide more information or come up with a reduced test case?
[1] https://github.com/jacob-carlborg/dstep/blob/55412291a9628299a17348b7462b80602411e4a2/tests/unit/UnitTests.d#L931
The text was updated successfully, but these errors were encountered: