Although, I have previously commented about the same error before, I did not want the steps of saving/loading a save state to conflate with that of starting a new game in case the causal effects were different.
Since my last comment, I have got the latest changes from the main branch and re-built from source.
OS: BunsenLabs GNU/Linux 12 (Boron) x86_64
Kernel: 6.1.0-39-amd64
Shell: bash 5.2.15
WM/DE: OpenBox / X11R6
CPU: Intel i7-6600U (4) @ 3.400GHz
GPU: Intel Skylake GT2 [HD Graphics 520]
Memory: 31972MiB
The Force Engine v1.22.420-9-g4b48c5c3
When starting a new game, I receive the following error:
2025-Sep-27 15:12:52.489 - [Main] The Force Engine v1.22.420-9-g4b48c5c3
2025-Sep-27 15:12:52.494 - [Paths] Program Path: "/home/jimjamz/opt/tfe-build/"
2025-Sep-27 15:12:52.494 - [Paths] Program Data: "/home/jimjamz/.local/share/TheForceEngine/"
2025-Sep-27 15:12:52.494 - [Paths] User Documents: "/home/jimjamz/.local/share/TheForceEngine/"
2025-Sep-27 15:12:52.494 - [Paths] Source Data: "/home/jimjamz/Games/DarkForces/game/"
2025-Sep-27 15:12:52.495 - [Replay] Loading Replays from /home/jimjamz/.local/share/TheForceEngine/Replays/ ...
2025-Sep-27 15:12:52.596 - [Startup] TFE_System::init
2025-Sep-27 15:12:52.596 - [Display] Fullscreen enabled.
2025-Sep-27 15:12:52.596 - [Display] Vertical Sync enabled.
2025-Sep-27 15:12:52.596 - [RenderBackend] SDL Videodriver: x11
2025-Sep-27 15:12:52.705 - [RenderBackend] GL Info: 4.6 (Compatibility Profile) Mesa 22.3.6, Mesa Intel(R) HD Graphics 520 (SKL GT2)
2025-Sep-27 15:12:52.706 - [RenderBackend] OpenGL Device Tier: 3
2025-Sep-27 15:12:53.002 - [Startup] TFE_AudioSystem::init
2025-Sep-27 15:12:53.002 - [Audio] SDLAudio using interface 'pulseaudio'
2025-Sep-27 15:12:53.002 - [Audio] Device 00: Built-in Audio Analog Stereo
2025-Sep-27 15:12:53.002 - [Audio] Starting up audio stream for device 'System Default'
2025-Sep-27 15:12:53.004 - [Startup] TFE_MidiPlayer::init
2025-Sep-27 15:12:53.004 - [Startup] TFE_Image::init
2025-Sep-27 15:12:53.004 - [Startup] TFE_FrontEndUI::init
2025-Sep-27 15:12:53.041 - [MemoryRegion] Allocated new memory block in region 'game' - new size is 1 blocks, total size is '8388608'
2025-Sep-27 15:12:53.041 - [MemoryRegion] Allocated new memory block in region 'level' - new size is 1 blocks, total size is '8388608'
2025-Sep-27 15:12:53.053 - [Progam Flow] The Force Engine Game Loop Started
2025-Sep-27 15:14:13.711 - [Game] Dark Forces Version: 1.0 (Build 1)
2025-Sep-27 15:14:13.724 - [Error : HUD] Cannot load font 'AmoNum2.fnt'
2025-Sep-27 15:14:13.724 - [Error : HUD] Cannot load font 'SuperWp2.fnt'
2025-Sep-27 15:14:13.724 - [Error : HUD] Cannot load font 'ArmNum2.fnt'
2025-Sep-27 15:14:13.725 - [Error : HUD] Cannot load font 'HelNum2.fnt'
2025-Sep-27 15:14:13.746 - [Error : readDirectory] opendir(/home/jimjamz/Games/DarkForces/game/logics/) failed with 2
2025-Sep-27 15:14:13.746 - [Error : readDirectory] opendir(/home/jimjamz/opt/tfe-build/Mods/logics/) failed with 2
2025-Sep-27 15:14:13.746 - [Error : readDirectory] opendir(/home/jimjamz/opt/tfe-build/Mods/TFE/AdjustableHud/logics/) failed with 2
2025-Sep-27 15:14:13.746 - [LOGICS] Parsing logic JSON(s)
2025-Sep-27 15:14:13.746 - [EXTERNAL_DATA] Loading pickup data
2025-Sep-27 15:14:13.746 - [EXTERNAL_DATA] Loading projectile data
2025-Sep-27 15:14:13.747 - [EXTERNAL_DATA] Loading effects data
2025-Sep-27 15:14:13.747 - [EXTERNAL_DATA] Loading weapon data
2025-Sep-27 15:14:13.794 - [MemoryRegion] Allocated new memory block in region 'Landru' - new size is 1 blocks, total size is '4194304'
2025-Sep-27 15:14:13.794 - [MemoryRegion] Allocated new memory block in region 'Cutscene' - new size is 1 blocks, total size is '8388608'
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] Received Signal 11 errno 16 code 0
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] faulting address 0x10
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] Backtrace 9:
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 000 ./theforceengine(+0x20172b) [0x562b1d80f72b]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 001 /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x7fddf165a050]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 002 ./theforceengine(+0xa0cc7) [0x562b1d6aecc7]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 003 ./theforceengine(+0xa2084) [0x562b1d6b0084]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 004 ./theforceengine(+0xcd704) [0x562b1d6db704]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 005 ./theforceengine(main+0x5b2) [0x562b1d643982]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 006 /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fddf164524a]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 007 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fddf1645305]
2025-Sep-27 15:14:13.813 - [Error : CrashHandler] 008 ./theforceengine(+0x36271) [0x562b1d644271]
Segmentation fault
Focusing in on the point the segmentation fault occurs, I ran theforceengine binary with gdb, which reported:
2025-Sep-27 16:57:13.371 - [MemoryRegion] Allocated new memory block in region 'Landru' - new size is 1 blocks, total size is '4194304'
2025-Sep-27 16:57:13.371 - [MemoryRegion] Allocated new memory block in region 'Cutscene' - new size is 1 blocks, total size is '8388608'
Thread 1 "theforceengine" received signal SIGSEGV, Segmentation fault.
0x00005555556cc5e7 in TFE_DarkForces::agentMenu_update ()
at /home/jimjamz/dev/TheForceEngine/TheForceEngine/TFE_DarkForces/GameUI/agentMenu.cpp:243
243 else if (TFE_Input::keyPressed(s_langKeys->k_agdel))
This section of /home/jimjamz/dev/TheForceEngine/TheForceEngine/TFE_DarkForces/GameUI/agentMenu.cpp appears to be handling events of the left-mouse click, which is what I am using when clicking 'START' to start a new game in the main menu UI, although I'm not familiar with the events, s_langKeys and k_agdel to work out what action is being performed.
Unfortunately, it doesn't appear to be possible to use keyboard keys to operate the main menu.
Although, I have previously commented about the same error before, I did not want the steps of saving/loading a save state to conflate with that of starting a new game in case the causal effects were different.
Since my last comment, I have got the latest changes from the main branch and re-built from source.
OS: BunsenLabs GNU/Linux 12 (Boron) x86_64
Kernel: 6.1.0-39-amd64
Shell: bash 5.2.15
WM/DE: OpenBox / X11R6
CPU: Intel i7-6600U (4) @ 3.400GHz
GPU: Intel Skylake GT2 [HD Graphics 520]
Memory: 31972MiB
The Force Engine v1.22.420-9-g4b48c5c3
When starting a new game, I receive the following error:
Focusing in on the point the segmentation fault occurs, I ran theforceengine binary with gdb, which reported:
This section of /home/jimjamz/dev/TheForceEngine/TheForceEngine/TFE_DarkForces/GameUI/agentMenu.cpp appears to be handling events of the left-mouse click, which is what I am using when clicking 'START' to start a new game in the main menu UI, although I'm not familiar with the events,
s_langKeysandk_agdelto work out what action is being performed.Unfortunately, it doesn't appear to be possible to use keyboard keys to operate the main menu.