aliens

Author Topic: Game crashes when enabling debug mode when UFO crash site exists  (Read 125 times)

Offline Cooper

  • Colonel
  • ****
  • Posts: 154
  • Chryssalids are awesome
    • View Profile
Game crashes when enabling debug mode when UFO crash site exists
« on: November 30, 2024, 10:05:16 pm »
Crashed UFOs are causing a game crash!

So the game crashes when I try to enable debug mode when there is a UFO crash site on the planet.
I tried to disable my mod, but did not help.
The crash happens no matter if I am viewing the side of the planet with the crash site or not, and no matter the UFO type. Enabling debug mode after crash site has despawned is no problem.

Code: [Select]
[30-11-2024_21-07-05] [INFO] OpenXcom Version: Extended 7.15.0 git 2024-11-01 11:57
[30-11-2024_21-07-05] [INFO] Platform: Linux
[30-11-2024_21-07-05] [INFO] Data folder is:
[30-11-2024_21-07-05] [INFO] Data search is:
[30-11-2024_21-07-05] [INFO] - /home/user/.local/share/openxcom/
[30-11-2024_21-07-05] [INFO] - /usr/share/cinnamon/openxcom/
[30-11-2024_21-07-05] [INFO] - /usr/share/gnome/openxcom/
[30-11-2024_21-07-05] [INFO] - /home/user/.local/share/flatpak/exports/share/openxcom/
[30-11-2024_21-07-05] [INFO] - /var/lib/flatpak/exports/share/openxcom/
[30-11-2024_21-07-05] [INFO] - /usr/local/share/openxcom/
[30-11-2024_21-07-05] [INFO] - /usr/share/openxcom/
[30-11-2024_21-07-05] [INFO] - /var/lib/snapd/desktop/openxcom/
[30-11-2024_21-07-05] [INFO] - /tmp/.mount_oxce_gv3Ziux/usr/bin/
[30-11-2024_21-07-05] [INFO] - /tmp/.mount_oxce_gv3Ziux/usr/bin//../share/openxcom/
[30-11-2024_21-07-05] [INFO] - ./
[30-11-2024_21-07-05] [INFO] User folder is: /home/user/.local/share/openxcom/
[30-11-2024_21-07-05] [INFO] Config folder is: /home/user/.config/openxcom/
[30-11-2024_21-07-05] [INFO] Options loaded successfully.
[30-11-2024_21-07-05] [INFO] SDL initialized successfully.
[30-11-2024_21-07-05] [INFO] SDL_mixer initialized successfully.
[30-11-2024_21-07-05] [INFO] Attempted locale: C.UTF-8
[30-11-2024_21-07-05] [INFO] Detected locale: C.UTF-8
[30-11-2024_21-07-05] [INFO] Attempting to set display to 1366x697x8...
[30-11-2024_21-07-05] [INFO] Display set to 1366x697x8.
[30-11-2024_21-07-05] [INFO] Loading data...
[30-11-2024_21-07-05] [INFO] Scanning standard mods in '/tmp/.mount_oxce_gv3Ziux/usr/bin//../share/openxcom/'...
[30-11-2024_21-07-05] [INFO] Scanning user mods in '/home/user/.local/share/openxcom/'...
[30-11-2024_21-07-05] [INFO] FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[30-11-2024_21-07-05] [INFO] Active mods:
[30-11-2024_21-07-05] [INFO] - xcom1 v7.15.0
[30-11-2024_21-07-05] [INFO] - XcomUtil_Statstrings v1.0
[30-11-2024_21-07-07] [INFO] Loading begins...
[30-11-2024_21-07-07] [INFO] Pre-loading rulesets...
[30-11-2024_21-07-07] [INFO] Loading vanilla resources...
[30-11-2024_21-07-07] [INFO] Loading rulesets...
[30-11-2024_21-07-07] [INFO] Loading rulesets done.
[30-11-2024_21-07-07] [INFO] Loading fonts... Font.dat
[30-11-2024_21-07-08] [INFO] Lazy loading: 0
[30-11-2024_21-07-08] [INFO] Loading extra resources from ruleset...
[30-11-2024_21-07-08] [INFO] Loading custom palettes from ruleset...
[30-11-2024_21-07-08] [INFO] Making palette backups...
[30-11-2024_21-07-08] [INFO] After load.
[30-11-2024_21-07-08] [INFO] Loading ended.
[30-11-2024_21-07-08] [INFO] Data loaded successfully.
[30-11-2024_21-07-08] [INFO] Loading language...
[30-11-2024_21-07-08] [INFO] Language loaded successfully.
[30-11-2024_21-07-08] [INFO] OpenXcom started successfully!
[30-11-2024_21-07-08] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[30-11-2024_21-07-43] [WARN] No free channels available
[30-11-2024_21-07-43] [WARN] No free channels available
[30-11-2024_21-07-43] [WARN] No free channels available
[30-11-2024_21-07-45] [FATAL] A fatal error has occurred: Segmentation fault.
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::CrossPlatform::stackTrace(void*)+0x3d) [0x56250a5993cd]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x3fa) [0x56250a599dba]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(signalLogger(int)+0x45) [0x56250a3474d5]
[30-11-2024_21-07-45] [FATAL] /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f6408952090]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::Target::getLongitude() const+0x4) [0x56250ac01694]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::Globe::drawFlights()+0x2aa) [0x56250a75709a]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::Globe::draw()+0x7d) [0x56250a75b1dd]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::Timer::think(OpenXcom::State*, OpenXcom::Surface*)+0x10f) [0x56250a6dca2f]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(OpenXcom::Game::run()+0x1b7) [0x56250a5bdaf7]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(main+0x160) [0x56250a310430]
[30-11-2024_21-07-45] [FATAL] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f6408933083]
[30-11-2024_21-07-45] [FATAL] ./oxce_git_2024_11_01_1157-x86_64.AppImage(_start+0x2e) [0x56250a31843e]
[30-11-2024_21-07-47] [FATAL] OpenXcom has crashed: Segmentation fault.
Log file: /home/user/.local/share/openxcom/openxcom.log
If this error was unexpected, please report it on the OpenXcom forum (OXCE board).
The following can help us solve the problem:
1. a saved game from just before the crash (helps 98%)
2. a detailed description how to reproduce the crash (helps 80%)
3. a log file (helps 10%)
4. a screenshot of this error message (helps 5%)


Edit: Updated logfile output to attempt without sandboxing OXCE
« Last Edit: November 30, 2024, 10:13:17 pm by Cooper »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9116
    • View Profile
Re: Game crashes when enabling debug mode when UFO crash site exists
« Reply #1 on: December 01, 2024, 11:01:47 am »
thanks, it will be fixed later