a-b-street/abstreet

Crash when clicking on a parking lot

Closed this issue · 3 comments

panicked at 'already mutably borrowed: BorrowError', /home/dabreegster/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.27.0/src/platform_impl/web/event_loop/runner.rs:509:30

Thanks for reporting! Could you help us reproduce this -- what map, did you start a traffic sim in any special way, etc?

play.abstreet.org_0.3.46_abstreet.html.-.Google.Chrome.2023-09-20.12-30-08.mp4

Thanks for reporting! The problem was "prebaked" simulation data covering this map and scenario without any edits. It had gone out of date; I've been bad about regenerating this lately, because the simulation on this map crashes. (#996) I've removed the prebaked data, so this crash will be fixed in the next release, though the traffic simulation will still crash elsewhere.