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

Crash when launching traffic sandbox #1136

Open
ChildishGiant opened this issue Jan 17, 2024 · 1 comment
Open

Crash when launching traffic sandbox #1136

ChildishGiant opened this issue Jan 17, 2024 · 1 comment

Comments

@ChildishGiant
Copy link

When I launch ./play_abstreet.sh and click Traffic simulation sandbox, my game closes. I was able to replicate this twice but on the third time it worked. Here is a log from the second time it crashed.

My specs
OS: Fedora Linux 39 (Workstation Edition) x86_64 
Kernel: 6.6.7-200.fc39.x86_64 
Uptime: 25 mins 
Packages: 3364 (rpm), 176 (flatpak) 
Shell: bash 5.2.21 
Resolution: 1920x1080 
DE: GNOME 45.2 
WM: Mutter 
WM Theme: Dracula 
Theme: Adwaita-dark [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 5 1600X (12) @ 3.600GHz 
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 
Memory: 7678MiB / 15917MiB 
Log
[2024-01-17T14:09:49Z WARN  map_gui::options] Couldn't restore settings, so using defaults. data/player/settings.json
setup widgetry...
[2024-01-17T14:09:49Z 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...
[2024-01-17T14:09:49Z INFO  widgetry::backend_glow] img_size: 896x896px (802816 px), sprite_size: 64x64px, sprites: 14x14 (196 sprites)
load default texture took 0.0156s
create blank sim...
create blank sim took 0.0012s
[2024-01-17T14:09:49Z INFO  abstutil::time] - create blank sim took 0.0012s
[2024-01-17T14:09:49Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
setup app... plus 0.0017s
setup app took 0.0173s
setup widgetry... plus 0.1026s
setup widgetry took 0.1199s
[2024-01-17T14:09:49Z INFO  abstutil::time] - setup widgetry took 0.1199s
[2024-01-17T14:09:49Z INFO  abstutil::time]   - setup app took 0.0173s
[2024-01-17T14:09:49Z INFO  abstutil::time]     - load default texture took 0.0156s
[2024-01-17T14:09:49Z INFO  abstutil::time]     - ... plus 0.0017s
[2024-01-17T14:09:49Z INFO  abstutil::time]   - ... plus 0.1026s
load data/system/zz/oneshot/maps/Bury_St_Edmunds.bin...

Reading data/system/zz/oneshot/maps/Bury_St_Edmunds.bin: 0/17 MB... 0.0000s
Reading data/system/zz/oneshot/maps/Bury_St_Edmunds.bin: 13/17 MB... 0.2000s
Read data/system/zz/oneshot/maps/Bury_St_Edmunds.bin (17)... 0.2625s
[2024-01-17T14:09:50Z WARN  map_model::objects::movement] Weird movement geometry at Intersection #145: PL with total length 0.8655m and 6 pts has dupe non-adjacent pts

generate movements (5,788)... 0.0137s
create blank sim...

setup offstreet parking (5,987)... 0.0010s
create blank sim... plus 0.0248s
create blank sim took 0.0258s
[2024-01-17T14:09:50Z INFO  abstutil::time] - create blank sim took 0.0258s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - setup offstreet parking (5,987)... 0.0010s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - ... plus 0.0248s
draw_map...

make DrawRoads (7,515)... 0.0573s

make DrawIntersections (5,788)... 0.0017s
generate unzoomed roads and intersections...
generate unzoomed roads and intersections took 0.2454s

make DrawBuildings (5,987)... 0.0378s
upload all buildings...
upload all buildings took 0.0040s
make DrawParkingLot...
make DrawParkingLot took 0.0060s

make DrawAreas (679)... 0.0024s
upload all areas...
upload all areas took 0.0003s
create quadtree...
create quadtree took 0.0229s
[2024-01-17T14:09:50Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
draw_map... plus 0.0241s
draw_map took 0.4019s
load data/system/zz/oneshot/maps/Bury_St_Edmunds.bin... plus 0.0593s
load data/system/zz/oneshot/maps/Bury_St_Edmunds.bin took 0.7374s
[2024-01-17T14:09:50Z INFO  abstutil::time] - load data/system/zz/oneshot/maps/Bury_St_Edmunds.bin took 0.7374s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - Read data/system/zz/oneshot/maps/Bury_St_Edmunds.bin (17)... 0.2625s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - generate movements (5,788)... 0.0137s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - draw_map took 0.4019s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - make DrawRoads (7,515)... 0.0573s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - make DrawIntersections (5,788)... 0.0017s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - generate unzoomed roads and intersections took 0.2454s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - make DrawBuildings (5,987)... 0.0378s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - upload all buildings took 0.0040s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - make DrawParkingLot took 0.0060s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - make DrawAreas (679)... 0.0024s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - upload all areas took 0.0003s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - create quadtree took 0.0229s
[2024-01-17T14:09:50Z INFO  abstutil::time]     - ... plus 0.0241s
[2024-01-17T14:09:50Z INFO  abstutil::time]   - ... plus 0.0593s
Unknown winit key LWin
create blank sim...

setup offstreet parking (5,987)... 0.0012s
create blank sim... plus 0.0249s
create blank sim took 0.0261s
[2024-01-17T14:09:54Z INFO  abstutil::time] - create blank sim took 0.0261s
[2024-01-17T14:09:54Z INFO  abstutil::time]   - setup offstreet parking (5,987)... 0.0012s
[2024-01-17T14:09:54Z INFO  abstutil::time]   - ... plus 0.0249s
load scenario...
create people...

create people: making PersonSpec from endpoints (29,246)... 0.0402s
create people... plus 0.0066s
create people took 0.0468s
[2024-01-17T14:09:54Z INFO  synthpop::make::activity_model] TRIPS - total: 29,246, local: 4,227, commuting_in: 3,003, commuting_out: 12,852, passthru: 9,164, errored: 205, leftover_resident_capacity: 63, leftover_worker_capacity: 0
load scenario... plus 0.0005s
load scenario took 0.0473s
[2024-01-17T14:09:54Z INFO  abstutil::time] - load scenario took 0.0473s
[2024-01-17T14:09:54Z INFO  abstutil::time]   - create people took 0.0468s
[2024-01-17T14:09:54Z INFO  abstutil::time]     - create people: making PersonSpec from endpoints (29,246)... 0.0402s
[2024-01-17T14:09:54Z INFO  abstutil::time]     - ... plus 0.0066s
[2024-01-17T14:09:54Z INFO  abstutil::time]   - ... plus 0.0005s
instantiate scenario...
Instantiating random people going to and from work...

trips for People (29,041)... 0.0198s

seed parked cars: 1,904/14,804... 0.2001s
seed parked cars: 2,600/14,804... 0.4007s
seed parked cars: 3,197/14,804... 0.6012s
seed parked cars: 3,549/14,804... 0.8013s
seed parked cars: 3,887/14,804... 1.0018s
seed parked cars: 4,179/14,804... 1.2021s
seed parked cars: 4,360/14,804... 1.4030s
seed parked cars: 4,561/14,804... 1.6056s
seed parked cars: 4,706/14,804... 1.8068s
seed parked cars: 4,816/14,804... 2.0073s
seed parked cars: 4,903/14,804... 2.2083s
seed parked cars: 4,998/14,804... 2.4095s
seed parked cars: 5,079/14,804... 2.6112s
seed parked cars: 5,169/14,804... 2.8117s
seed parked cars: 5,255/14,804... 3.0148s
seed parked cars: 5,344/14,804... 3.2150s
seed parked cars: 5,430/14,804... 3.4165s
seed parked cars: 5,521/14,804... 3.6180s[2024-01-17T14:09:58Z WARN  sim::sim::scenario] Not enough room to seed parked cars. Only found spots for 5,525 of 14,804

seed parked cars (14,804)... 3.6490s

spawn trips (58,082)... 0.1104s
Instantiating random people going to and from work... plus 0.0034s
Instantiating random people going to and from work took 3.7826s
instantiate scenario... plus 0.0038s
instantiate scenario took 3.7864s
[2024-01-17T14:09:58Z INFO  abstutil::time] - instantiate scenario took 3.7864s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - Instantiating random people going to and from work took 3.7826s
[2024-01-17T14:09:58Z INFO  abstutil::time]     - trips for People (29,041)... 0.0198s
[2024-01-17T14:09:58Z INFO  abstutil::time]     - seed parked cars (14,804)... 3.6490s
[2024-01-17T14:09:58Z INFO  abstutil::time]     - spawn trips (58,082)... 0.1104s
[2024-01-17T14:09:58Z INFO  abstutil::time]     - ... plus 0.0034s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - ... plus 0.0038s
load data/system/zz/oneshot/prebaked_results/Bury_St_Edmunds/random people going to and from work.bin...
load data/system/zz/oneshot/prebaked_results/Bury_St_Edmunds/random people going to and from work.bin took 0.0000s
[2024-01-17T14:09:58Z INFO  abstutil::time] - load data/system/zz/oneshot/prebaked_results/Bury_St_Edmunds/random people going to and from work.bin took 0.0000s
[2024-01-17T14:09:58Z WARN  game::sandbox] No prebaked simulation results for "random people going to and from work" scenario on Bury_St_Edmunds (in oneshot (zz)) map. This means trip dashboards can't compare current times to any kind of baseline: data/system/zz/oneshot/prebaked_results/Bury_St_Edmunds/random people going to and from work.bin
rerendering map colors...

make DrawRoads (7,515)... 0.0518s

make DrawIntersections (5,788)... 0.0011s
generate unzoomed roads and intersections...
generate unzoomed roads and intersections took 0.0427s

make DrawBuildings (5,987)... 0.0365s
upload all buildings...
upload all buildings took 0.0052s
make DrawParkingLot...
make DrawParkingLot took 0.0062s

make DrawAreas (679)... 0.0029s
upload all areas...
upload all areas took 0.0003s
create quadtree...
create quadtree took 0.0229s
[2024-01-17T14:09:58Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
rerendering map colors... plus 0.0091s
rerendering map colors took 0.1787s
[2024-01-17T14:09:58Z INFO  abstutil::time] - rerendering map colors took 0.1787s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - make DrawRoads (7,515)... 0.0518s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - make DrawIntersections (5,788)... 0.0011s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - generate unzoomed roads and intersections took 0.0427s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - make DrawBuildings (5,987)... 0.0365s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - upload all buildings took 0.0052s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - make DrawParkingLot took 0.0062s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - make DrawAreas (679)... 0.0029s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - upload all areas took 0.0003s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - create quadtree took 0.0229s
[2024-01-17T14:09:58Z INFO  abstutil::time]   - ... plus 0.0091s
@dabreegster
Copy link
Collaborator

Hmm, no errors or stack trace from that log.

Also, #996 to set expectations about time to get to this

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

No branches or pull requests

2 participants