Skip to content

Instantly share code, notes, and snippets.

@XioNoX
Created August 22, 2023 19:56
Show Gist options
  • Save XioNoX/7e2cf2d27f83247c645a53062a0bd378 to your computer and use it in GitHub Desktop.
Save XioNoX/7e2cf2d27f83247c645a53062a0bd378 to your computer and use it in GitHub Desktop.
abstreet crash thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Ring has repeat non-adjacent points near Pt2D(11564.9776, 9252.0435)', geom/src/ring.rs:72:24
abstreet_linux_v0_3_45$ RUST_BACKTRACE=full ./binaries/game
[2023-08-22T19:52:07Z WARN map_gui::options] Couldn't restore settings, so using defaults. data/player/settings.json
setup widgetry...
[2023-08-22T19:52:07Z WARN widgetry::runner] Monitor scale factor is 1, screen window is 800, but the application requires 1500. Overriding the scale factor to 1.
setup app...
load default texture...
[2023-08-22T19:52:07Z INFO widgetry::backend_glow] img_size: 896x896px (802816 px), sprite_size: 64x64px, sprites: 14x14 (196 sprites)
load default texture took 0.0126s
create blank sim...
create blank sim took 0.0016s
[2023-08-22T19:52:07Z INFO abstutil::time] - create blank sim took 0.0016s
[2023-08-22T19:52:07Z INFO map_gui::render::map] static DrawMap consumes 0 MB on the GPU
setup app... plus 0.0024s
setup app took 0.0150s
setup widgetry... plus 0.0496s
setup widgetry took 0.0646s
[2023-08-22T19:52:07Z INFO abstutil::time] - setup widgetry took 0.0646s
[2023-08-22T19:52:07Z INFO abstutil::time] - setup app took 0.0150s
[2023-08-22T19:52:07Z INFO abstutil::time] - load default texture took 0.0126s
[2023-08-22T19:52:07Z INFO abstutil::time] - ... plus 0.0024s
[2023-08-22T19:52:07Z INFO abstutil::time] - ... plus 0.0496s
load data/system/zz/oneshot/maps/brest-metropole.bin...
Read data/system/zz/oneshot/maps/brest-metropole.bin (78)... 0.5893s
[2023-08-22T19:52:08Z WARN map_model::objects::movement] Weird movement geometry at Intersection #212: PL with total length 1.1478m and 6 pts has dupe non-adjacent pts
generate movements (28,737)... 0.0640s
create blank sim...
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #23040 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #23042 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #23073 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142208 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142210 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142240 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142242 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142272 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #142274 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #696576 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #696578 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757376 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757378 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757408 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757410 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757440 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #757442 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #1029632 has no sidewalk!
[2023-08-22T19:52:08Z WARN sim::mechanics::parking] Parking lane Lane #1029664 has no sidewalk!
setup offstreet parking (85,996)... 0.0271s
create blank sim... plus 0.0594s
create blank sim took 0.0865s
[2023-08-22T19:52:08Z INFO abstutil::time] - create blank sim took 0.0865s
[2023-08-22T19:52:08Z INFO abstutil::time] - setup offstreet parking (85,996)... 0.0271s
[2023-08-22T19:52:08Z INFO abstutil::time] - ... plus 0.0594s
draw_map...
make DrawRoads (39,083)... 0.1353s
make DrawIntersections (28,737)... 0.0072s
generate unzoomed roads and intersections...
generate unzoomed roads and intersections took 1.1686s
make DrawBuildings (85,996)... 0.4467s
upload all buildings...
upload all buildings took 0.0894s
make DrawParkingLot...
make DrawParkingLot took 0.0076s
make DrawAreas (3,386)... 0.0119s
upload all areas...
upload all areas took 0.0022s
create quadtree...
create quadtree took 0.1186s
[2023-08-22T19:52:10Z INFO map_gui::render::map] static DrawMap consumes 0 MB on the GPU
draw_map... plus 0.0499s
draw_map took 2.0374s
load data/system/zz/oneshot/maps/brest-metropole.bin... plus 0.1437s
load data/system/zz/oneshot/maps/brest-metropole.bin took 2.8344s
[2023-08-22T19:52:10Z INFO abstutil::time] - load data/system/zz/oneshot/maps/brest-metropole.bin took 2.8344s
[2023-08-22T19:52:10Z INFO abstutil::time] - Read data/system/zz/oneshot/maps/brest-metropole.bin (78)... 0.5893s
[2023-08-22T19:52:10Z INFO abstutil::time] - generate movements (28,737)... 0.0640s
[2023-08-22T19:52:10Z INFO abstutil::time] - draw_map took 2.0374s
[2023-08-22T19:52:10Z INFO abstutil::time] - make DrawRoads (39,083)... 0.1353s
[2023-08-22T19:52:10Z INFO abstutil::time] - make DrawIntersections (28,737)... 0.0072s
[2023-08-22T19:52:10Z INFO abstutil::time] - generate unzoomed roads and intersections took 1.1686s
[2023-08-22T19:52:10Z INFO abstutil::time] - make DrawBuildings (85,996)... 0.4467s
[2023-08-22T19:52:10Z INFO abstutil::time] - upload all buildings took 0.0894s
[2023-08-22T19:52:10Z INFO abstutil::time] - make DrawParkingLot took 0.0076s
[2023-08-22T19:52:10Z INFO abstutil::time] - make DrawAreas (3,386)... 0.0119s
[2023-08-22T19:52:10Z INFO abstutil::time] - upload all areas took 0.0022s
[2023-08-22T19:52:10Z INFO abstutil::time] - create quadtree took 0.1186s
[2023-08-22T19:52:10Z INFO abstutil::time] - ... plus 0.0499s
[2023-08-22T19:52:10Z INFO abstutil::time] - ... plus 0.1437s
apply edits...
apply edits took 0.0000s
[2023-08-22T19:52:31Z INFO abstutil::time] - apply edits took 0.0000s
Pathfinding slowly for PathRequest(13.6147m along Lane #1207041... to 46.8943m along Lane #699426 for Bike) with custom params...
prepare pathfinding for just Bike...
prepare pathfinding for just Bike took 0.0796s
Pathfinding slowly for PathRequest(13.6147m along Lane #1207041... to 46.8943m along Lane #699426 for Bike) with custom params... plus 0.0001s
Pathfinding slowly for PathRequest(13.6147m along Lane #1207041... to 46.8943m along Lane #699426 for Bike) with custom params took 0.0797s
[2023-08-22T19:52:32Z INFO abstutil::time] - Pathfinding slowly for PathRequest(13.6147m along Lane #1207041... to 46.8943m along Lane #699426 for Bike) with custom params took 0.0797s
[2023-08-22T19:52:32Z INFO abstutil::time] - prepare pathfinding for just Bike took 0.0796s
[2023-08-22T19:52:32Z INFO abstutil::time] - ... plus 0.0001s
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Ring has repeat non-adjacent points near Pt2D(11564.9776, 9252.0435)', geom/src/ring.rs:72:24
stack backtrace:
0: 0x5588109bbe81 - std::backtrace_rs::backtrace::libunwind::trace::h6aeaf83abc038fe6
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x5588109bbe81 - std::backtrace_rs::backtrace::trace_unsynchronized::h4f9875212db0ad97
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x5588109bbe81 - std::sys_common::backtrace::_print_fmt::h3f820027e9c39d3b
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/sys_common/backtrace.rs:65:5
3: 0x5588109bbe81 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hded4932df41373b3
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/sys_common/backtrace.rs:44:22
4: 0x5588109e7b1f - core::fmt::rt::Argument::fmt::hc8ead7746b2406d6
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/fmt/rt.rs:138:9
5: 0x5588109e7b1f - core::fmt::write::hb1cb56105a082ad9
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/fmt/mod.rs:1094:21
6: 0x5588109b75b1 - std::io::Write::write_fmt::h797fda7085c97e57
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/io/mod.rs:1713:15
7: 0x5588109bbc95 - std::sys_common::backtrace::_print::h492d3c92d7400346
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/sys_common/backtrace.rs:47:5
8: 0x5588109bbc95 - std::sys_common::backtrace::print::hf74aa2eef05af215
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/sys_common/backtrace.rs:34:9
9: 0x5588109bd1b7 - std::panicking::default_hook::{{closure}}::h8cad394227ea3de8
10: 0x5588109bcfa4 - std::panicking::default_hook::h249cc184fec99a8a
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:288:9
11: 0x5588109bd66c - std::panicking::rust_panic_with_hook::h82ebcd5d5ed2fad4
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:705:13
12: 0x5588109bd567 - std::panicking::begin_panic_handler::{{closure}}::h810bed8ecbe66f1a
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:597:13
13: 0x5588109bc2b6 - std::sys_common::backtrace::__rust_end_short_backtrace::h1410008071796261
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/sys_common/backtrace.rs:151:18
14: 0x5588109bd2b2 - rust_begin_unwind
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:593:5
15: 0x55880f7ec553 - core::panicking::panic_fmt::ha0a42a25e0cf258d
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/panicking.rs:67:14
16: 0x55880f7ec9f3 - core::result::unwrap_failed::h100c4d67576990cf
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/result.rs:1651:5
17: 0x55881062ab68 - geom::polyline::PolyLine::to_thick_ring::he7c76c6ed364015a
18: 0x55881062ae0a - geom::polyline::PolyLine::to_thick_boundary::h0cfa22e9a1c6dcd3
19: 0x55880faf065e - game::ungap::trip::results::RouteDetails::new_route::h7bad7974c2f8a51c
20: 0x55880faee9a3 - game::ungap::trip::results::RouteDetails::alt_route::h0d8f54178731d084
21: 0x55880f91341d - game::ungap::trip::TripPlanner::recalculate_routes::h8bbef7b7ecc87d58
22: 0x55880f911e02 - game::ungap::trip::TripPlanner::new_state::hd8d9d13883c79aae
23: 0x55880fcf9b8e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82a0375f8c9db37d
24: 0x55880fd2976b - widgetry::app_state::App<A>::execute_transition::hf26056a55fb9f4eb
25: 0x55880fd25250 - widgetry::runner::State<A>::event::h3619149324ffe95f
26: 0x55880fd264f2 - widgetry::runner::run::{{closure}}::haf4cc5a47f7ca880
27: 0x55880fb758dd - winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run::he1133a3424543d57
28: 0x55880fd17cd7 - winit::platform_impl::platform::EventLoop<T>::run::h891419f421501dc6
29: 0x55880fd25e13 - widgetry::runner::run::hb9866dbc045fbf87
30: 0x55880f84514e - game::run::h8f4aa931fc12fc0d
31: 0x55880f842f58 - game::main::h815541f54b721520
32: 0x55880f7ecd83 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha678f3af754ffc07
33: 0x55880f7ecdd9 - std::rt::lang_start::{{closure}}::h5ccabf9fe3185984
34: 0x5588109b1355 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h5ce27e764c284c0a
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/core/src/ops/function.rs:284:13
35: 0x5588109b1355 - std::panicking::try::do_call::h4c1fc390ae241991
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:500:40
36: 0x5588109b1355 - std::panicking::try::h4d36e7eaed86af72
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:464:19
37: 0x5588109b1355 - std::panic::catch_unwind::h41cfb4dd65282b1e
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panic.rs:142:14
38: 0x5588109b1355 - std::rt::lang_start_internal::{{closure}}::hfed411c1c5fdb925
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/rt.rs:148:48
39: 0x5588109b1355 - std::panicking::try::do_call::h6893f6f32a464342
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:500:40
40: 0x5588109b1355 - std::panicking::try::h52b7102f469a0567
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panicking.rs:464:19
41: 0x5588109b1355 - std::panic::catch_unwind::h62120054677916b5
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/panic.rs:142:14
42: 0x5588109b1355 - std::rt::lang_start_internal::hd66bf6b7da144005
at /rustc/8ede3aae28fe6e4d52b38157d7bfe0d3bceef225/library/std/src/rt.rs:148:20
43: 0x55880f7ecdc5 - main
44: 0x7fb6b4023a90 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
45: 0x7fb6b4023b49 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
46: 0x55880f7eccbe - _start
47: 0x0 - <unknown>
********************************************************************************
[2023-08-22T19:52:32Z INFO abstio::io_native] Wrote data/player/camera_state/zz/oneshot/brest-metropole.json
[2023-08-22T19:52:32Z INFO abstio::io_native] Wrote data/player/maps.json
Crash! Please report to https://github.com/a-b-street/abstreet/issues/ and include all output.txt; at least everything starting from the stack trace above!
At 00:00:00.0
Camera:
{ "cam_x": 7847.143435001037, "cam_y": 6603.923952697711, "cam_zoom": 0.8050244113979518 }
No edits
Crash! Please report to https://github.com/a-b-street/abstreet/issues/ and include all output.txt; at least everything above here until the start of the report!
********************************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment