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

The app crashed! Nothing will work now; you have to refresh the page. #1005

Closed
louwers opened this issue Oct 9, 2022 · 2 comments · Fixed by #1062
Closed

The app crashed! Nothing will work now; you have to refresh the page. #1005

louwers opened this issue Oct 9, 2022 · 2 comments · Fixed by #1062

Comments

@louwers
Copy link

louwers commented Oct 9, 2022

panicked at 'called `Result::unwrap()` on an `Err` value: Line from Pt2D { x: 5857.4217, y: 4813.787 } to Pt2D { x: 5857.4205, y: 4813.7771 } too small', geom/src/line.rs:25:29

To reproduce go to the following URL: https://play.abstreet.org/0.3.34/osm_viewer.html?system/nl/groningen/maps/huge.bin&--cam=19.31/53.21590/6.56499

@dabreegster
Copy link
Collaborator

dabreegster commented Oct 13, 2022

With RUST_BACKTRACE=1 locally, more info:

   3: geom::line::Line::must_new
   4: geom::polyline::PolyLine::last_line
   5: map_model::objects::lane::Lane::end_line
   6: map_gui::render::intersection::calculate_corners
   7: <map_gui::render::intersection::DrawIntersection as map_gui::render::Renderable>::draw

a polyline should get checked so that this is impossible, so let's see what's happening...

@dabreegster
Copy link
Collaborator

OK, this was fixed "properly" by #1063, will be in the next release!

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

Successfully merging a pull request may close this issue.

2 participants