Bug 506867

Summary: Discover crashes when updating Flatpaks
Product: [Applications] Discover Reporter: Riccardo Robecchi <sephiroth_pk>
Component: Flatpak BackendAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: aleixpol, jgrulich, kdedev, sitter, travier
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.4.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/214266/events/8a972632dcee4eedb4ac6da414bf7400/
Attachments: New crash information added by DrKonqi

Description Riccardo Robecchi 2025-07-10 14:07:30 UTC
Application: plasma-discover (6.4.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.0
Frameworks Version: 6.15.0
Operating System: Linux 6.15.3-x64v3-xanmod1 x86_64
Windowing System: X11
Distribution: KDE neon User Edition
DrKonqi: 6.4.2 [CoredumpBackend]

-- Information about the crash:
Discover crashes when I try to update Flatpak applications. The crash is reproducible every time.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f7806c4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f7806c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f78079247d9 in qAbort () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x00007f7807925ac7 in QMessageLogger::fatal (this=<optimized out>, msg=0x7f7807649e88 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:883
#15 0x00007f78079100d1 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105
#16 0x00007f77c041ad60 in ??? () at /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
#17 0x00007f7802321b16 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#18 0x00007f780231e3ef in ffi_call_int (cif=cif@entry=0x7f7776ffc0d0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#19 0x00007f78023210be in ffi_call (cif=cif@entry=0x7f7776ffc0d0, fn=fn@entry=0x7f77c0461ec0, rvalue=rvalue@entry=0x7f7776ffc030, avalue=avalue@entry=0x7f7776ffbfd0) at ../src/x86/ffi64.c:710
#24 0x00007f7805518883 in <emit signal '???' on instance 0x7f77480077e0 [FlatpakTransaction]> (instance=instance@entry=0x7f77480077e0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3583
    #20 0x00007f78054ff2d3 in g_cclosure_marshal_generic_va (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=<optimized out>) at ../../../gobject/gclosure.c:1652
    #21 0x00007f78055186bd in _g_closure_invoke_va (param_types=0x7f778013a7a0, n_params=<optimized out>, args=0x7f7776ffc380, instance=0x7f77480077e0, return_value=0x7f7776ffc270, closure=0x7f7748012120) at ../../../gobject/gclosure.c:897
    #22 signal_emit_valist_unlocked (instance=instance@entry=0x7f77480077e0, signal_id=signal_id@entry=71, detail=detail@entry=0, var_args=var_args@entry=0x7f7776ffc380) at ../../../gobject/gsignal.c:3424
    #23 0x00007f78055187c1 in g_signal_emit_valist (instance=0x7f77480077e0, signal_id=71, detail=0, var_args=var_args@entry=0x7f7776ffc380) at ../../../gobject/gsignal.c:3263
#25 0x00007f77c0398ace in find_runtime_remote (cancellable=0x0, error=0x7f7776ffc738, source_kind=<optimized out>, runtime_ref=<optimized out>, app_remote=<optimized out>, app_ref=0x7f7748002210, self=<optimized out>) at common/flatpak-transaction.c:2444
#26 add_new_dep_op (self=<optimized out>, op=<optimized out>, dep_ref=<optimized out>, dep_op=0x7f7776ffc600, error=0x7f7776ffc738) at common/flatpak-transaction.c:2517
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f7806c4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f7806c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007f78079247d9 in qAbort () at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:46
#12 qt_message_fatal<QString&> (message=..., context=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:2149
[...]
#14 0x00007f7807925ac7 in QMessageLogger::fatal (this=<optimized out>, msg=0x7f7807649e88 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qlogging.cpp:883
#15 0x00007f78079100d1 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105
#16 0x00007f77c041ad60 in ??? () at /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
#17 0x00007f7802321b16 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#18 0x00007f780231e3ef in ffi_call_int (cif=cif@entry=0x7f7776ffc0d0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#19 0x00007f78023210be in ffi_call (cif=cif@entry=0x7f7776ffc0d0, fn=fn@entry=0x7f77c0461ec0, rvalue=rvalue@entry=0x7f7776ffc030, avalue=avalue@entry=0x7f7776ffbfd0) at ../src/x86/ffi64.c:710
#24 0x00007f7805518883 in <emit signal '???' on instance 0x7f77480077e0 [FlatpakTransaction]> (instance=instance@entry=0x7f77480077e0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3583
    #20 0x00007f78054ff2d3 in g_cclosure_marshal_generic_va (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=<optimized out>) at ../../../gobject/gclosure.c:1652
    #21 0x00007f78055186bd in _g_closure_invoke_va (param_types=0x7f778013a7a0, n_params=<optimized out>, args=0x7f7776ffc380, instance=0x7f77480077e0, return_value=0x7f7776ffc270, closure=0x7f7748012120) at ../../../gobject/gclosure.c:897
    #22 signal_emit_valist_unlocked (instance=instance@entry=0x7f77480077e0, signal_id=signal_id@entry=71, detail=detail@entry=0, var_args=var_args@entry=0x7f7776ffc380) at ../../../gobject/gsignal.c:3424
    #23 0x00007f78055187c1 in g_signal_emit_valist (instance=0x7f77480077e0, signal_id=71, detail=0, var_args=var_args@entry=0x7f7776ffc380) at ../../../gobject/gsignal.c:3263
#25 0x00007f77c0398ace in find_runtime_remote (cancellable=0x0, error=0x7f7776ffc738, source_kind=<optimized out>, runtime_ref=<optimized out>, app_remote=<optimized out>, app_ref=0x7f7748002210, self=<optimized out>) at common/flatpak-transaction.c:2444
#26 add_new_dep_op (self=<optimized out>, op=<optimized out>, dep_ref=<optimized out>, dep_op=0x7f7776ffc600, error=0x7f7776ffc738) at common/flatpak-transaction.c:2517


Reported using DrKonqi
Comment 1 Riccardo Robecchi 2025-07-10 14:07:31 UTC
Created attachment 183127 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Harald Sitter 2025-07-10 16:39:08 UTC
Could you please install debug symbols and attach a new symbolicated backtrace generated by using coredumpctl gdb in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.
Thanks!
Comment 3 Riccardo Robecchi 2025-07-10 16:39:54 UTC
I did install debug symbols. Which should I install that aren't present?
Comment 4 Harald Sitter 2025-07-10 16:44:15 UTC
The one for the flatpak backend.

#16 0x00007f77c041ad60 in ??? () at /usr/lib/x86_64-linux-gnu/qt6/plugins/discover/flatpak-backend.so
Comment 5 Bug Janitor Service 2025-07-25 03:46:56 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 6 Bug Janitor Service 2025-08-09 03:46:59 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.