The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Duplo on September 30, 2019, 01:08:31 PM

Title: [120.4.1-1] Simutrans crashing on launch with segmentation error
Post by: Duplo on September 30, 2019, 01:08:31 PM
Here is the debug I ran
pi@raspberrypi:~ $ simutrans -debug 1
Use work dir /usr/share/games/simutrans/
Reading low level config data ...
Simutrans version 120.4.1 from
parse_simuconf() at config/simuconf.tab: Reading simuconf.tab successful!
SDL_driver=x11, hw_available=0, video_mem=0, blit_sw=0, bpp=32, bytes=4
Screen Flags: requested=10, actual=10
dr_os_open(SDL): SDL realized screen size width=704, height=560 (requested w=704, h=560)
Loading BDF font 'font/cyr.bdf'
Init done.
Error: Cannot open 'font/cyr.bdf'
ERROR: obj_reader_t::read_file(): reading 'menu.blue-white.pak' failed!
For help with this error or to file a bug report please see the Simutrans forum:
http://forum.simutrans.com
FATAL ERROR: gui_theme_t::init_gui_themes - Wrong theme loaded
Aborting program execution ...

For help with this error or to file a bug report please see the Simutrans forum at
http://forum.simutrans.com
Segmentation fault

Linux raspberrypi 4.19.66-v7l+ #1253 SMP Thu Aug 15 12:02:08 BST 2019 armv7l GNU/Linux


It is to be noted that I encountered this right after when I successfully ran and closed the program. I have attempted to try reinstalling and reboot but nothing changed.
Title: Re: [120.4.1-1] Simutrans crashing on launch with segmentation error
Post by: Mariculous on September 30, 2019, 03:19:36 PM
It seems your Simutrans is missing ressources.
Did you start the compiled binary from the build folder or did you move it?
Title: Re: [120.4.1-1] Simutrans crashing on launch with segmentation error
Post by: Duplo on September 30, 2019, 09:23:21 PM
Quote from: Freahk on September 30, 2019, 03:19:36 PM
It seems your Simutrans is missing ressources.
Did you start the compiled binary from the build folder or did you move it?
The error log here was generated from the Simutrans version from the repo but I also ran into this exact same error in the Extended version  I compile after having moved it to the Simutrans folder in the git clone. I think it's due to file system corruption so I did a fresh install of Raspbian and so far both version worked fine.