-
Notifications
You must be signed in to change notification settings - Fork 27
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
PRIORITY - Segmentation fault on release build #80
Comments
this only affects release builds, on debug builds it runs as expected |
BTW i'm using nightly rust |
tried stable as well, it's fair to say this is definitely coming from lunex cargo +stable --version |
i'm using windows 11 pro Version 10.0.22631 Build 22631, |
turn's out it was somehow the fault of my fork of bevy_asset_loader that i used as a dylib (i didn't use any code from that crate in the test, the code above is all i used, but having it in dependencies was enough to segfault), after removing crate-type = "dylib" from it i no longer get a segfault, although i still have no clue how it interferes with lunex :/ |
how to replicate:
run this code with a release build
result:
error: process didn't exit successfully:
target\release\game_name.exe
(exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)Segmentation fault
The text was updated successfully, but these errors were encountered: