Bug 493688 - Crash on startup
Summary: Crash on startup
Status: RESOLVED DUPLICATE of bug 496202
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-26 12:35 UTC by K0RR
Modified: 2024-11-13 20:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot from the terminal emulator (38.44 KB, image/png)
2024-09-28 11:19 UTC, K0RR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description K0RR 2024-09-26 12:35:52 UTC
>If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
It this possible for flatpak apps?

SUMMARY

The app crashes instantly when launching:
>flatpak run org.kde.lokalize
>F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
>qt.qpa.xcb: could not connect to display 
>qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
>qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
>This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

>Available platform plugins are: vkkhrdisplay, eglfs, wayland-egl, minimalegl, vnc, xcb, linuxfb, wayland, offscreen, minimal.

SOFTWARE/OS VERSIONS

Linux: Zorin OS 17.2 Core
KDE Plasma Version: Using Gnome
KDE Frameworks Version: Flatpak version of Lokalize
Qt Version: same as above
Comment 1 Justin Zobel 2024-09-27 02:00:21 UTC
Please try to reset your flatpak permissions and try again:

flatpak permission-reset org.kde.lokalize
flatpak run org.kde.lokalize

After providing the requested information, please change the status back to REPORTED.
Comment 2 Justin Zobel 2024-09-27 04:54:34 UTC
Reset command is you want flatpak override --reset org.kde.lokalize

Previous one is wrong.
Comment 3 K0RR 2024-09-28 11:19:57 UTC
Created attachment 174165 [details]
Screenshot from the terminal emulator
Comment 4 K0RR 2024-09-28 11:22:13 UTC
Done, sadly nothing has changed.
Comment 5 Albert Astals Cid 2024-10-05 06:47:34 UTC
can you post the output of 
  flatpak info org.kde.lokalize
and
flatpak info org.kde.Platform/x86_64/6.7
?
Comment 6 Bug Janitor Service 2024-10-20 03:47:35 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-11-04 03:46:25 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 8 K0RR 2024-11-09 18:21:32 UTC
(In reply to Albert Astals Cid from comment #5)
> can you post the output of 
>   flatpak info org.kde.lokalize
> and
> flatpak info org.kde.Platform/x86_64/6.7
> ?

➜  ~ flatpak info org.kde.lokalize

Lokalize - Computer-aided translation system

          ID: org.kde.lokalize
         Ref: app/org.kde.lokalize/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 24.08.3
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 8,5 MB
     Runtime: org.kde.Platform/x86_64/6.7
         Sdk: org.kde.Sdk/x86_64/6.7

      Commit: d802dfa4b8b2663c309e77b478497218c5b1c81d79f738c0d04f8ee5006a6d30
      Parent: 148b9f9a5bd1695fdbbfba364bcbc31849a1cc7839a1d21c3c62f3f6b2c93501
     Subject: lokalize: Update lokalize-24.08.2.tar.xz to 24.08.3 (21725b83)
        Date: 2024-11-08 09:54:36 +0000


➜  ~ flatpak info org.kde.Platform/x86_64/6.7


KDE Application Platform - Shared libraries used by KDE applications

          ID: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/6.7
        Arch: x86_64
      Branch: 6.7
     License: GPL-2.0+
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 931,2 MB

      Commit: 4afea99cd9ad27be52bc0b5677b3c0490ef6b3840d1a668da9ca7250f7c39dca
      Parent: 2b950249ae84280b555ae80d007435dd1a2e855ac049949abb18280e47586901
     Subject: build of org.kde.Sdk, Fri Oct 11 12:40:29 UTC 2024 (963ed69946799a84609f9fa0ba904f17ea079f67)
        Date: 2024-10-11 21:11:20 +0000
Comment 9 Albert Astals Cid 2024-11-10 10:45:26 UTC
You are running those versions and your output is 

From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.

?
Comment 10 K0RR 2024-11-10 16:31:48 UTC
i have the dependency installed.


$ flatpak run org.kde.lokalize
F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: vkkhrdisplay, eglfs, wayland-egl, minimalegl, vnc, xcb, linuxfb, wayland, offscreen, minimal.

$ sudo apt install libxcb-cursor0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxcb-cursor0 is already the newest version (0.1.1-4ubuntu1).
Comment 11 Albert Astals Cid 2024-11-10 21:22:33 UTC
There's something messed up in your system, the error you paste is complaining about Qt 6.5 but that lokalize is compiled against Qt 6.7 so it should not do that, not much more we can do here.
Comment 12 Albert Astals Cid 2024-11-13 20:57:45 UTC
*** This bug has been marked as a duplicate of bug 496202 ***