The International Simutrans Forum

Development => Bug Reports => Topic started by: makie on July 05, 2026, 01:45:37 PM

Title: sporadic crashes r12073
Post by: makie on July 05, 2026, 01:45:37 PM
r12073 pak128.german neu map 640x640
shortly after generating the map
or while moving the map

Quote#0  0x00000000004fa787 in grund_t::display_text_label (xpos=3567, ypos=1018, text=0x3dc6d280 "Hohenberg", players_bit=<optimized out>, dirty=true) at src/simutrans/ground/grund.cc:1675
#1  0x00000000004fae81 in grund_t::display_overlay (this=this@entry=0x3ebec8c8, xpos=xpos@entry=3592, ypos=1018) at src/simutrans/ground/grund.cc:1775
#2  0x00000000008776b7 in planquadrat_t::display_overlay (this=0x4082ed2c, xpos=xpos@entry=3592, ypos=1018) at src/simutrans/world/simplan.cc:689
#3  0x00000000004ed2bc in main_view_t::display (this=0x3a9f3100, force_dirty=force_dirty@entry=false) at src/simutrans/display/simview.cc:289
#4  0x00000000007e17ac in intr_refresh_display (dirty=dirty@entry=false) at src/simutrans/simintr.cc:81
#5  0x0000000000885681 in karte_t::display (this=0x3a811400, delta_t=<optimized out>) at src/simutrans/world/simworld.cc:2739
#6  0x00000000007e18b5 in interrupt_check (caller_info=caller_info@entry=0x90e698 "src/simutrans/world/simworld.cc:6233") at src/simutrans/world/simworld.h:1248
#7  0x0000000000895e9a in karte_t::interactive (this=this@entry=0x3a811400, quit_month=quit_month@entry=2147483647) at src/simutrans/world/simworld.cc:6233
#8  0x00000000007ea973 in simu_main (argc=argc@entry=5, argv=argv@entry=0x1b026730) at src/simutrans/simmain.cc:1710
#9  0x00000000007f3530 in sysmain (argc=5, argv=<optimized out>) at src/simutrans/sys/simsys.cc:1541
#10 0x00007f5566e2b33e in __libc_start_call_main () from /lib64/libc.so.6
#11 0x00007f5566e2b46b in __libc_start_main_impl () from /lib64/libc.so.6
#12 0x0000000000435025 in _start () at ../sysdeps/x86_64/start.S:115


Quote#0  0x00000000004fa787 in grund_t::display_text_label (xpos=1471, ypos=77, text=0x31d57780 "Soltau", players_bit=<optimized out>, dirty=true) at src/simutrans/ground/grund.cc:1675
#1  0x00000000004fae81 in grund_t::display_overlay (this=this@entry=0x32cc97f8, xpos=xpos@entry=1484, ypos=77) at src/simutrans/ground/grund.cc:1775
#2  0x00000000008776b7 in planquadrat_t::display_overlay (this=0x323753dc, xpos=xpos@entry=1484, ypos=77) at src/simutrans/world/simplan.cc:689
#3  0x00000000004ed2bc in main_view_t::display (this=0x2e5461b0, force_dirty=force_dirty@entry=false) at src/simutrans/display/simview.cc:289
#4  0x00000000007e17ac in intr_refresh_display (dirty=dirty@entry=false) at src/simutrans/simintr.cc:81
#5  0x0000000000885681 in karte_t::display (this=0x2e364410, delta_t=<optimized out>) at src/simutrans/world/simworld.cc:2739
#6  0x00000000007e18b5 in interrupt_check (caller_info=caller_info@entry=0x90e620 "src/simutrans/world/simworld.cc:3307") at src/simutrans/world/simworld.h:1248
#7  0x0000000000894ce6 in karte_t::step (this=0x2e364410) at src/simutrans/world/simworld.cc:3307
#8  0x0000000000896004 in karte_t::interactive (this=this@entry=0x2e364410, quit_month=quit_month@entry=2147483647) at src/simutrans/world/simworld.cc:6383
#9  0x00000000007ea973 in simu_main (argc=argc@entry=5, argv=argv@entry=0xeb7a730) at src/simutrans/simmain.cc:1710
#10 0x00000000007f3530 in sysmain (argc=5, argv=<optimized out>) at src/simutrans/sys/simsys.cc:1541
#11 0x00007f2dca62b33e in __libc_start_call_main () from /lib64/libc.so.6
#12 0x00007f2dca62b46b in __libc_start_main_impl () from /lib64/libc.so.6
#13 0x0000000000435025 in _start () at ../sysdeps/x86_64/start.S:115
Title: Re: sporadic crashes r12073
Post by: prissi on July 05, 2026, 03:13:39 PM
The most important information seemed left out, the player bits. But the public player should exist. In any case, now the routine check for invalid bits.
Title: Re: sporadic crashes r12073
Post by: makie on July 05, 2026, 04:01:13 PM
This happened on new maps. There is only player and public and player has build nothing.
I am testing factory chains. Swiping over the map and look where the building are. No Station at all.

"Hohenberg" is a city name
Title: Re: sporadic crashes r12073
Post by: prissi on July 06, 2026, 06:46:53 AM
Does it happen in 12074 still?
Title: Re: sporadic crashes r12073
Post by: makie on July 06, 2026, 07:30:19 AM
Quote from: prissi on Today at 06:46:53 AMDoes it happen in 12074 still?
No
until now not

It still looks like uninitialized memory to me, though.
I had also noticed city names in player colors occasionally in the past.