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

            Bug ID: 501775
           Summary: Konsole crashes when saving file in Firefox via the
                    file picker portal
    Classification: Applications
           Product: konsole
           Version: 24.12.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-de...@kde.org
          Reporter: accounts+...@chiller3.com
  Target Milestone: ---

SUMMARY

This is a bit of an odd one. When I save a file in Firefox with the KDE file
picker via XDG portals, Konsole will sometimes crash. The issue is not always
reproducible, but I've encountered it 5 times so far. I've attached a backtrace
with debug symbols below.

This only started happening very recently. Based on the timestamps in
coredumpctl, it very likely started happening after Fedora 41 upgraded the
frameworks from 6.11.0 to 6.12.0. I do see kconfig in the backtrace, but I
wasn't sure if I should report the issue for konsole or kconfig since konsole
is the only KDE application that's been crashing on my system.

STEPS TO REPRODUCE

1. If Firefox isn't already using XDG portals, set
widget.use-xdg-desktop-portal.file-picker=1 in about:config
2. Go to https://kde.org
3. Right click any image and save it
4. Hit the save button in the KDE file picker dialog

OBSERVED RESULT

Konsole sometimes crashes (though Firefox is fine and the file saves
successfully)

EXPECTED RESULT

Konsole should not crash

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900KS CPU @ 4.00GHz
Memory: 94.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090

ADDITIONAL INFORMATION

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fa641a7fbc3 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:78
#2  0x00007fa641a26f9e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fa643b8637e in KCrash::defaultCrashHandler (sig=11) at
/usr/src/debug/kf6-kcrash-6.12.0-1.fc41.x86_64/src/kcrash.cpp:605
#4  0x00007fa641a27050 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007fa6432860e8 in QWidget::layout (this=this@entry=0x7fa62404b9d0) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qwidget.h:101
#6  0x00007fa6434040e6 in QMainWindow::menuBar (this=this@entry=0x7fa62404b9d0)
at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/widgets/qmainwindow.cpp:465
#7  0x00007fa60d7ca071 in Breeze::ToolsAreaManager::configUpdated
(this=0x55d7844d0150) at
/usr/src/debug/plasma-breeze-6.3.3-1.fc41.x86_64/kstyle/breezetoolsareamanager.cpp:144
#8  0x00007fa64215a26e in QtPrivate::QSlotObjectBase::call
(this=0x55d7844d0230, r=<optimized out>, a=0x7ffce78711e0) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobjectdefs_impl.h:486
#9  doActivate<false> (sender=0x55d78449a2a0, signal_index=3,
argv=0x7ffce78711e0) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4115
#10 0x00007fa642150867 in QMetaObject::activate
(sender=sender@entry=0x55d78449a2a0, m=m@entry=0x7fa643c0a920
<KConfigWatcher::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce78711e0)
    at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:4175
#11 0x00007fa643bcf3ed in KConfigWatcher::configChanged
(this=this@entry=0x55d78449a2a0, _t1=..., _t2=<optimized out>) at
/usr/src/debug/kf6-kconfig-6.12.0-1.fc41.x86_64/redhat-linux-build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:159
#12 0x00007fa643bd7d30 in KConfigWatcher::onConfigChangeNotification
(this=0x55d78449a2a0, changes=<optimized out>) at
/usr/src/debug/kf6-kconfig-6.12.0-1.fc41.x86_64/src/core/kconfigwatcher.cpp:114
#13 KConfigWatcher::qt_static_metacall (_o=_o@entry=0x55d78449a2a0,
_c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1,
_a=_a@entry=0x7ffce7871448)
    at
/usr/src/debug/kf6-kconfig-6.12.0-1.fc41.x86_64/redhat-linux-build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:108
#14 0x00007fa643bd7f32 in KConfigWatcher::qt_metacall (this=0x55d78449a2a0,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffce7871448) at
/usr/src/debug/kf6-kconfig-6.12.0-1.fc41.x86_64/redhat-linux-build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:144
#15 0x00007fa640d5e2d7 in QDBusConnectionPrivate::deliverCall
(this=0x7fa624001690, object=0x55d78449a2a0, msg=..., metaTypes=<optimized
out>, slotIdx=5) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/dbus/qdbusintegrator.cpp:1008
#16 0x00007fa64214b9a2 in QObject::event (this=0x55d78449a2a0,
e=0x7fa62403fe00) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qobject.cpp:1418
#17 0x00007fa64323d9b8 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55d78449a2a0, e=0x7fa62403fe00) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:3296
#18 0x00007fa6420f3590 in QCoreApplication::notifyInternal2
(receiver=0x55d78449a2a0, event=0x7fa62403fe00) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1172
#19 0x00007fa6420f37ed in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1612
#20 0x00007fa6420f6f51 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x55d7841d1b20) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1946
#21 0x00007fa6420f71fd in QCoreApplication::sendPostedEvents
(receiver=<optimized out>, event_type=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qcoreapplication.cpp:1800
#22 0x00007fa6423efb5f in postEventSourceDispatch (s=0x55d784201640) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#23 0x00007fa63f3ac28c in g_main_dispatch (context=0x7fa624000f00) at
../glib/gmain.c:3357
#24 g_main_context_dispatch_unlocked (context=0x7fa624000f00) at
../glib/gmain.c:4208
#25 0x00007fa63f40c7b8 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7fa624000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273
#26 0x00007fa63f3ad783 in g_main_context_iteration (context=0x7fa624000f00,
may_block=1) at ../glib/gmain.c:4338
#27 0x00007fa6423ef2b3 in QEventDispatcherGlib::processEvents
(this=0x55d7841d9c70, flags=...) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#28 0x00007fa642100993 in QEventLoop::exec (this=this@entry=0x7ffce7871aa0,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:34
#29 0x00007fa6420fbf6e in QCoreApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/corelib/global/qflags.h:74
#30 0x00007fa6428d7d3d in QGuiApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/gui/kernel/qguiapplication.cpp:1975
#31 0x00007fa64323d929 in QApplication::exec () at
/usr/src/debug/qt6-qtbase-6.8.2-3.fc41.x86_64/src/widgets/kernel/qapplication.cpp:2564
#32 0x000055d745d2924c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/konsole-24.12.3-1.fc41.x86_64/src/main.cpp:260

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

Reply via email to