Bug 510134 - Unexpected crash: Not able to use the app
Summary: Unexpected crash: Not able to use the app
Status: RESOLVED FIXED
Alias: None
Product: Qt/KDE Flatpak Runtime
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 16:52 UTC by kde
Modified: 2025-10-01 22:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2025-10-01 16:52:50 UTC
SUMMARY

The last update of the Runtime seems to have broken KeepassXC which crashes upon interacting with the 

STEPS TO REPRODUCE
1. Install KeepassXC as a flatpak
2. opn it
3. click on the window

OBSERVED RESULT
The window disappears

EXPECTED RESULT
Beeing able to use the App

SOFTWARE/OS VERSIONS
Fedora 42 Workstation (GNOME)
flatpak 1.16.1
org.kde.Platform 6.9

ADDITIONAL INFORMATION
For mor Info see https://github.com/keepassxreboot/keepassxc/issues/12526
Comment 1 kde 2025-10-01 16:58:27 UTC
SUMMARY

The last update of the Runtime seems to have broken KeepassXC which crashes upon interacting with the window.
Comment 2 Albert Astals Cid 2025-10-01 17:03:05 UTC
KeepassXC seems to use 5.15-24.08 and not 6.9, right?

Works fine for me.

Can you paste
flatpak info org.keepassxc.KeePassXC
and
flatpak info org.kde.Platform/x86_64/5.15-24.08
?

Can you give us a backtrace of the crash?

I think 
flatpak-coredumpctl  org.keepassxc.KeePassXC
would be the command that would give it to you.
Comment 3 kde 2025-10-01 17:09:53 UTC
flatpak info org.keepassxc.KeePassXC

KeePassXC - Von der Community entwickelter Port der Windows Anwendung “KeePass
Password Safe”

         Kennung: org.keepassxc.KeePassXC
             Ref: app/org.keepassxc.KeePassXC/x86_64/stable
     Architektur: x86_64
           Zweig: stable
         Version: 2.7.10
          Lizenz: GPL-3.0+
        Ursprung: flathub
        Sammlung: org.flathub.Stable
    Installation: system
     Installiert: 49,9 MB
Laufzeitumgebung: org.kde.Platform/x86_64/5.15-24.08
             Sdk: org.kde.Sdk/x86_64/5.15-24.08

          Commit: 3d9f47e8875f329f0941293b3386a36e1190da4c4cc50c9664d79bc001561ecf
          Parent: 3f6ba9832930f879ff7f80521b8d122e60dd933a9bd00098154c844c0fb6b138
         Betreff: Revert "Update pcsc-lite to 2.3.3 for compatibility with newer systems" (00ba3388e873)
           Datum: 2025-09-24 22:17:20 +0000
---------------------
flatpak info org.kde.Platform/x86_64/5.15-24.08

KDE Application Platform - Shared libraries used by KDE applications

     Kennung: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/5.15-24.08
 Architektur: x86_64
       Zweig: 5.15-24.08
      Lizenz: GPL-2.0+
    Ursprung: flathub
    Sammlung: org.flathub.Stable
Installation: system
 Installiert: 996,0 MB

      Commit: f2d8aa93b805bed67e4422db2259f22dbd11eeefd15cfde5fa3f3b6409c08ce0
      Parent: 79fbdb22e166f20c4ca1f6639415d8dac00cfe64b07ab18d0f5a875c73942225
     Betreff: build of org.kde.Sdk, Tue Sep 30 04:57:28 PM UTC 2025, 84fcbb05d3627e27fc78c0c481dc8b12d832e5c7
       Datum: 2025-09-30 23:09:53 +0000
------------
If i try to generate the bactrace it gives me errors about the Tor-Browser which does not seem right.
Comment 4 kde 2025-10-01 17:23:57 UTC
The Problem is not that it does not start. You can use it by keyboard but when you click anywhere on the window, the window disappears. Even when you just resize it.
Comment 5 kde 2025-10-01 17:41:15 UTC
If you run the following comands, the issue is resolved:

sudo flatpak update --commit=79fbdb22e166f20c4ca1f6639415d8dac00cfe64b07ab18d0f5a875c73942225 org.kde.Platform/x86_64/5.15-24.08
sudo flatpak update --commit=7be7499e9ecfa18a3d5de622b6caba44ff98bcdb4465a338330ffe3711ed02b2 org.kde.Platform.Locale/x86_64/5.15-24.08

