-
September 3rd, 2024, 22:25 #1
- Join Date
- Dec 2023
- Posts
- 8
SOLVED - Segmentation Fault and crash when trying to import images on Linux
Solution: set the "GDK_BACKEND=x11" environment variable in the .desktop file for FGU.
Trying to import images into a campaign causes FGU to crash to desktop.
OS: Ubuntu 24.04 LTS with KDE Plasma desktop (Wayland)
Rulesets tested:
- Mongoose Traveller 2E
- 5E
- Core RPG
Extensions/Themes: None
Modules Loaded: None
Steps to reproduce:
- Create a new campaign in any ruleset.
- Open the "Images" window from the Campaign tool box.
- Click on the "import" button.
- Watch as FGU disappears.
I tried running FGU from a terminal to capture any debugging info but the only message was "Segmentation fault (core dumped)". I have my system set to not generate core files but if it would be helpful I will happily turn it on and send a core file.
If there is anything else that would help debug the problem I am happy to provide it.Last edited by shindaseishin; September 4th, 2024 at 01:18. Reason: Adding SOLVED to title to indicate that the issue is resolved. Also adding the solution to the first post to help anyone who finds this thread later.
-
September 3rd, 2024, 23:20 #2
EDIT: Nevermind, for some reason I was thinking the installer/updater was crashing.
Do you have MS Core Fonts installed? See the note at the bottom on this page: Installing on Linux - Fantasy Grounds Customer Portal - Fantasy Grounds (atlassian.net)Last edited by LordEntrails; September 3rd, 2024 at 23:23.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
September 3rd, 2024, 23:49 #3
- Join Date
- Dec 2023
- Posts
- 8
Yes. I have the ms core fonts installed.
-
September 4th, 2024, 00:14 #4
When the import image button is clicked, an operating system file selection dialog is opened. If the crash occurs without this window opening, then it might be a rights issue to the location that the file dialog is trying to open. Have you used the dialog successfully before? Or is this the first time you've tried to use it?
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 4th, 2024, 00:17 #5
- Join Date
- Dec 2023
- Posts
- 8
The file selection box does not open. This is the first time I've tried to use it. I should have read permissions to almost all the system. Definitely everything under my home directory
-
September 4th, 2024, 00:32 #6
- Join Date
- Dec 2023
- Posts
- 8
It seems to be a xorg vs Wayland issue. I restarted my session in xorg instead of wayland and now the import button works.
-
September 4th, 2024, 00:51 #7
Here is an older discussion on issues with File Browsing on Wayland
https://www.fantasygrounds.com/forum...Testing/page61
-
September 4th, 2024, 01:14 #8
- Join Date
- Dec 2023
- Posts
- 8
Adding the env variable to force xwayland does the trick as recommended in that thread. Thanks for the help. Marking this as SOLVED.
-
September 4th, 2024, 03:35 #9
Thanks for confirming.
@Moon Wizard - is this something that can be done in the installer?
-
September 4th, 2024, 04:36 #10
We have discussed adding a dev cycle for Q4 on the installers. We can add this to the list to investigate.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks