Bug 463968 - Dolphin crash after changing theme through SwitchTheme widget
Summary: Dolphin crash after changing theme through SwitchTheme widget
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-07 14:10 UTC by Alejandro
Modified: 2023-12-05 13:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro 2023-01-07 14:10:55 UTC
Application: dolphin (22.12.0)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.1.1-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
Dolphin crashed just after using the SwitchTheme widget to change the theme. Has not repeated.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fd6d67d20ed in std::__uniq_ptr_impl<QWExtra, std::default_delete<QWExtra> >::_M_ptr (this=0x8c) at /usr/include/c++/12/bits/unique_ptr.h:191
#5  std::unique_ptr<QWExtra, std::default_delete<QWExtra> >::get (this=0x8c) at /usr/include/c++/12/bits/unique_ptr.h:462
#6  std::unique_ptr<QWExtra, std::default_delete<QWExtra> >::operator bool (this=0x8c) at /usr/include/c++/12/bits/unique_ptr.h:479
#7  QWidget::setAutoFillBackground (this=0x5618de498930, enabled=true) at kernel/qwidget.cpp:355
#8  0x00005618dc3988a3 in setBackgroundColorForWidget (widget=0x5618de498930, color=...) at /usr/src/debug/dolphin-22.12.0/src/selectionmode/backgroundcolorhelper.cpp:33
#9  0x00005618dc39def6 in SelectionMode::BackgroundColorHelper::slotPaletteChanged (this=0x5618ddc0d730) at /usr/src/debug/dolphin-22.12.0/src/selectionmode/backgroundcolorhelper.cpp:62
#10 operator() (__closure=<optimized out>) at /usr/src/debug/dolphin-22.12.0/src/selectionmode/backgroundcolorhelper.cpp:49
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, SelectionMode::BackgroundColorHelper::BackgroundColorHelper()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<SelectionMode::BackgroundColorHelper::BackgroundColorHelper()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<SelectionMode::BackgroundColorHelper::BackgroundColorHelper()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007fd6d5b132cd in QtPrivate::QSlotObjectBase::call (a=0x7fffb3cd91a0, r=0x7fffb3cd99e0, this=0x5618ddeb5910) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 doActivate<false> (sender=0x7fffb3cd99e0, signal_index=19, argv=0x7fffb3cd91a0) at kernel/qobject.cpp:3919
#16 0x00007fd6d5b0c74f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd6d6501fc0, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7fffb3cd91a0) at kernel/qobject.cpp:3979
#17 0x00007fd6d5f6dc05 in QGuiApplication::paletteChanged (this=<optimized out>, _t1=...) at .moc/moc_qguiapplication.cpp:458
#18 0x00007fd6d5f73db9 in QGuiApplicationPrivate::handlePaletteChanged (this=this@entry=0x5618dd4219a0, className=className@entry=0x0) at kernel/qguiapplication.cpp:3451
#19 0x00007fd6d67aa3b2 in QApplicationPrivate::handlePaletteChanged (this=0x5618dd4219a0, className=0x0) at kernel/qapplication.cpp:1368
#20 0x00007fd6cf5eb66d in KHintsSettings::slotNotifyChange (this=this@entry=0x5618dd4c70f0, type=<optimized out>, arg=<optimized out>) at /usr/src/debug/plasma-integration-5.26.4/src/platformtheme/khintssettings.cpp:248
#21 0x00007fd6cf5ed3f4 in KHintsSettings::qt_static_metacall (_c=<optimized out>, _a=0x7fffb3cd9470, _id=3, _o=0x5618dd4c70f0) at /usr/src/debug/plasma-integration-5.26.4/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/moc_khintssettings.cpp:97
#22 KHintsSettings::qt_static_metacall (_a=0x7fffb3cd9470, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x5618dd4c70f0) at /usr/src/debug/plasma-integration-5.26.4/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/moc_khintssettings.cpp:88
#23 KHintsSettings::qt_metacall (this=0x5618dd4c70f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffb3cd9470) at /usr/src/debug/plasma-integration-5.26.4/build/src/platformtheme/KDEPlasmaPlatformTheme_autogen/EWIEGA46WW/moc_khintssettings.cpp:145
#24 0x00007fd6d6d9455b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#25 0x00007fd6d5b07c40 in QObject::event (this=0x5618dd4c70f0, e=0x7fd6c8018870) at kernel/qobject.cpp:1347
#26 0x00007fd6d67a53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5618dd4c70f0, e=0x7fd6c8018870) at kernel/qapplication.cpp:3637
#27 0x00007fd6d5adc128 in QCoreApplication::notifyInternal2 (receiver=0x5618dd4c70f0, event=0x7fd6c8018870) at kernel/qcoreapplication.cpp:1064
#28 0x00007fd6d5adf0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5618dd3e1f50) at kernel/qcoreapplication.cpp:1821
#29 0x00007fd6d5b34353 in postEventSourceDispatch (s=0x5618dd4e4480) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fd6d391ba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007fd6d391be48 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007fd6d391bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007fd6d5b33b56 in QEventDispatcherGlib::processEvents (this=0x5618dd4eb5d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007fd6d5adab9b in QEventLoop::exec (this=this@entry=0x7fffb3cd98b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007fd6d5ae2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00007fd6d5f6ee4c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#37 0x00007fd6d67a5375 in QApplication::exec () at kernel/qapplication.cpp:2829
#38 0x00005618dc3316c9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-22.12.0/src/main.cpp:235
[Inferior 1 (process 4059) detached]

Reported using DrKonqi
Comment 1 Akseli Lahtinen 2023-12-05 13:59:40 UTC
Should be fixed with https://invent.kde.org/system/dolphin/-/merge_requests/667