-
Notifications
You must be signed in to change notification settings - Fork 326
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 RuntimeError: unreachable #6871
Comments
don't think i can repro unfortunately... the downloads might be too slow to be able to repro it. this seems to be the line mentioned in the error: enso/app/gui/view/graph-editor/src/lib.rs Line 1096 in 86432b5
a bit weird though as the code was last changed 3 years ago so not sure how likely it is to be a bug in the code |
Having some |
The unreachable error is definitely caused by rust panic, and in of itself can be ignored. So it is likely a rogue The sorted_xs.sort_unstable_by(|a, b| a.partial_cmp(b).unwrap());
sorted_ys.sort_unstable_by(|a, b| a.partial_cmp(b).unwrap()); Which means the The enso/app/gui/view/graph-editor/src/new_node_position.rs Lines 69 to 70 in 7e6a919
I'm not too familiar with this algorithm, but did a quick scan of what's going on there anyway. I found that I can't find any obvious places where a |
@Frizi thanks for the investigation. It seems that someone needs to just print their values to console and investigate where the NaNs are created and why. Fixing the source is the first step, but the fix should also contain some code preventing it from crashing even if NaNs occur. |
I think we should use |
I'm guessing this is a duplicate, right? For reference, reproducible on this project all the time for me: Although it kind of feels like a regression because it worked a few days ago. |
@hubertp from a cursory glance it seems like the root cause is different? seems to be an |
OK, reported as #6952 |
Not relevant to GUI2 (no panics on Nan-s there) |
After opening the cloud project and hitting tab to open searcher I am getting
RuntimeError: unreachable
in the console.The project seems to work fine though.
It was the 2nd project opened in the session meaning the dashboard dropped previous Enso reference and created new one. Maybe it's due to this issue? #6505
cc @farmaazon @wdanilo @somebody1234
The text was updated successfully, but these errors were encountered: