News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Possible bug related to the new start window

Started by Yona-TYT, May 15, 2024, 02:18:56 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Yona-TYT


Press the settings icon on the toolbar repeatedly while the welcome window was active.

(gdb) where
#0  0x0000555559909a40 in ?? ()
#1  0x000055555580f26c in modal_dialogue(gui_frame_t*, long, karte_t*, bool (*)(), bool) ()
#2  0x000055555599686d in simu_main(int, char**) ()
#3  0x000055555599ebb9 in sysmain(int, char**) ()
#4  0x00007ffff756514a in __libc_start_call_main (
    main=main@entry=0x55555563ccf0 <main>, argc=argc@entry=1,
    argv=argv@entry=0x7fffffffdf78)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#5  0x00007ffff756520b in __libc_start_main_impl (main=0x55555563ccf0 <main>,
    argc=1, argv=0x7fffffffdf78, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffdf68)
    at ../csu/libc-start.c:360
#6  0x000055555563cdbe in _start ()
(gdb)


Captura desde 2024-05-14 22-14-07.png

Yona-TYT

[Reminder]

Has anyone else been able to replicate this?.

prissi

Pressing any toolbar closes the greetings window. So now, no luck in reproducing.

Yona-TYT

This is with the previous revision (I haven't tested the current one yet).


Thread 1 "sim" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x000000000056e178 in modal_dialogue (gui=gui@entry=0x4073ea0,
    magic=magic@entry=-1, welt=welt@entry=0x2496290,
    quit=quit@entry=0x6d48b0 <never_quit()>,
    dismissible=dismissible@entry=true) at src/simutrans/gui/simwin.cc:2204
#2  0x00000000006d79e6 in simu_main (argc=argc@entry=1,
    argv=argv@entry=0xab7260) at src/simutrans/simmain.cc:1602
#3  0x00000000006dd3e4 in sysmain (argc=1, argv=<optimized out>)
    at src/simutrans/sys/simsys.cc:1451
#4  0x00007ffff764614a in __libc_start_call_main (
    main=main@entry=0x417f50 <main(int, char**)>, argc=argc@entry=1,
    argv=argv@entry=0x7fffffffdf78)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#5  0x00007ffff764620b in __libc_start_main_impl (
    main=0x417f50 <main(int, char**)>, argc=1, argv=0x7fffffffdf78,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffdf68) at ../csu/libc-start.c:360
#6  0x0000000000417f85 in _start ()
(gdb)

Roboron

#4
But you can't "press repeatedly the settings icon while the welcome window was active" because, the moment you press the icon once, the new welcome window will close. How are you doing it?

Yona-TYT

Quote from: Roboron on May 20, 2024, 04:10:29 PMBut you can't "press repeatedly the settings icon while the welcome window was active" because, the moment you press the icon once, the new welcome window will close. How are you doing it?
This time it happened with just hitting it once or twice, it broke more easily.

Edit 
Maybe you need to use the savegame I attached in the first message

Yona-TYT

Because gnome doesn't want to take video captures, I can only show several images.

First do the following:

Load the savegame and zoom out as far as possible then:

Captura desde 2024-05-20 13-19-40.png

Captura desde 2024-05-20 13-19-55.png


Here comes the interesting thing:

You have to play with the right and left click several times also clicking on the map until at some point simutrans stops working.


Captura desde 2024-05-20 13-20-08.png

Edit.
Sometimes it is very difficult to replicate, what a problem. :o

prissi

The stable version could crash if more than 12 logical processors were present when redrawing but the nightly should be fine.

I cannot reproduce it at all, just the new map window is closing.

Yona-TYT

#8
I made a video using it last night, I hope it's useful.


Edit.
The windows executable also fails (using wine).
Captura desde 2024-05-21 23-15-09.png

prissi

I thank case it looks like an infinte loop or race condition. I wonder if I missed the hardcoded processor limit enforcement in another place. How many cores (logical cores) does you CPU has?

Yona-TYT

Quote from: prissi on May 22, 2024, 04:33:40 AMI thank case it looks like an infinte loop or race condition. I wonder if I missed the hardcoded processor limit enforcement in another place. How many cores (logical cores) does you CPU has?
i5 intel
Captura desde 2024-05-22 00-30-59.png

Ranran

Quote from: Yona-TYT on May 22, 2024, 03:07:16 AMI made a video using it last night, I hope it's useful.
Why does your simutrans not show staff roll?
Extended used to crash frequently when displaying the staff role.
What I remember was an error caused by the inability to loop and Japanese character(kanji/hiragana) name being mixed in.

ceeac

Quote from: Ranran on May 22, 2024, 08:51:35 AMWhy does your simutrans not show staff roll?
It does, but the window is closed quite fast so the text does not scroll into view. (the scrollext is briefly visible at 0:15)

Yona-TYT

Hopefully this can be resolved before the release.

Message: fabrik_t::rdwr(): loading factory 'Erzbergwerk'
Message: fabrik_t::rdwr(): loading factory 'Erzbergwerk'
Message: fabrik_t::rdwr(): loading factory 'Stahlwerk'
Message: fabrik_t::rdwr(): loading factory 'Autohersteller'
Message: fabrik_t::rdwr(): loading factory 'Autohaus'
Message: fabrik_t::rdwr(): loading factory 'Kohlegrube'
Message: fabrik_t::rdwr(): loading factory 'Kohlekraftwerk'
Message: fabrik_t::rdwr(): loading factory 'Oelbohrinsel'
Message: fabrik_t::rdwr(): loading factory 'Oelbohrinsel'
Message: fabrik_t::rdwr(): loading factory '3Raffinerie'
Message: fabrik_t::rdwr(): loading factory 'TANKE'
Message: fabrik_t::rdwr(): loading factory 'Kohlegrube'
Message: fabrik_t::rdwr(): loading factory 'Kohlekraftwerk'
Message: karte_t::rdwr_gamestate(): load stops
Message: karte_t::rdwr_gamestate(): 4 halts loaded
Message: karte_t::rdwr_gamestate(): load convois
Message: karte_t::rdwr_gamestate(): 0 convois/trains loaded
Message: player_t::rdwr(): player 0: loading 0 halts.
Message: player_t::int_undo(): undo tiles 0
Message: simlinemgmt_t::rdwr(): number of lines=0
Message: player_t::rdwr(): player 1: loading 0 halts.
Message: player_t::int_undo(): undo tiles 0
Message: simlinemgmt_t::rdwr(): number of lines=0
Message: karte_t::rdwr_gamestate(): players loaded
Message: karte_t::load(): messages loaded
Message: old_blockmanager::finish_rd(): convert old to new signals
Message: karte_t::load(): blocks loaded
Message: karte_t::load(): Setting view to 114,214
Message: karte_t::load(): 2393 ways loaded
Message: karte_t::load(): laden_abschliesen for tiles finished
Message: karte_t::load(): cities initialized
Message: karte_t::load(): clean up factories
Message: karte_t::load(): 20 factories loaded
Message: karte_t::load(): for all haltstellen_t took 0 ms
Warning: karte_t::load(): loaded savegame from 0/1930, next month=1048576, ticks=2195 (per month=1<<20)
Message: karte_t::reset_timer(): called, mode=$0
Message: toolbar_t::update(): create toolbar
Message: toolbar_t::update(): add tool 16385 (param=(null))
Message: toolbar_t::update(): add tool 16386 (param=(null))
Message: toolbar_t::update(): add tool 4096 (param=(null))
Message: toolbar_t::update(): add tool 4097 (param=(null))
Message: toolbar_t::update(): add metatool (param=-)
Message: toolbar_t::update(): add tool 16387 (param=(null))
Message: toolbar_t::update(): add tool 16388 (param=(null))
Message: toolbar_t::update(): add tool 16389 (param=(null))
Message: toolbar_t::update(): add metatool (param=-)
Message: toolbar_t::update(): add tool 8207 (param=K)
Message: toolbar_t::update(): add tool 8207 (param=I)
Message: toolbar_t::update(): add tool 8207 (param=D)
Message: toolbar_t::update(): add tool 8194 (param=(null))
Message: toolbar_t::update(): add tool 8192 (param=(null))
Message: toolbar_t::update(): add tool 8193 (param=(null))
Message: toolbar_t::update(): add tool 16384 (param=(null))
Message: toolbar_t::update(): add metatool (param=-)
Message: toolbar_t::update(): add tool 8200 (param=(null))
Message: toolbar_t::update(): add tool 8201 (param=(null))
Message: toolbar_t::update(): add tool 8204 (param=(null))
Message: toolbar_t::update(): add tool 8208 (param=(null))
Message: toolbar_t::update(): add tool 8207 (param=(null))
Message: toolbar_t::update(): add tool 16412 (param=(null))
Message: toolbar_t::update(): add tool 8232 (param=(null))
Message: toolbar_t::update(): create toolbar SLOPETOOLS
Message: toolbar_t::update(): add tool 4098 (param=(null))
Message: toolbar_t::update(): add tool 4099 (param=(null))
Message: toolbar_t::update(): add tool 4100 (param=36 #southslope)
Message: toolbar_t::update(): add tool 4100 (param=72 #double southslope)
Message: toolbar_t::update(): add tool 4100 (param=4 #northslope)
Message: toolbar_t::update(): add tool 4100 (param=8 #double northslope)
Message: toolbar_t::update(): add tool 4100 (param=12 #westslope)
Message: toolbar_t::update(): add tool 4100 (param=24 #double westslope)
Message: toolbar_t::update(): add tool 4100 (param=28 #eastslope)
Message: toolbar_t::update(): add tool 4100 (param=56 #double eastslope)
Message: toolbar_t::update(): add tool 4100 (param=82 #all up slope)
Message: toolbar_t::update(): add tool 4100 (param=83 #all down slope)
Message: toolbar_t::update(): add tool 4101 (param=(null))
Message: toolbar_t::update(): add tool 4135 (param=0)
Message: toolbar_t::update(): add tool 4135 (param=3)
Message: toolbar_t::update(): create toolbar RAILTOOLS
Message: toolbar_t::update(): add metatool (param=ways(2,0))
Message: toolbar_t::update(): add metatool (param=ways(2,1))
Message: toolbar_t::update(): add metatool (param=bridges(2))
Message: toolbar_t::update(): add metatool (param=tunnels(2))
Message: toolbar_t::update(): add tool 4113 (param=2)
Message: toolbar_t::update(): add metatool (param=wayobjs(2))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add tool 4129 (param=2)
Message: toolbar_t::update(): add metatool (param=signs(2))
Message: toolbar_t::update(): add tool 4103 (param=(null))
Message: toolbar_t::update(): add metatool (param=buildings(33,2))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,2))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(35,2))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar MONORAILTOOLS
Message: toolbar_t::update(): add metatool (param=ways(5,0))
Message: toolbar_t::update(): add metatool (param=ways(5,1))
Message: toolbar_t::update(): add metatool (param=bridges(5))
Message: toolbar_t::update(): add metatool (param=tunnels(5))
Message: toolbar_t::update(): add metatool (param=wayobjs(5))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add metatool (param=signs(5))
Message: toolbar_t::update(): add tool 4103 (param=(null))
Message: toolbar_t::update(): add metatool (param=buildings(33,5))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,5))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(35,5))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar TRAMTOOLS
Message: toolbar_t::update(): add metatool (param=ways(7,0))
Message: toolbar_t::update(): add metatool (param=ways(2,7))
Message: toolbar_t::update(): add metatool (param=bridges(2))
Message: toolbar_t::update(): add metatool (param=tunnels(2))
Message: toolbar_t::update(): add tool 4113 (param=2)
Message: toolbar_t::update(): add metatool (param=wayobjs(2))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add tool 4129 (param=2)
Message: toolbar_t::update(): add metatool (param=signs(2))
Message: toolbar_t::update(): add tool 4103 (param=(null))
Message: toolbar_t::update(): add metatool (param=buildings(33,7))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,2))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,1))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar ROADTOOLS
Message: toolbar_t::update(): add metatool (param=ways(1,0))
Message: toolbar_t::update(): add metatool (param=ways(1,1))
Message: toolbar_t::update(): add metatool (param=bridges(1))
Message: toolbar_t::update(): add metatool (param=tunnels(1))
Message: toolbar_t::update(): add tool 4113 (param=1)
Message: toolbar_t::update(): add metatool (param=wayobjs(1))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add metatool (param=signs(1))
Message: toolbar_t::update(): add metatool (param=buildings(33,1))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,1))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(35,1))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar SHIPTOOLS
Message: toolbar_t::update(): add metatool (param=ways(3,0))
Message: toolbar_t::update(): add metatool (param=ways(3,1))
Message: toolbar_t::update(): add metatool (param=bridges(3))
Message: toolbar_t::update(): add metatool (param=tunnels(3))
Message: toolbar_t::update(): add tool 4113 (param=3)
Message: toolbar_t::update(): add metatool (param=wayobjs(3))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add metatool (param=signs(3))
Message: toolbar_t::update(): add metatool (param=buildings(33,3))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,3))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(11,3))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(36,3))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(35,3))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar AIRTOOLS
Message: toolbar_t::update(): add metatool (param=ways(16,0))
Message: toolbar_t::update(): add metatool (param=ways(16,1))
Message: toolbar_t::update(): add metatool (param=bridges(16))
Message: toolbar_t::update(): add tool 4113 (param=16)
Message: toolbar_t::update(): add metatool (param=wayobjs(16))
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: toolbar_t::update(): add metatool (param=signs(16))
Message: toolbar_t::update(): add tool 4103 (param=(null))
Message: toolbar_t::update(): add metatool (param=buildings(33,16))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(34,16))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=buildings(35,16))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): create toolbar SPECIALTOOLS
Message: toolbar_t::update(): add metatool (param=buildings(35,0))
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): add metatool (param=ways(2,255))
Message: toolbar_t::update(): add tool 8197 (param=(null))
Message: toolbar_t::update(): add tool 4105 (param=(null))
Message: toolbar_t::update(): add tool 4107 (param=(null))
Message: toolbar_t::update(): add metatool (param=ways(128,0))
Message: toolbar_t::update(): add metatool (param=bridges(128))
Message: toolbar_t::update(): add metatool (param=tunnels(128))
Message: toolbar_t::update(): add tool 4113 (param=128)
Message: toolbar_t::update(): add tool 4104 (param=(null))
Message: toolbar_t::update(): add tool 4102 (param=(null))
Message: toolbar_t::update(): add tool 4127 (param=(null))
Message: toolbar_t::update(): add tool 4128 (param=(null))
Message: toolbar_t::update(): add tool 4137 (param=(null))
Message: toolbar_t::update(): create toolbar EDITTOOLS
Message: toolbar_t::update(): add tool 4106 (param=+100)
Message: toolbar_t::update(): add tool 4106 (param=-100)
Message: toolbar_t::update(): add tool 4105 (param=(null))
Message: toolbar_t::update(): add tool 4132 (param=(null))
Message: toolbar_t::update(): add tool 8195 (param=(null))
Message: toolbar_t::update(): add tool 16404 (param=(null))
Message: toolbar_t::update(): add tool 4122 (param=(null))
Message: toolbar_t::update(): add tool 16405 (param=(null))
Message: toolbar_t::update(): add tool 16406 (param=(null))
Message: toolbar_t::update(): add tool 4136 (param=(null))
Message: toolbar_t::update(): add tool 4131 (param=(null))
Message: toolbar_t::update(): add tool 16407 (param=(null))
Message: toolbar_t::update(): add tool 4126 (param=(null))
Message: toolbar_t::update(): add tool 16419 (param=(null))
Message: toolbar_t::update(): add tool 8198 (param=(null))
Message: toolbar_t::update(): add tool 16408 (param=(null))
Message: toolbar_t::update(): add tool 4124 (param=(null))
Message: toolbar_t::update(): add tool 4134 (param=+1)
Message: toolbar_t::update(): add tool 4134 (param=-1)
Message: toolbar_t::update(): add tool 4135 (param=0)
Message: toolbar_t::update(): add tool 4135 (param=1)
Message: toolbar_t::update(): add tool 4135 (param=2)
Message: toolbar_t::update(): add tool 4135 (param=3)
Message: toolbar_t::update(): add tool 4135 (param=4)
Message: toolbar_t::update(): add tool 4135 (param=5)
Message: toolbar_t::update(): add tool 4135 (param=6)
Message: toolbar_t::update(): add tool 4135 (param=7)
Message: toolbar_t::update(): add tool 8192 (param=(null))
Message: toolbar_t::update(): create toolbar LISTTOOLS
Message: toolbar_t::update(): add tool 16387 (param=(null))
Message: toolbar_t::update(): add tool 16399 (param=(null))
Message: toolbar_t::update(): add tool 16398 (param=(null))
Message: toolbar_t::update(): add tool 16416 (param=(null))
Message: toolbar_t::update(): add tool 16417 (param=(null))
Message: toolbar_t::update(): add tool 16400 (param=(null))
Message: toolbar_t::update(): add tool 16401 (param=(null))
Message: toolbar_t::update(): add tool 16402 (param=(null))
Message: toolbar_t::update(): add tool 16403 (param=(null))
Message: toolbar_t::update(): add tool 16409 (param=(null))
Message: toolbar_t::update(): create toolbar Last used tools
Message: toolbar_t::update(): update toolbar
Message: toolbar_t::update(): update toolbar SLOPETOOLS
Message: toolbar_t::update(): update toolbar RAILTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar MONORAILTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar TRAMTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar ROADTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar SHIPTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar AIRTOOLS
Message: wayobj_t::fill_menu(): try to add SlowOverheadpower(0x2ff1d30)
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar SPECIALTOOLS
Message: hausbauer_t::fill_menu(): maximum 60
Message: toolbar_t::update(): update toolbar EDITTOOLS
Message: toolbar_t::update(): update toolbar LISTTOOLS
Message: toolbar_t::update(): update toolbar Last used tools
Message: toolbar_t::update(): update toolbar Last used tools
Message: toolbar_t::update(): update toolbar
Message: karte_t::reset_timer(): called, mode=$0
Message: simu_main(): Running world, pause=0, fast forward=0 ...
Message: karte_t::reset_timer(): called, mode=$0
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x401
Message: SDL_EVENT: 0x402
Message: toolbar_t::update(): update toolbar Last used tools
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x401
Message: SDL_EVENT: 0x402
Message: SDL_EVENT: 0x400
Message: nwc_tool_t::do_command: steps 0 tool_id 8209 init
Message: nwc_tool_t::do_command: id=17 init=1 defpar=n flag=20
Message: karte_t::interactive(): Spent 2639 ms in loop
Message: simu_main(): World finished ...
Message: simu_main(): Show banner ...
Message: karte_t::reset_timer(): called, mode=$0
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x401
Message: SDL_EVENT: 0x402
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x401
Message: SDL_EVENT: 0x402
Message: toolbar_t::update(): update toolbar Last used tools
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x200
Message: SDL_EVENT: 0x401
Message: SDL_EVENT: 0x402
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x400
Message: SDL_EVENT: 0x403
Message: SDL_EVENT: 0x403

Thread 1 "sim" received signal SIGSEGV, Segmentation fault.
0xfffffffffffffb60 in ?? ()
(gdb) where
#0  0xfffffffffffffb60 in ?? ()
#1  0x0000000000578358 in modal_dialogue (gui=gui@entry=0x3805de0,
    magic=magic@entry=-1, welt=welt@entry=0x24915b0,
    quit=quit@entry=0x6ddb50 <never_quit()>,
    dismissible=dismissible@entry=true) at src/simutrans/gui/simwin.cc:2208
#2  0x00000000006e0bd3 in simu_main (argc=argc@entry=3,
    argv=argv@entry=0xac5270) at src/simutrans/simmain.cc:1606
#3  0x00000000006e7489 in sysmain (argc=3, argv=<optimized out>)
    at src/simutrans/sys/simsys.cc:1451
#4  0x00007ffff763d088 in __libc_start_call_main (
    main=main@entry=0x418200 <main(int, char**)>, argc=argc@entry=3,
    argv=argv@entry=0x7fffffffdee8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#5  0x00007ffff763d14b in __libc_start_main_impl (
    main=0x418200 <main(int, char**)>, argc=3, argv=0x7fffffffdee8,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=0x7fffffffded8) at ../csu/libc-start.c:360
#6  0x0000000000418235 in _start ()
(gdb)

prissi


Yona-TYT

I'm afraid it's still failing in r11292

Captura desde 2024-06-10 13-48-16.png

prissi

What OS? MAybe it is the midi player?

ceeac

Not sure if that fixes the issue as I could not reproduce it, but try r11293.

Yona-TYT

Quote from: prissi on June 11, 2024, 01:35:58 PMWhat OS? MAybe it is the midi player?

Using linux, Fedora 40 with gnome desktop.
A peculiarity here is that the simutrans window is shown without decorations in wayland, but if I compile my own version this does not happen. The section in Xorg does not have this problem.


Quote from: ceeac on June 11, 2024, 05:10:00 PMNot sure if that fixes the issue as I could not reproduce it, but try r11293.
I'm afraid it's still there, when I use the mouse wheel while the startup window is open then the error occurs.