Skip to content

[Bug]: Jasp 0.19.1 crashes immediately in KDE/Kubuntu 24.04 #2925

@kid4git

Description

@kid4git

JASP Version

Others

Commit ID

a7ca00d09fc8a4c990031d10ba3d20a43c86d823

JASP Module

Other

What analysis are you seeing the problem on?

No response

What OS are you seeing the problem on?

Ubuntu

Bug Description

On KDE in Kubuntu 24.04 (both X11 and Wayland), the application window appears for two or three seconds and then crashes. It works fine on Fluxbox and Gnome. I didn't have these issues in 0.18.1 that I used before (a couple of months ago).

Expected Behaviour

The application should not crash.

Steps to Reproduce

  1. install JASP via "flatpak install JASP" on Kubuntu
  2. launch JASP via "flatpak run org.jaspstats.JASP"

Log (if any)

$ flatpak run org.jaspstats.JASP
Desktop: QML cache directory: /home/user/.var/app/org.jaspstats.JASP/cache/JASP/JASP/qmlcache_a7ca00d09fc8a4c990031d10ba3d20a43c86d823
Making new argument list for Application startup: JASP
Starting JASP 0.19.1 from commit a7ca00d09fc8a4c990031d10ba3d20a43c86d823 and branch HEAD
QtWebEngineQuick initialized
warning: queue 0x630043e00310 destroyed while proxies still attached:
wl_registry@28 still attached
Application initialized
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
Application init entered
MainWindow constructor started
TempFiles::createSessionDir(): '/home/user/.JASP/temp/3' about to be (removed and re)created.
Going to construct the necessary models for JASP to function.
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-zh_Hant.qm
Desktop: Language (Chinese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-zh_Hans.qm
Desktop: Language (Chinese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-nl.qm
Desktop: Language (Dutch) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-it.qm
Desktop: Language (Italian) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pl.qm
Desktop: Language (Polish) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-de.qm
Desktop: Language (German) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pt_BR.qm
Desktop: Invalid translation file found with name: jaspDesktop-pt_BR.qm
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-fr.qm
Desktop: Language (French) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-pt.qm
Desktop: Language (Portuguese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-es.qm
Desktop: Language (Spanish) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-ru.qm
Desktop: Language (Russian) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-gl.qm
Desktop: Language (Galician) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-tr.qm
Desktop: Invalid translation file found with name: jaspDesktop-tr.qm
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-ja.qm
Desktop: Language (Japanese) not registered in LanguageModel, adding it now
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-eo.qm
Desktop: Invalid translation file found with name: jaspDesktop-eo.qm
Desktop: Checking qm file: /app/Resources/Translations/jaspDesktop-id.qm
Desktop: Language (Indonesian) not registered in LanguageModel, adding it now
Desktop: Opened internal sqlite database for creation at '/home/user/.JASP/temp/3/internal.sqlite'.
Desktop: DataSet::DataSet(index=-1)
Desktop: DataSetPackage::reset()
Desktop: DataSet::DataSet(index=-1)
Desktop: DataSetPackage::endLoadingData
Entering eventloop
Error in loadNamespace(x) : there is no package called ‘jaspBase’
Error in loadNamespace(x) : there is no package called ‘jaspBase’

There is no output after the application crashed. The system log doesn't contain any information either.

Here are diffs of the program output on Gnome/Wayland compared to KDE/X11 and Wayland:

$ diff -u jasp-gnome-wayland.txt jasp-kde-x11.txt

--- jasp-gnome-wayland.txt      2024-09-23 09:46:23.809985270 +0200
+++ jasp-kde-x11.txt    2024-09-23 10:13:53.687758841 +0200
@@ -2,6 +2,8 @@
 Making new argument list for Application startup: JASP
 Starting JASP 0.19.1 from commit a7ca00d09fc8a4c990031d10ba3d20a43c86d823 and branch HEAD
 QtWebEngineQuick initialized
+QIBusPlatformInputContext: invalid portal bus.
+Qt: Session management error: Could not open network socket
 Application initialized
 Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
 Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
@@ -48,7 +50,5 @@
 Desktop:       DataSet::DataSet(index=-1)
 Desktop:       DataSetPackage::endLoadingData
 Entering eventloop
-Requested decoration  "adwaita"  not found, falling back to default
 Error in loadNamespace(x) : there is no package called ‘jaspBase’
 Error in loadNamespace(x) : there is no package called ‘jaspBase’
-QProcess: Destroyed while process ("/app/bin/JASPEngine") is still running.

$ diff -u jasp-gnome-wayland.txt jasp-kde-wayland.txt

--- jasp-gnome-wayland.txt      2024-09-23 09:46:23.809985270 +0200
+++ jasp-kde-wayland.txt        2024-09-23 10:16:31.697132557 +0200
@@ -2,6 +2,8 @@
 Making new argument list for Application startup: JASP
 Starting JASP 0.19.1 from commit a7ca00d09fc8a4c990031d10ba3d20a43c86d823 and branch HEAD
 QtWebEngineQuick initialized
+warning: queue 0x630043e00310 destroyed while proxies still attached:
+wl_registry@28 still attached
 Application initialized
 Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
 Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
@@ -48,7 +50,5 @@
 Desktop:       DataSet::DataSet(index=-1)
 Desktop:       DataSetPackage::endLoadingData
 Entering eventloop
-Requested decoration  "adwaita"  not found, falling back to default
 Error in loadNamespace(x) : there is no package called ‘jaspBase’
 Error in loadNamespace(x) : there is no package called ‘jaspBase’
-QProcess: Destroyed while process ("/app/bin/JASPEngine") is still running.

I also tried the beta version from flathub-beta with the same result.

More Debug Information

-------- Application Info --------
JASP Version: JASP 0.19.1
Build Branch: HEAD
Build Date: Sep 10 2024 13:48:11 (Netherlands)
Last Commit: a7ca00d09fc8a4c990031d10ba3d20a43c86d823

-------- Basic Info --------
Operating System: KDE Flatpak runtime
Product Version: 6.7
Kernel Type: linux
Kernel Version: 6.9.12-060912-generic
Architecture: x86_64
Install Path: /app/bin
Platfotm Name: wayland
System Local: de_DE

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions