https://bugs.kde.org/show_bug.cgi?id=129293
Fushan Wen <qydwhotm...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/fa668e99a4258a314b5e3d251 |t/0736d1b4a4309895418b724ff |f23760850fefc7c |48f792ad6eebd82 --- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> --- Git commit 0736d1b4a4309895418b724ff48f792ad6eebd82 by Fushan Wen. Committed on 30/09/2024 at 07:11. Pushed by fusionfuture into branch 'Plasma/6.2'. applets/kicker: port to std::unordered_map to work around a common crash when uninstalling apps For some reason QHash doesn't play nicely with std::shared_ptr ``` at /home/qydw/kde/src/plasma-workspace/applets/kicker/plugin/kastatsfavoritesmodel.cpp:383 normalized = {m_id = {d = {d = 0x2c21a630, ptr = 0x2c21a640 u"applications:org.gnome.Cheese.desktop", size = 37}, static _empty = 0 u'\000'}} index = <optimized out> i = {c = <optimized out>, i = {i = {d = 0x36072570, bucket = 16}}, n = {i = {d = 0x36072570, bucket = <optimized out>}}} (__closure=0x2c575800) at /home/qydw/kde/src/plasma-workspace/applets/kicker/plugin/kastatsfavoritesmodel.cpp:206 key = @0x329623c0: {d = {d = 0x2c21a630, ptr = 0x2c21a640 u"applications:org.gnome.Cheese.desktop", size = 37}, static _empty = 0 u'\000'} __for_range = @0x7ffe6b4e05f0: {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x329623b0, ptr = 0x329623c0, size = 3}} __for_begin = {i = <optimized out>} __for_end = {i = <optimized out>} keys = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x329623b0, ptr = 0x329623c0, size = 3}} itemEntries = {d = <optimized out>} this = 0x2c43a5d0 at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1452 mce = 0x2ef6acc0 connections = <optimized out> sender = {previous = 0x0, receiver = 0x2c43a5d0, sender = 0x2b905320, signal = 3} at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142 selfRequired = <optimized out> result = false cbdata = {0x2c43a5d0, 0x2ef6acc0, 0x7ffe6b4e071f} d = <optimized out> threadData = 0x2b3ac310 scopeLevelCounter = {threadData = 0x2b3ac310} at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583 at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940 e = 0x2ef6acc0 pe = <optimized out> r = <optimized out> relocker = {m_func = {__locker = <optimized out>}, m_invoke = <optimized out>} event_deleter = {d = 0x2ef6acc0} locker = {_M_device = 0x2b3ac368, _M_owns = false} startOffset = 0 i = @0x2b3ac358: 4 cleanup = {receiver = <optimized out>, event_type = <optimized out>, data = <optimized out>, exceptionCaught = <optimized out>} at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244 source = 0x2b41a770 at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394 d = 0x2b4338d0 canWait = true savedFlags = {i = 0} result = <optimized out> at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34 d = 0x2b7f0000 threadData = <optimized out> locker = {m_mutex = 0x2b3ac448, m_isLocked = false} ref = {d = <optimized out>, locker = <optimized out>, exceptionCaught = <optimized out>} app = <optimized out> threadData = 0x2b3ac310 eventLoop = {<QObject> = {_vptr.QObject = 0x7f940280d170 <vtable for QEventLoop+16>, static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7f9402643c80 <_ZN12_GLOBAL__N_1L39qt_meta_stringdata_CLASSQObjectENDCLASSE.lto_priv.0>, data = 0x7f9402643b60 <_ZL33qt_meta_data_CLASSQObjectENDCLASS.lto_priv.0>, static_metacall = 0x7f94023e1570 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f940280aa20 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_141qt_meta_stringdata_CLASSQObjectENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI7QStringSt17integral_constantIbLb1EEEENS3_I7QObjectS6_EENS3_IvS5_IbLb0EEEENS3_IPS8_SA_EESB_SB_NS3_IRKS4_SA_EESB_SD_EE.lto_priv.0>, extradata = 0x0}}, d_ptr = {d = 0x2b7f0000}}, static staticMetaObject = {d = {superdata = {direct = 0x4eac80 <QObject::staticMetaObject@Qt_6>}, stringdata = 0x7f9402642ec0 <_ZN12_GLOBAL__N_1L42qt_meta_stringdata_CLASSQEventLoopENDCLASSE.lto_priv.0>, data = 0x7f9402642dc0 <_ZL36qt_meta_data_CLASSQEventLoopENDCLASS.lto_priv.0>, static_metacall = 0x7f9402396ef0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, metaTypes = 0x7f940280a600 <_Z27qt_incomplete_metaTypeArrayIN12_GLOBAL__N_144qt_meta_stringdata_CLASSQEventLoopENDCLASS_tEJN9QtPrivate20TypeAndForceCompleteI6QFlagsIN10QEventLoop17ProcessEventsFlagEESt17integral_constantIbLb1EEEENS3_IS5_S9_EENS3_IvS8_IbLb0EEEENS3_IiSC_EESD_SD_EE.lto_priv.0>, extradata = 0x0}}} returnCode = <optimized out> format = {d = 0x2b37f980} app = <incomplete type> aboutData = {d = std::unique_ptr<KAboutDataPrivate> = {get() = 0x2b7e48e0}} replace = false corona = 0x2b787790 service = <incomplete type> ``` SENTRY: PLASMA-WORKSPACE-NZ0 (cherry picked from commit fa668e99a4258a314b5e3d251f23760850fefc7c) Co-authored-by: Fushan Wen <qydwhotm...@gmail.com> M +24 -21 applets/kicker/plugin/kastatsfavoritesmodel.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/0736d1b4a4309895418b724ff48f792ad6eebd82 -- You are receiving this mail because: You are watching all bug changes.