It seems to revert the last commit.
Comment 6 Albert Astals Cid 2025-10-01 21:08:41 UTC
We probably need a org.kde.WaylandDecoration.QAdwaitaDecorations rebuild, can you confirm that uninstalling org.kde.WaylandDecoration.QAdwaitaDecorations fixes your problem?
Comment 7 kde 2025-10-01 21:21:45 UTC
Yes, I can confirm that with removing org.kde.WaylandDecoration.QAdwaitaDecorations the Issue goes away. The other workaround is resetting the Platform and Locale to the previous commit (as mentioned previously)
-------------------
eichehome@Tower:~$ flatpak uninstall org.kde.WaylandDecoration.QAdwaitaDecorations
Info: applications using the extension org.kde.WaylandDecoration.QAdwaitaDecorations branch 5.15-24.08:
   com.makemkv.MakeMKV, org.keepassxc.KeePassXC, org.videolan.VLC
Really remove? [y/n]: y


        KENNUNG                                                   Zweig                 Op
 1. [-] org.kde.WaylandDecoration.QAdwaitaDecorations             5.15-24.08            r

Deinstallation abgeschlossen.
eichehome@Tower:~$ flatpak info org.kde.Platform/x86_64/5.15-24.08

KDE Application Platform - Shared libraries used by KDE applications

     Kennung: org.kde.Platform
         Ref: runtime/org.kde.Platform/x86_64/5.15-24.08
 Architektur: x86_64
       Zweig: 5.15-24.08
      Lizenz: GPL-2.0+
    Ursprung: flathub
    Sammlung: org.flathub.Stable
Installation: system
 Installiert: 996,0 MB

      Commit: f2d8aa93b805bed67e4422db2259f22dbd11eeefd15cfde5fa3f3b6409c08ce0
      Parent: 79fbdb22e166f20c4ca1f6639415d8dac00cfe64b07ab18d0f5a875c73942225
     Betreff: build of org.kde.Sdk, Tue Sep 30 04:57:28 PM UTC 2025, 84fcbb05d3627e27fc78c0c481dc8b12d832e5c7
       Datum: 2025-09-30 23:09:53 +0000
eichehome@Tower:~$ flatpak --verbose run org.keepassxc.KeePassXC 
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/eichehome/.local/share/flatpak
F: Opening user flatpak installation at path /home/eichehome/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/eichehome/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.kde.Platform/x86_64/5.15-24.08/f2d8aa93b805bed67e4422db2259f22dbd11eeefd15cfde5fa3f3b6409c08ce0/files/lib32 does not exist
F: Cleaning up unused container id 2220668401
F: Allocated instance id 2145425265
F: Add defaults in dir /org/keepassxc/KeePassXC/
F: Add locks in dir /org/keepassxc/KeePassXC/
F: Allowing host-fs access
F: Allowing wayland access
F: Allowing x11 access
F: Running '/usr/bin/bwrap --args 42 -- /usr/bin/xdg-dbus-proxy --args=44'
F: Running '/usr/bin/bwrap --args 42 -- keepassxc-wrapper'
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme  ""
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Requested decoration  "gnome"  not found, falling back to default
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
eichehome@Tower:~$
Comment 8 kde 2025-10-01 21:40:47 UTC
The Root cause has probably something to do with this segfault:
Okt 01 23:37:52 Tower kernel: keepassxc[22369]: segfault at 8 ip 00007f7b0af4b5e5 sp 00007ffc44ae5340 error 4 in libqadwaitadecorations.so[e5e5,7f7b0af47000+11000] likely on CPU 0 (core 0, socket 0)
Okt 01 23:37:52 Tower kernel: Code: ff ff 48 89 df e8 9b d1 ff ff 48 83 b8 08 01 00 00 00 74 4b 48 89 df 4c 8d 65 c8 e8 85 d1 ff ff 4c 89 e7 4c 8b a8 08 01 00 00 <49> 8b 45 00 48 c7 45 d0 00 00 00 00 4c 8b 70 18 e8 16 cc ff ff 48
Comment 9 Albert Astals Cid 2025-10-01 22:45:31 UTC
I've rebuilt org.kde.WaylandDecoration.QAdwaitaDecorations

Once the update hits please update and the crash will be gone.