Bug 492741

Summary: Dolphin crashes when opening Properties and Dolphin settings simultanously
Product: [Applications] dolphin Reporter: Antti Savolainen <antti.savo>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, kdedev, kfm-devel
Priority: NOR    
Version: 24.08.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bt

Description Antti Savolainen 2024-09-07 06:40:16 UTC
Created attachment 173394 [details]
bt

SUMMARY
Demonstrative video: https://youtu.be/Kia5LFg5X_o
If I open properties of the current folder via the right click menu and then open Configure Dolphin in the hamburger menu, dolphin crashes.

STEPS TO REPRODUCE
1. Right click on empty space in current folder
2. Select Properties
3. While that menu is still open, open the hamburger menu and select Configure Dolphin...

OBSERVED RESULT
Dolphin crashes

EXPECTED RESULT
No crash

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Comment 1 TraceyC 2024-09-12 14:40:53 UTC
Searchable backtrace

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fef514a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78
#2  0x00007fef5144c120 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007fef53156711 in KCrash::defaultCrashHandler (sig=11) at /usr/src/debug/kcrash/kcrash-6.5.0/src/kcrash.cpp:606
#4  0x00007fef5144c1d0 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007fef52f0cd74 in QtPrivate::QExplicitlySharedDataPointerV2<QMapData<std::map<QString, QAction*, std::less<QString>, std::allocator<std::pair<QString const, QAction*> > > > >::operator bool (this=<optimized out>) at /usr/include/qt6/QtCore/qshareddata_impl.h:117
#6  QMap<QString, QAction*>::value (this=<optimized out>, key=..., defaultValue=<optimized out>) at /usr/include/qt6/QtCore/qmap.h:358
#7  KActionCollection::action (this=this@entry=0x1, name=...) at /usr/src/debug/kxmlgui/kxmlgui-6.5.0/src/kactioncollection.cpp:139
#8  0x00005dee13b66c40 in GeneralViewSettingsPage::GeneralViewSettingsPage (this=<optimized out>, url=<optimized out>, parent=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.08.0/src/settings/viewmodes/generalviewsettingspage.cpp:132
#9  ViewSettingsPage::ViewSettingsPage (this=0x5dee4a164600, url=<optimized out>, parent=<optimized out>, this=<optimized out>, url=<optimized out>, parent=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.08.0/src/settings/viewmodes/viewsettingspage.cpp:28
#10 0x00005dee13b5a0f7 in DolphinSettingsDialog::DolphinSettingsDialog (this=0x5dee49273070, url=..., parent=<optimized out>, actions=0x5dee47eb2970, this=<optimized out>, url=<optimized out>, parent=<optimized out>, actions=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.08.0/src/settings/dolphinsettingsdialog.cpp:58
#11 0x00005dee13b13fdb in DolphinMainWindow::editSettings (this=0x5dee47e5eb50) at /usr/src/debug/dolphin/dolphin-24.08.0/src/dolphinmainwindow.cpp:1364
#12 0x00007fef50fa3397 in QtPrivate::QSlotObjectBase::call (this=0x5dee47fabc00, r=0x5dee47e5eb50, a=0x7fff8d65d340, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#13 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086
#14 0x00007fef51b243c4 in QAction::triggered (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/qt6-base/build/src/gui/Gui_autogen/include/moc_qaction.cpp:480
#15 QAction::activate (this=0x5dee47f3d660, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qaction.cpp:1102
#16 0x00007fef522d1779 in QMenuPrivate::activateCausedStack (this=0x5dee491b5b60, causedStack=..., action=0x5dee47f3d660, action_e=QAction::Trigger, self=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:1420
#17 0x00007fef522d3673 in QMenuPrivate::activateAction (this=0x5dee491b5b60, action=0x5dee47f3d660, action_e=QAction::Trigger, self=true) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qmenu.cpp:1502
#18 0x00007fef5214d376 in QWidget::event (this=0x5dee4821ad10, event=0x7fff8d65da50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9025
#19 0x00007fef520fc8cc in QApplicationPrivate::notify_helper (this=this@entry=0x5dee47b35ad0, receiver=receiver@entry=0x5dee4821ad10, e=e@entry=0x7fff8d65da50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#20 0x00007fef52101e59 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff8d65da50) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2765
#21 0x00007fef50f45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5dee4821ad10, event=0x7fff8d65da50) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#22 0x00007fef50f45afd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
#23 0x00007fef520f3f9d in QApplicationPrivate::sendMouseEvent (receiver=0x5dee4821ad10, event=0x7fff8d65da50, alienWidget=<optimized out>, nativeWidget=0x5dee4821ad10, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2347
#24 0x00007fef52163b40 in QWidgetWindow::handleMouseEvent (this=0x5dee4912bd30, event=event@entry=0x7fff8d65dea0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:545
#25 0x00007fef52164c20 in QWidgetWindow::event (this=0x5dee4912bd30, event=0x7fff8d65dea0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:263
#26 0x00007fef520fc8cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5dee4912bd30, e=0x7fff8d65dea0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#27 0x00007fef50f45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5dee4912bd30, event=0x7fff8d65dea0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#28 0x00007fef50f45afd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
#29 0x00007fef51778140 in QGuiApplicationPrivate::processMouseEvent (e=0x5dee48e52680) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2327
#30 0x00007fef517e7724 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#31 0x00007fef51c041e4 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#32 0x00007fef4e10e299 in g_main_dispatch (context=0x7fef44000f00) at ../glib/glib/gmain.c:3344
#33 0x00007fef4e170ec7 in g_main_context_dispatch_unlocked (context=0x7fef44000f00) at ../glib/glib/gmain.c:4152
#34 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fef44000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#35 0x00007fef4e10d795 in g_main_context_iteration (context=0x7fef44000f00, may_block=1) at ../glib/glib/gmain.c:4282
#36 0x00007fef511a82bd in QEventDispatcherGlib::processEvents (this=0x5dee47b4d360, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#37 0x00007fef50f4ff66 in QEventLoop::processEvents (this=0x7fff8d65e310, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#38 QEventLoop::exec (this=this@entry=0x7fff8d65e310, flags=..., flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#39 0x00007fef522d7ac7 in QMenuPrivate::exec (this=0x5dee48725b30, p=..., action=0x0, positionFunction=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#40 0x00007fef5235215d in QToolButtonPrivate::popupTimerDone (this=0x5dee48214c80) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qtoolbutton.cpp:784
#41 0x00007fef50fa3397 in QtPrivate::QSlotObjectBase::call (this=0x5dee482150c0, r=0x5dee48214ae0, a=0x7fff8d65e4f8, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#42 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086
#43 0x00007fef522107d2 in QAbstractButton::pressed (this=0x5dee48214ae0) at /usr/src/debug/qt6-base/build/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:311
#44 QAbstractButtonPrivate::emitPressed (this=0x5dee48214c80) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:395
#45 0x00007fef5221d498 in QAbstractButton::mousePressEvent (this=0x5dee48214ae0, e=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qabstractbutton.cpp:948
#46 0x00007fef523528c4 in QToolButton::mousePressEvent (this=0x5dee48214ae0, e=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qtoolbutton.cpp:578
#47 0x00007fef5214cf66 in QWidget::event (this=0x5dee48214ae0, event=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9021
#48 0x00007fef520fc8cc in QApplicationPrivate::notify_helper (this=this@entry=0x5dee47b35ad0, receiver=receiver@entry=0x5dee48214ae0, e=e@entry=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#49 0x00007fef52101e59 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2765
#50 0x00007fef50f45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5dee48214ae0, event=0x7fff8d65ec90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#51 0x00007fef50f45afd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
#52 0x00007fef520f3f9d in QApplicationPrivate::sendMouseEvent (receiver=0x5dee48214ae0, event=0x7fff8d65ec90, alienWidget=<optimized out>, nativeWidget=0x5dee47e5eb50, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2347
#53 0x00007fef521635c2 in QWidgetWindow::handleMouseEvent (this=0x5dee48259ce0, event=event@entry=0x7fff8d65f0e0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:649
#54 0x00007fef52164c20 in QWidgetWindow::event (this=0x5dee48259ce0, event=0x7fff8d65f0e0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:263
#55 0x00007fef520fc8cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5dee48259ce0, e=0x7fff8d65f0e0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#56 0x00007fef50f45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5dee48259ce0, event=0x7fff8d65f0e0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#57 0x00007fef50f45afd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1597
#58 0x00007fef51778140 in QGuiApplicationPrivate::processMouseEvent (e=0x5dee48e350f0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2327
#59 0x00007fef517e7724 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#60 0x00007fef517e7917 in QWindowSystemInterface::flushWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1083
#61 0x00007fef50f8d89f in QObject::event (this=0x5dee48d52c10, e=0x5dee49271f60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1452
#62 0x00007fef520fc8cc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5dee48d52c10, e=0x5dee49271f60) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3287
#63 0x00007fef50f45aa8 in QCoreApplication::notifyInternal2 (receiver=0x5dee48d52c10, event=event@entry=0x5dee49271f60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#64 0x00007fef50f45e6b in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x5dee49271f60) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5dee47b33a90) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1940
#66 0x00007fef511aa00c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1797
#67 postEventSourceDispatch (s=0x5dee47b35970) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#68 0x00007fef4e10e299 in g_main_dispatch (context=0x7fef44000f00) at ../glib/glib/gmain.c:3344
#69 0x00007fef4e170ec7 in g_main_context_dispatch_unlocked (context=0x7fef44000f00) at ../glib/glib/gmain.c:4152
#70 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7fef44000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217
#71 0x00007fef4e10d795 in g_main_context_iteration (context=0x7fef44000f00, may_block=1) at ../glib/glib/gmain.c:4282
#72 0x00007fef511a82bd in QEventDispatcherGlib::processEvents (this=0x5dee47b4d360, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#73 0x00007fef50f4ff66 in QEventLoop::processEvents (this=0x7fff8d65f790, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#74 QEventLoop::exec (this=0x7fff8d65f790, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#75 0x00007fef50f4a11d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#76 0x00007fef520f86aa in QApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2555
#77 0x00005dee13b035a4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.08.0/src/main.cpp:273
Comment 2 Akseli Lahtinen 2024-10-25 13:00:31 UTC
Can confirm the crash on git master version of dolphin

Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.80
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2
Kernel Version: 6.11.4-201.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

