-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
Odin run randomly crashes before running program #4657
Comments
This is not really actionable, as is there is nothing to go on. Maybe you could provide a stack trace of where it happens, this can be achieved by running the |
How would you run |
You could also provide the code it happens on if it's open source so we can do these things instead. |
You set Even if you can't reliably reproduce it, can you narrow things down some? It would be helpful to know the frequency with which it happens. Did it start recently, or has it also occurred with older Odin versions or on Windows 10? Is this on small Odin programs, large ones, or is there's no pattern to the things you've tried to compile this happens with? |
Also,
This says nothing about |
Thanks. I'll try to get to the bottom of this but it may be hard and take long because it happens very randomly and it's not frequent. I even set up a script to run
Low frequency. It has been happening for a long time, on other versions of Odin. Only on Windows 11 AFAIK. I've also developed on a Mac but I haven't seen that happen there.
I only remember it happening while working on my NES project.
I think we can rule that one out because in the example given, |
One thing you could also do is to add |
That's self-contradictory? If it crashes before reporting the compilation error, it can't have reported the compilation error. By necessity the crash must've happened after sending that to stderr. This might be cmd.exe sending its message of misery to stdout, followed by what remained in stderr. They probably do this to aid in finding what caused said misery. |
The output shown is of 2 separate task invocations. The first one crashed before outputting the compilation errors. |
Ah, you're right. So the first time it crashed, while the second time it gave a compilation error. Sorry, I'm tired. I missed the second In any event, I think your best bet might be |
Context
Expected Behavior
To not crash
Current Behavior
odin run
randomly crashes, sometimes before even reporting compiler errorsFailure Information (for bugs)
Steps to Reproduce
I can't get it to reproduce reliably. It happens randomly.
The text was updated successfully, but these errors were encountered: