Bug 506128

Summary: Crash in KDirOperator::updateDir() during Firefox Download Save
Product: [Frameworks and Libraries] frameworks-kio Reporter: dezzadk
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: crash CC: aleixpol, kdedev, kdelibs-bugs-null, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.15.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description dezzadk 2025-06-24 23:21:48 UTC
Application: xdg-desktop-portal-kde (6.4.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.15.0
Operating System: Linux 6.15.2-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 6.4.0 [CoredumpBackend]

-- Information about the crash:
xdg-desktop-portal-kde seems to crash on a Firefox save.

The stack trace complain about pulseaudio memfd being unavailable - not sure why xdg-desktop-kde calls this.

Another fact, is that the system has been in "Sleep", and "Resumed" once during this boot.

There have been several files of same type saved during this session, so it does not seem easily reproducable.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#5  std::__uniq_ptr_impl<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::_M_ptr (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:193
#6  std::unique_ptr<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::get (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:473
#7  std::unique_ptr<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::operator-> (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:466
#8  KCoreDirLister::emitChanges (this=0x0) at /usr/src/debug/kio-6.15.0/src/core/kcoredirlister.cpp:2242
#9  0x00007f42fee0d8a1 in KDirOperator::updateDir (this=0x55c361228b60) at /usr/src/debug/kio-6.15.0/src/filewidgets/kdiroperator.cpp:964
#10 0x00007f42fee37140 in KFileWidgetPrivate::slotMimeFilterChanged (this=0x55c360f186e0) at /usr/src/debug/kio-6.15.0/src/filewidgets/kfilewidget.cpp:1615
#11 0x00007f42fbe199a1 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=0x55c360f187f8, signal_index=3, argv=0x7fff8b3cb7c0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
[...]
#14 QTimer::timeout (this=<optimized out>, _t1=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:182
#15 0x00007f42fbe05689 in QObject::event (this=0x55c360f187f8, e=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:1406
#16 0x00007f42fcfe0d9a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c360f187f8, e=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/widgets/kernel/qapplication.cpp:3303
#17 0x00007f42fbdb8b28 in QCoreApplication::notifyInternal2 (receiver=0x55c360f187f8, event=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1106
#18 0x00007f42fbf2c8cf in QTimerInfoList::activateTimers (this=0x55c3609dc900) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qtimerinfo_unix.cpp:426
#19 0x00007f42fc0208ec in timerSourceDispatch (source=source@entry=0x55c3609dc8a0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#20 0x00007f42fa1b3eb3 in g_main_dispatch (context=0x7f42f0000f00) at ../glib/gmain.c:3398
#21 g_main_context_dispatch_unlocked (context=context@entry=0x7f42f0000f00) at ../glib/gmain.c:4249


Reported using DrKonqi
Comment 1 dezzadk 2025-06-24 23:21:49 UTC
Created attachment 182622 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 dezzadk 2025-06-24 23:23:40 UTC
When I say "Sleep" I mean to suspend-to-RAM btw.
Comment 3 TraceyC 2025-08-13 17:01:31 UTC
Searchable backtrace

Thread 1 (Thread 0x7f42f8084240 (LWP 3538)):
[KCrash Handler]
#5  std::__uniq_ptr_impl<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::_M_ptr (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:193
#6  std::unique_ptr<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::get (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:473
#7  std::unique_ptr<KCoreDirListerPrivate, std::default_delete<KCoreDirListerPrivate> >::operator-> (this=0x10) at /usr/include/c++/15/bits/unique_ptr.h:466
#8  KCoreDirLister::emitChanges (this=0x0) at /usr/src/debug/kio-6.15.0/src/core/kcoredirlister.cpp:2242
#9  0x00007f42fee0d8a1 in KDirOperator::updateDir (this=0x55c361228b60) at /usr/src/debug/kio-6.15.0/src/filewidgets/kdiroperator.cpp:964
#10 0x00007f42fee37140 in KFileWidgetPrivate::slotMimeFilterChanged (this=0x55c360f186e0) at /usr/src/debug/kio-6.15.0/src/filewidgets/kfilewidget.cpp:1615
#11 0x00007f42fbe199a1 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs_impl.h:461
#12 doActivate<false> (sender=0x55c360f187f8, signal_index=3, argv=0x7fff8b3cb7c0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:4146
#13 0x00007f42fbe1da5e in QMetaObject::activate<void, QTimer::QPrivateSignal> (sender=<optimized out>, mo=<optimized out>, local_signal_index=0, ret=0x0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobjectdefs.h:306
#14 QTimer::timeout (this=<optimized out>, _t1=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/build/src/corelib/Core_autogen/include/moc_qtimer.cpp:182
#15 0x00007f42fbe05689 in QObject::event (this=0x55c360f187f8, e=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qobject.cpp:1406
#16 0x00007f42fcfe0d9a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c360f187f8, e=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/widgets/kernel/qapplication.cpp:3303
#17 0x00007f42fbdb8b28 in QCoreApplication::notifyInternal2 (receiver=0x55c360f187f8, event=0x7fff8b3cb940) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qcoreapplication.cpp:1106
#18 0x00007f42fbf2c8cf in QTimerInfoList::activateTimers (this=0x55c3609dc900) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qtimerinfo_unix.cpp:426
#19 0x00007f42fc0208ec in timerSourceDispatch (source=source@entry=0x55c3609dc8a0) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:152
#20 0x00007f42fa1b3eb3 in g_main_dispatch (context=0x7f42f0000f00) at ../glib/gmain.c:3398
#21 g_main_context_dispatch_unlocked (context=context@entry=0x7f42f0000f00) at ../glib/gmain.c:4249
#22 0x00007f42fa1b5ce8 in g_main_context_iterate_unlocked (context=context@entry=0x7f42f0000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4314
#23 0x00007f42fa1b652c in g_main_context_iteration (context=0x7f42f0000f00, may_block=1) at ../glib/gmain.c:4379
#24 0x00007f42fc01de83 in QEventDispatcherGlib::processEvents (this=0x55c360992b30, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#25 0x00007f42fbdc3afb in QEventLoop::exec (this=0x7fff8b3cbbc0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#26 0x00007f42fbdbc40c in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/corelib/global/qflags.h:77
#27 0x00007f42fc617120 in QGuiApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/gui/kernel/qguiapplication.cpp:1986
#28 0x00007f42fcfdcb79 in QApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.9.1/src/widgets/kernel/qapplication.cpp:2570
#29 0x000055c34d40e7af in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/xdg-desktop-portal-kde-6.4.0/src/xdg-desktop-portal-kde.cpp:68