Backtrace

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0)
at pthread_kill.c:44
#1  0x00007f4c4fea86d3 in __pthread_kill_internal (threadid=<optimized out>, signo=11) at pthread_kill.c:78
#2  0x00007f4c4fe4fc4e in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f4c531ec5ab in KCrash::defaultCrashHandler (sig=11)
at /home/akseli/Repositories/kde/src/kcrash/src/kcrash.cpp:596
#4  0x00007f4c4fe4fd00 in <signal handler called> () at /lib64/libc.so.6
#5  0x00000000004a2e26 in GeneralViewSettingsPage::GeneralViewSettingsPage
(this=this@entry=0x1e2d9680, url=<optimized out>, parent=<optimized out>)
at /home/akseli/Repositories/kde/src/dolphin/src/settings/viewmodes/generalviewsettingspage.cpp:129
#6  0x000000000049d50a in ViewSettingsPage::ViewSettingsPage (this=0x1e2d4be0, url=<optimized out>, parent=<optimized out>)
at /home/akseli/Repositories/kde/src/dolphin/src/settings/viewmodes/viewsettingspage.cpp:30
#7  0x0000000000493bd2 in DolphinSettingsDialog::DolphinSettingsDialog
(this=this@entry=0x1e1537a0, url=..., parent=parent@entry=0x1d435e00, actions=0x1d417620)
at /home/akseli/Repositories/kde/src/dolphin/src/settings/dolphinsettingsdialog.cpp:51
#8  0x0000000000444c6f in DolphinMainWindow::editSettings (this=0x1d435e00)
at /home/akseli/Repositories/kde/src/dolphin/src/dolphinmainwindow.cpp:1392
#9  0x00007f4c505fc8f2 in QtPrivate::QSlotObjectBase::call (this=0x1d5601d0, r=<optimized out>, a=0x7ffc2b525740)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#10 doActivate<false> (sender=0x1d5f60e0, signal_index=7, argv=0x7ffc2b525740)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#11 0x00007f4c505f2bc7 in QMetaObject::activate
(sender=sender@entry=0x1d5f60e0, m=m@entry=0x7f4c515375c0, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffc2b525740) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#12 0x00007f4c5122f614 in QAction::triggered (this=this@entry=0x1d5f60e0, _t1=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/redhat-linux-build/src/gui/Gui_autogen/include/moc_qaction.cpp:480
#13 0x00007f4c512326bf in QAction::activate (this=0x1d5f60e0, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qaction.cpp:1102
#14 0x00007f4c51977654 in QMenuPrivate::activateCausedStack
(this=0x1de26710, causedStack=..., action=0x1d5f60e0, action_e=QAction::Trigger, self=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qmenu.cpp:1420
#15 0x00007f4c5197fe20 in QMenuPrivate::activateAction
(this=0x1de26710, action=0x1d5f60e0, action_e=QAction::Trigger, self=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qmenu.cpp:1502
--Type <RET> for more, q to quit, c to continue without paging--c
^[[H#16 0x00007f4c517ed278 in QWidget::event (this=0x1d83a450, event=0x7ffc2b525e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidget.cpp:9405
#17 0x00007f4c5178b218 in QApplicationPrivate::notify_helper
(this=this@entry=0x1d0ee0c0, receiver=receiver@entry=0x1d83a450, e=e@entry=0x7ffc2b525e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#18 0x00007f4c51796142 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffc2b525e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2765
#19 0x00007f4c50596e88 in QCoreApplication::notifyInternal2 (receiver=0x1d83a450, event=0x7ffc2b525e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#20 0x00007f4c505970fd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1597
#21 0x00007f4c517946cc in QApplicationPrivate::sendMouseEvent
(receiver=0x1d83a450, event=event@entry=0x7ffc2b525e00, alienWidget=<optimized out>, nativeWidget=0x1d83a450, buttonDown=buttonDown@entry=0x7f4c51dac880 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2347
#22 0x00007f4c51801cff in QWidgetWindow::handleMouseEvent (this=0x1d558090, event=0x7ffc2b5260c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidgetwindow.cpp:545
#23 0x00007f4c51804240 in QWidgetWindow::event (this=0x1d558090, event=0x7ffc2b5260c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidgetwindow.cpp:263
#24 0x00007f4c5178b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1d558090, e=0x7ffc2b5260c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#25 0x00007f4c50596e88 in QCoreApplication::notifyInternal2 (receiver=0x1d558090, event=0x7ffc2b5260c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#26 0x00007f4c505970fd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1597
#27 0x00007f4c50de6d9b in QGuiApplicationPrivate::processMouseEvent (e=0x7f4c2c0030d0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:2327
#28 0x00007f4c50e4b37c in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114
#29 0x00007f4c513634f4 in userEventSourceDispatch (source=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#30 0x00007f4c4d30ee8c in g_main_dispatch (context=0x7f4c34000f00) at ../glib/gmain.c:3344
#31 g_main_context_dispatch_unlocked (context=0x7f4c34000f00) at ../glib/gmain.c:4152
#32 0x00007f4c4d370c98 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f4c34000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at ../glib/gmain.c:4217
#33 0x00007f4c4d310383 in g_main_context_iteration (context=0x7f4c34000f00, may_block=1) at ../glib/gmain.c:4282
#34 0x00007f4c508851a3 in QEventDispatcherGlib::processEvents (this=0x1d10bcc0, flags=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#35 0x00007f4c505a3bc3 in QEventLoop::exec (this=this@entry=0x7ffc2b526500, flags=..., flags@entry=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#36 0x00007f4c5197d42c in QMenuPrivate::exec (this=0x1da2d290, p=..., action=action@entry=0x0, positionFunction=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#37 0x00007f4c519f24cc in QToolButtonPrivate::popupTimerDone (this=0x1d8f58d0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qtoolbutton.cpp:784
#38 0x00007f4c505fc8f2 in QtPrivate::QSlotObjectBase::call (this=0x1d8f5d30, r=<optimized out>, a=0x7ffc2b5266f8)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#39 doActivate<false> (sender=0x1d8f5730, signal_index=7, argv=0x7ffc2b5266f8)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#40 0x00007f4c505f2bc7 in QMetaObject::activate
(sender=sender@entry=0x1d8f5730, m=m@entry=0x7f4c51d694a0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#41 0x00007f4c518c3124 in QAbstractButton::pressed (this=this@entry=0x1d8f5730)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qabstractbutton.cpp:311
#42 0x00007f4c518c34f2 in QAbstractButtonPrivate::emitPressed (this=0x1d8f58d0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qabstractbutton.cpp:395
#43 0x00007f4c518c3d4a in QAbstractButton::mousePressEvent (this=this@entry=0x1d8f5730, e=e@entry=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qabstractbutton.cpp:948
#44 0x00007f4c519f33c7 in QToolButton::mousePressEvent (this=0x1d8f5730, e=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/widgets/qtoolbutton.cpp:578
#45 0x00007f4c517ed278 in QWidget::event (this=0x1d8f5730, event=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidget.cpp:9405
#46 0x00007f4c5178b218 in QApplicationPrivate::notify_helper
(this=this@entry=0x1d0ee0c0, receiver=receiver@entry=0x1d8f5730, e=e@entry=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#47 0x00007f4c51796142 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2765
#48 0x00007f4c50596e88 in QCoreApplication::notifyInternal2 (receiver=0x1d8f5730, event=0x7ffc2b526e00)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#49 0x00007f4c505970fd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1597
#50 0x00007f4c517946cc in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x1d8f5730, event=event@entry=0x7ffc2b526e00, alienWidget=<optimized out>, nativeWidget=0x1d435e00, buttonDown=buttonDown@entry=0x7f4c51dac880 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2347
#51 0x00007f4c51801336 in QWidgetWindow::handleMouseEvent (this=0x1d58c920, event=0x7ffc2b5270c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidgetwindow.cpp:649
#52 0x00007f4c51804240 in QWidgetWindow::event (this=0x1d58c920, event=0x7ffc2b5270c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qwidgetwindow.cpp:263
#53 0x00007f4c5178b218 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1d58c920, e=0x7ffc2b5270c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#54 0x00007f4c50596e88 in QCoreApplication::notifyInternal2 (receiver=0x1d58c920, event=0x7ffc2b5270c0)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#55 0x00007f4c505970fd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1597
#56 0x00007f4c50de6d9b in QGuiApplicationPrivate::processMouseEvent (e=0x7f4c2c001d10)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:2327
#57 0x00007f4c50e4b37c in QWindowSystemInterface::sendWindowSystemEvents (flags=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114
#58 0x00007f4c513634f4 in userEventSourceDispatch (source=<optimized out>)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#59 0x00007f4c4d30ee8c in g_main_dispatch (context=0x7f4c34000f00) at ../glib/gmain.c:3344
#60 g_main_context_dispatch_unlocked (context=0x7f4c34000f00) at ../glib/gmain.c:4152
#61 0x00007f4c4d370c98 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f4c34000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at ../glib/gmain.c:4217
#62 0x00007f4c4d310383 in g_main_context_iteration (context=0x7f4c34000f00, may_block=1) at ../glib/gmain.c:4282
#63 0x00007f4c508851a3 in QEventDispatcherGlib::processEvents (this=0x1d10bcc0, flags=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#64 0x00007f4c505a3bc3 in QEventLoop::exec (this=this@entry=0x7ffc2b5274f0, flags=..., flags@entry=...)
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:34
#65 0x00007f4c5059fa7c in QCoreApplication::exec ()
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/corelib/global/qflags.h:74
#66 0x00007f4c50dd66ed in QGuiApplication::exec ()
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#67 0x00007f4c5178b189 in QApplication::exec ()
at /usr/src/debug/qt6-qtbase-6.7.2-6.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#68 0x000000000043fbe9 in main (argc=<optimized out>, argv=<optimized out>)
at /home/akseli/Repositories/kde/src/dolphin/src/main.cpp:275
Comment 3 Bug Janitor Service 2024-11-12 12:47:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/855
Comment 4 Akseli Lahtinen 2024-11-13 10:07:26 UTC
Git commit 4f0bb805d2c3dfdfc87c5000a6a3675da1d8b6c2 by Akseli Lahtinen.
Committed on 13/11/2024 at 09:42.
Pushed by akselmo into branch 'master'.

generalviewsettingspage: Use qobject_cast instead of static_cast

In generalViewSettingsPage, ActiveWindow is not necessarily a
mainWindow, which can cause dolphin to crash. For example when user
opens folder properties and then dolphin settings, this part thinks
the folder settings is mainWindow.

Instead of static_cast, use qobject_cast, since it will return nullptr
if the DolphinMainWindow is not found.

M  +2    -1    src/settings/viewmodes/generalviewsettingspage.cpp

https://invent.kde.org/system/dolphin/-/commit/4f0bb805d2c3dfdfc87c5000a6a3675da1d8b6c2