Bug 450700 - systemsettings crashed on close in Breeze::WidgetStateEngine::unregisterWidget()
Summary: systemsettings crashed on close in Breeze::WidgetStateEngine::unregisterWidget()
Status: RESOLVED DUPLICATE of bug 439963
Alias: None
Product: systemsettings
Classification: Applications
Component: generic-crash (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-22 11:38 UTC by Fushan Wen
Modified: 2022-06-09 17:45 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 Fushan Wen 2022-02-22 11:38:40 UTC
Application: systemsettings (5.24.80)

Qt Version: 5.15.2
Frameworks Version: 5.92.0
Operating System: Linux 5.16.10-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
This time I didn't switch from Icon View to Sidebar VIew, and systemsettings still crashed on close.

The crash can be reproduced sometimes.

-- Backtrace:
Application: System Settings (systemsettings), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f8c2ad06407 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=this@entry=0x55d80b0f14b0) at /usr/include/c++/11/bits/atomic_base.h:878
#7  std::atomic<QMutexData*>::compare_exchange_strong (__m2=std::memory_order_acquire, __m1=std::memory_order_acquire, __p2=0x1, __p1=<synthetic pointer>: 0x0, this=this@entry=0x55d80b0f14b0) at /usr/include/c++/11/atomic:616
#8  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x1, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:308
#9  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>: <optimized out>, newValue=0x1, expectedValue=0x0, this=this@entry=0x55d80b0f14b0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:273
#10 QBasicMutex::fastTryLock (current=<synthetic pointer>: <optimized out>, this=this@entry=0x55d80b0f14b0) at thread/qmutex.h:109
#11 QMutex::lock (this=this@entry=0x55d80b0f14b0) at thread/qmutex.cpp:232
#12 0x00007f8c2aeecd54 in std::unique_lock<QMutex>::lock (this=<synthetic pointer>) at /usr/include/c++/11/bits/unique_lock.h:131
#13 std::unique_lock<QMutex>::unique_lock (__m=..., this=<synthetic pointer>) at /usr/include/c++/11/bits/unique_lock.h:69
#14 (anonymous namespace)::qt_unique_lock<QMutex> (mutex=...) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qlocking_p.h:106
#15 QCoreApplicationPrivate::lockThreadPostEventList (object=<optimized out>) at kernel/qcoreapplication.cpp:1500
#16 0x00007f8c2aeee369 in QCoreApplication::postEvent (receiver=0x55da0b838fa0, event=0x55da0ce048b0, priority=0) at kernel/qcoreapplication.cpp:1546
#17 0x00007f8c2af14cf3 in QObject::deleteLater (this=<optimized out>) at kernel/qobject.cpp:2303
#18 0x00007f8c241b9bdf in Breeze::BaseDataMap<QObject, Breeze::WidgetStateData>::unregisterWidget (this=0x55da0b1fc858, key=0x55da0b6ac920) at /usr/src/debug/breeze-5.24.80git.20220221T015003~e7489092-ku.20.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezedatamap.h:83
#19 0x00007f8c241c25e8 in Breeze::WidgetStateEngine::unregisterWidget (object=0x55da0b6ac920, this=0x55da0b1fc7e0) at /usr/src/debug/breeze-5.24.80git.20220221T015003~e7489092-ku.20.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:118
#20 Breeze::WidgetStateEngine::unregisterWidget (object=0x55da0b6ac920, this=0x55da0b1fc7e0) at /usr/src/debug/breeze-5.24.80git.20220221T015003~e7489092-ku.20.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:112
#21 Breeze::WidgetStateEngine::qt_static_metacall (_o=0x55da0b1fc7e0, _a=0x7ffebdc22830, _id=<optimized out>, _c=<optimized out>) at /usr/src/debug/breeze-5.24.80git.20220221T015003~e7489092-ku.20.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/moc_breezewidgetstateengine.cpp:74
#22 0x00007f8c2af21518 in doActivate<false> (sender=0x55da0b6ac920, signal_index=0, argv=0x7ffebdc22830) at kernel/qobject.cpp:3898
#23 0x00007f8c2af1a9af in QMetaObject::activate (sender=sender@entry=0x55da0b6ac920, m=m@entry=0x7f8c2b1b7a60 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffebdc22830) at kernel/qobject.cpp:3946
#24 0x00007f8c2af1aa5f in QObject::destroyed (this=this@entry=0x55da0b6ac920, _t1=<optimized out>, _t1@entry=0x55da0b6ac920) at .moc/moc_qobject.cpp:219
#25 0x00007f8c2bbdf2e3 in QWidget::~QWidget (this=this@entry=0x55da0b6ac920, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1497
#26 0x00007f8bdc3eb32d in FocusHackWidget::~FocusHackWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220218T220547~e7dab853-ku.12.1.x86_64/sidebar/SidebarMode.cpp:60
#27 FocusHackWidget::~FocusHackWidget (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220218T220547~e7dab853-ku.12.1.x86_64/sidebar/SidebarMode.cpp:60
#28 0x00007f8c2af14b9e in QObjectPrivate::deleteChildren (this=this@entry=0x55da0b3ef8a0) at kernel/qobject.cpp:2104
#29 0x00007f8c2bbdf026 in QWidget::~QWidget (this=0x55da0b4ecbb0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#30 0x00007f8c2bd58169 in QStackedWidget::~QStackedWidget (this=0x55da0b4ecbb0, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#31 0x00007f8c2af14b9e in QObjectPrivate::deleteChildren (this=this@entry=0x55da0b0f12a0) at kernel/qobject.cpp:2104
#32 0x00007f8c2bbdf026 in QWidget::~QWidget (this=0x55da0b2e66d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#33 0x000055da095c83d0 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220218T220547~e7dab853-ku.12.1.x86_64/app/SettingsBase.cpp:81
#34 0x000055da095c84e9 in SettingsBase::~SettingsBase (this=<optimized out>, this=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220218T220547~e7dab853-ku.12.1.x86_64/app/SettingsBase.cpp:81
#35 0x00007f8c2af1722f in QObject::event (this=0x55da0b2e66d0, e=0x55da0cdee610) at kernel/qobject.cpp:1301
#36 0x00007f8c2c5204d9 in KXmlGuiWindow::event (this=0x55da0b2e66d0, ev=0x55da0cdee610) at /usr/src/debug/kxmlgui-5.92.0git.20220216T195300~c188a2f1-ku.1.3.x86_64/src/kxmlguiwindow.cpp:220
#37 0x00007f8c2bba1a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55da0b2e66d0, e=0x55da0cdee610) at kernel/qapplication.cpp:3632
#38 0x00007f8c2aeeae1a in QCoreApplication::notifyInternal2 (receiver=0x55da0b2e66d0, event=0x55da0cdee610) at kernel/qcoreapplication.cpp:1064
#39 0x00007f8c2aeede57 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55da0b0f1480) at kernel/qcoreapplication.cpp:1821
#40 0x00007f8c2af42cd3 in postEventSourceDispatch (s=s@entry=0x55da0b202250) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f8c289ffe22 in g_main_dispatch (context=0x7f8c20005010) at ../glib/gmain.c:3381
#42 g_main_context_dispatch (context=0x7f8c20005010) at ../glib/gmain.c:4099
#43 0x00007f8c28a001b8 in g_main_context_iterate (context=context@entry=0x7f8c20005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#44 0x00007f8c28a0026f in g_main_context_iteration (context=0x7f8c20005010, may_block=1) at ../glib/gmain.c:4240
#45 0x00007f8c2af42354 in QEventDispatcherGlib::processEvents (this=0x55da0b210de0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#46 0x00007f8c2aee981b in QEventLoop::exec (this=this@entry=0x7ffebdc22e60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#47 0x00007f8c2aef1af0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#48 0x00007f8c2b44325c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#49 0x00007f8c2bba19f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#50 0x000055da095c0e97 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.24.80git.20220218T220547~e7dab853-ku.12.1.x86_64/app/main.cpp:183
[Inferior 1 (process 26160) detached]

Possible duplicates by query: bug 421828, bug 409778, bug 389467, bug 388975, bug 376410.

Reported using DrKonqi
Comment 1 Nate Graham 2022-06-09 17:44:11 UTC

*** This bug has been marked as a duplicate of bug 439963 ***