Summary: | Apps crash in KCoreConfigSkeleton::load() after KConfigWatcher::configChanged() | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kconfig | Reporter: | 2956661656 |
Component: | general | Assignee: | Matthew Dawson <matthew> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | burden.paul, clj.dnno, cornezuelocenteno, fabiotrentino, garytayl, jwcarp87, kde, kdelibs-bugs, mertgor, mikkazx, mustaphin.marat, nate, oded, vishwas.setlur, vitaly.korolev, xenomote+kde, y0x6wnir9 |
Priority: | VHI | Keywords: | drkonqi |
Version: | 5.105.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=463276 | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-pa/-/commit/f623e16a30f18f485bd2cad2d95a2810c72f4421 | Version Fixed In: | 5.27.9 |
Sentry Crash Report: |
Description
2956661656
2023-04-22 06:12:47 UTC
*** Bug 471042 has been marked as a duplicate of this bug. *** *** Bug 473796 has been marked as a duplicate of this bug. *** *** Bug 471550 has been marked as a duplicate of this bug. *** Symbolicated backtrace from one of the plasma crashes: Thread 1 (Thread 0x7fd58c1ae980 (LWP 8203)): [KCrash Handler] #5 0x00007fd590c0da58 in KCoreConfigSkeleton::load() (this=0x5633bacd9750) at /usr/src/debug/kconfig-5.107.0/src/core/kcoreconfigskeleton.cpp:1206 #6 0x00007fd58ed257a2 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc62a1c780, r=0x5633b7759bb0, this=0x5633bacd9830) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #7 doActivate<false>(QObject*, int, void**) (sender=0x5633b7759bb0, signal_index=3, argv=0x7ffc62a1c780) at kernel/qobject.cpp:3925 #8 0x00007fd58ed1e40f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x5633b7759bb0, m=m@entry=0x7fd590c29700, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc62a1c780) at kernel/qobject.cpp:3985 #9 0x00007fd590be7b17 in KConfigWatcher::configChanged(KConfigGroup const&, QList<QByteArray> const&) (this=this@entry=0x5633b7759bb0, _t1=..., _t2=...) at /usr/src/debug/kconfig-5.107.0/build/src/core/KF5ConfigCore_autogen/EWIEGA46WW/moc_kconfigwatcher.cpp:147 #10 0x00007fd590bf236a in KConfigWatcher::onConfigChangeNotification(QHash<QString, QList<QByteArray> > const&) (changes=..., this=0x5633b7759bb0) at /usr/src/debug/kconfig-5.107.0/src/core/kconfigwatcher.cpp:102 #11 KConfigWatcher::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x5633b7759bb0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=1, _a=_a@entry=0x7ffc62a1c930) at /usr/src/debug/kconfig-5.107.0/build/src/core/KF5ConfigCore_autogen/EWIEGA46WW/moc_kconfigwatcher.cpp:88 #12 0x00007fd590bf2483 in KConfigWatcher::qt_metacall(QMetaObject::Call, int, void**) (this=0x5633b7759bb0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffc62a1c930) at /usr/src/debug/kconfig-5.107.0/build/src/core/KF5ConfigCore_autogen/EWIEGA46WW/moc_kconfigwatcher.cpp:133 #13 0x00007fd58ff9446b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at qdbusintegrator.cpp:1001 #14 0x00007fd58ed192b0 in QObject::event(QEvent*) (this=0x5633b7759bb0, e=0x7fd58415ee80) at kernel/qobject.cpp:1347 #15 0x00007fd58f9a519e in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5633b7759bb0, e=0x7fd58415ee80) at kernel/qapplication.cpp:3640 #16 0x00007fd58eced4f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5633b7759bb0, event=0x7fd58415ee80) at kernel/qcoreapplication.cpp:1064 #17 0x00007fd58eced6be in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462 #18 0x00007fd58ecf0af1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5633b568af50) at kernel/qcoreapplication.cpp:1821 #19 0x00007fd58ecf1038 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=<optimized out>, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1680 #20 0x00007fd58ed46c83 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5633b578c940) at kernel/qeventdispatcher_glib.cpp:277 #21 0x00007fd58d7348d8 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #22 0x00007fd58d734ce8 in () at /lib64/libglib-2.0.so.0 #23 0x00007fd58d734d7c in g_main_context_iteration () at /lib64/libglib-2.0.so.0 #24 0x00007fd58ed46496 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5633b578fd90, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #25 0x00007fd58ecebf8b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc62a1cd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #26 0x00007fd58ecf4420 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #27 0x00007fd58f17059c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870 #28 0x00007fd58f9a5115 in QApplication::exec() () at kernel/qapplication.cpp:2832 #29 0x00005633b5073a91 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.27.6/shell/main.cpp:235 *** Bug 472362 has been marked as a duplicate of this bug. *** *** Bug 470956 has been marked as a duplicate of this bug. *** *** Bug 474622 has been marked as a duplicate of this bug. *** *** Bug 474600 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/210 Git commit 3877906ab63ceb662885ecad645c6bb13dd2c8fd by David Redondo. Committed on 04/10/2023 at 13:58. Pushed by davidre into branch 'master'. Use context object with KConfigWatcher signal KConfigWatcher has shared ownership shared with other places watching the same file. We need to provide the context object otherwise load can be called after this object has been destroyed. M +1 -1 src/qml/globalconfigskeleton.h https://invent.kde.org/plasma/plasma-pa/-/commit/3877906ab63ceb662885ecad645c6bb13dd2c8fd A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/211 Git commit f623e16a30f18f485bd2cad2d95a2810c72f4421 by David Redondo. Committed on 04/10/2023 at 15:10. Pushed by davidre into branch 'Plasma/5.27'. Use context object with KConfigWatcher signal KConfigWatcher has shared ownership shared with other places watching the same file. We need to provide the context object otherwise load can be called after this object has been destroyed. (cherry picked from commit 3877906ab63ceb662885ecad645c6bb13dd2c8fd) M +1 -1 src/qml/globalconfigskeleton.h https://invent.kde.org/plasma/plasma-pa/-/commit/f623e16a30f18f485bd2cad2d95a2810c72f4421 *** Bug 476162 has been marked as a duplicate of this bug. *** All duplicates are in Plasma or the plasma-pa KCM. We think the above change for plasma-pa has fixed all of them. The fix is released in Plasma 5.27.9, so we can re-open this if we get any more duplicate reports from people using that version. *** Bug 477396 has been marked as a duplicate of this bug. *** *** Bug 477250 has been marked as a duplicate of this bug. *** *** Bug 476145 has been marked as a duplicate of this bug. *** *** Bug 485355 has been marked as a duplicate of this bug. *** *** Bug 487897 has been marked as a duplicate of this bug. *** *** Bug 495715 has been marked as a duplicate of this bug. *** *** Bug 496352 has been marked as a duplicate of this bug. *** |