https://bugs.kde.org/show_bug.cgi?id=528572

            Bug ID: 528572
           Summary: Crash in KJobUiDelegate::setAutoErrorHandlingEnabled
                    (flatpak-backend) when clicking a button on the page
                    of an app whose runtime is not installed
    Classification: Applications
           Product: Discover
      Version First 6.8.1
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: discover
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Summary:
Crash in KJobUiDelegate::setAutoErrorHandlingEnabled (flatpak-backend) when
clicking a button on the page of an app whose runtime is not installed

Description:
STEPS TO REPRODUCE
1. Have org.gnome.Platform//50 installed but not //51.
2. In Discover, open the page for net.donnybeelo.Convey (Flathub), which
requires org.gnome.Platform//51.
3. Click the Install button.

OBSERVED RESULT
Discover crashes with SIGSEGV (SEGV_MAPERR) in the main thread, inside the
click handler.
Before the click, Discover had logged several times:
  could not find runtime "org.gnome.Platform/x86_64/51"
FlatpakResource(0x55570a2cdff0, name = "net.donnybeelo.Convey/x86_64/stable")
It had also pulled net.donnybeelo.Convey.Locale and
org.gnome.Platform.Locale//51, but not the app or the runtime.

EXPECTED RESULT
Discover installs the app together with its runtime, or reports an error. It
should not crash.

SOFTWARE/OS VERSIONS
Operating system: Arch Linux (Omarchy), kernel 7.2.15
Window manager: Hyprland (Wayland), not Plasma
Discover 6.8.1, KF6 CoreAddons 6.31.0, Qt 6.12.0, flatpak 1.18.4

ADDITIONAL INFORMATION
I have seen this crash once.
I could not get debug symbols for flatpak-backend.so: gdb aborted with an
internal error while fetching them from debuginfod.
Backtrace of the crashing thread (from systemd-coredump):

#0  KJobUiDelegate::setAutoErrorHandlingEnabled(bool) (libKF6CoreAddons.so.6 +
0x8a7b4)
#1  n/a (flatpak-backend.so + 0x33b84)
#2  n/a (flatpak-backend.so + 0x35ce7)
#3  n/a (libQt6Qml.so.6 + 0x364d03)
#4  n/a (libQt6Qml.so.6 + 0x1ff105)
#5  QV4::QObjectMethod::callPrecise(...) (libQt6Qml.so.6)
#6  QV4::QObjectMethod::callInternal(...) (libQt6Qml.so.6)
...
#12 QQmlBoundSignalExpression::evaluate(void**) (libQt6Qml.so.6)
#17 QQuickAbstractButtonPrivate::trigger(bool) (libQt6QuickTemplates2.so.6)
#18 QQuickAbstractButtonPrivate::handleRelease(...)
(libQt6QuickTemplates2.so.6)
#19 QQuickControl::mouseReleaseEvent(QMouseEvent*) (libQt6QuickTemplates2.so.6)
...
#40 QCoreApplication::exec() (libQt6Core.so.6)

This might be related to bug #484886 (Discover fails to find installed runtimes
required by some flatpak apps), but the crash itself is new.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to