Author Topic: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"  (Read 1018 times)

Offline Bluff

  • Squaddie
  • *
  • Posts: 1
    • View Profile
OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« on: March 01, 2025, 12:41:31 pm »
Hi! For 8.1 Linux App Image, Im getting "segmentation fault" pls check. Thanks
« Last Edit: March 03, 2025, 10:19:34 am by Meridian »

Offline Yankes

  • Commander
  • Global Moderator
  • Commander
  • *****
  • Posts: 3483
  • Posts: 421
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting
« Reply #1 on: March 01, 2025, 01:20:11 pm »
log?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9534
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #2 on: March 16, 2025, 11:11:44 am »
Runs fine for me on Kubuntu 24.04 LTS.

Offline Cooper

  • Colonel
  • ****
  • Posts: 190
  • Chryssalids are awesome
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #3 on: March 16, 2025, 12:42:49 pm »
Works without issues for me on Linux Mint as well

Offline robin

  • Commander
  • *****
  • Posts: 1263
  • ULTIMATE ROOKIE
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #4 on: April 30, 2025, 10:03:06 pm »
Joining this thread because I also have an issue with the AppImage.

Linux LMDE 6.

AppImage and TFTD+UFO folders are stored the following directory:
"home/myuser/Games/openxcom"
When I launch the AppImage from this location, it works.

I  created a launcher for the AppImage on the desktop (R-click > Create new launcher here). When I launch from the launcher, it does not work.

Log:
Code: [Select]
[30-04-2025_20-44-24] [INFO] OpenXcom Version: Extended 8.2.0 git 2025-04-08 09:13
[30-04-2025_20-44-24] [INFO] Platform: Linux
[30-04-2025_20-44-24] [INFO] Data folder is:
[30-04-2025_20-44-24] [INFO] Data search is:
[30-04-2025_20-44-24] [INFO] - /home/robin/.local/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/share/gnome/openxcom/
[30-04-2025_20-44-24] [INFO] - /home/robin/.local/share/flatpak/exports/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /var/lib/flatpak/exports/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/local/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /tmp/.mount_oxce_gMlFnNm/usr/bin/
[30-04-2025_20-44-24] [INFO] - /tmp/.mount_oxce_gMlFnNm/usr/bin//../share/openxcom/
[30-04-2025_20-44-24] [INFO] - ./
[30-04-2025_20-44-24] [INFO] User folder is: /home/robin/.local/share/openxcom/
[30-04-2025_20-44-24] [INFO] Config folder is: /home/robin/.config/openxcom/
[30-04-2025_20-44-24] [INFO] Options loaded successfully.
[30-04-2025_20-44-24] [INFO] SDL initialized successfully.
[30-04-2025_20-44-24] [INFO] SDL_mixer initialized successfully.
[30-04-2025_20-44-24] [INFO] Attempted locale: C.utf8
[30-04-2025_20-44-24] [INFO] Detected locale: C.utf8
[30-04-2025_20-44-24] [INFO] Attempting to set display to 1280x800x8...
[30-04-2025_20-44-24] [INFO] Display set to 1280x800x8.
[30-04-2025_20-44-24] [INFO] Loading data...
[30-04-2025_20-44-25] [INFO] Scanning standard mods in '/tmp/.mount_oxce_gMlFnNm/usr/bin//../share/openxcom/'...
[30-04-2025_20-44-25] [INFO] Scanning user mods in '/home/robin/.local/share/openxcom/'...
[30-04-2025_20-44-25] [INFO] FileMap::mapExtResources(xcom2, TFTD): external resources not found.
[30-04-2025_20-44-25] [INFO] FileMap::mapExtResources(xcom1, UFO): external resources not found.
[30-04-2025_20-44-25] [ERROR] no mod masters available
[30-04-2025_20-44-25] [ERROR] No X-COM installations found

Any idea how to solve it?
I notice on the third line that "Data folder is:" is not followed by anything, perhaps that is the cause?

Thanks
« Last Edit: April 30, 2025, 10:23:09 pm by robin »

Offline Yankes

  • Commander
  • Global Moderator
  • Commander
  • *****
  • Posts: 3483
  • Posts: 421
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #5 on: April 30, 2025, 10:20:02 pm »
Where you keep `UFO` folder?

Offline robin

  • Commander
  • *****
  • Posts: 1263
  • ULTIMATE ROOKIE
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #6 on: April 30, 2025, 10:21:53 pm »
"home/myuser/Games/openxcom/UFO"

Offline psavola

  • Commander
  • *****
  • Posts: 962
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #7 on: April 30, 2025, 10:50:06 pm »
This is probably a problem related to how you create the launcher and missing current working path, not an issue in AppImage.

Try adding the following to the launcher .desktop file using a text editor:

Path=home/myuser/Games/openxcom/UFO

Offline robin

  • Commander
  • *****
  • Posts: 1263
  • ULTIMATE ROOKIE
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #8 on: April 30, 2025, 11:10:30 pm »
This is probably a problem related to how you create the launcher and missing current working path, not an issue in AppImage.

Try adding the following to the launcher .desktop file using a text editor:

Path=home/myuser/Games/openxcom/UFO
it worked using
Path=/home/myuser/Games/openxcom
Thanks!

Offline Yankes

  • Commander
  • Global Moderator
  • Commander
  • *****
  • Posts: 3483
  • Posts: 421
    • View Profile
Re: OXCE 8.1 Linux App Image, I'm getting "segmentation fault"
« Reply #9 on: May 01, 2025, 12:59:51 pm »
"home/myuser/Games/openxcom/UFO"
compare to:
Code: [Select]
[30-04-2025_20-44-24] [INFO] - /home/robin/.local/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/share/gnome/openxcom/
[30-04-2025_20-44-24] [INFO] - /home/robin/.local/share/flatpak/exports/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /var/lib/flatpak/exports/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/local/share/openxcom/
[30-04-2025_20-44-24] [INFO] - /usr/share/openxcom/
This path is not on search list, this mean you need use psavola solution and explicitly ask OXC to search for your path or
move `UFO` to for example `/home/robin/.local/share/openxcom/`.