Bug 473165 - Bus error trying to lock the shared data cache
Summary: Bus error trying to lock the shared data cache
Status: REPORTED
Alias: None
Product: frameworks-kcoreaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.107.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 17:57 UTC by Christopher Yeleighton
Modified: 2023-08-09 07:58 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 Christopher Yeleighton 2023-08-08 17:57:25 UTC
SUMMARY
Bus error trying to lock the shared data cache


STEPS TO REPRODUCE
1. Wait for an Akonadi IMAP resource to crash!

OBSERVED RESULT
DrKonqi crashes

EXPECTED RESULT
Let DrKonqi handle the crash in Akonadi!

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed 20230629
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Application: Obsługa usterek KDE (drkonqi), signal: Bus error

[KCrash Handler]
#4  0x00007f5bf9694565 in __futex_clocklock64 (private=128, abstime=0x7ffee29bc2f0, clockid=0, futex=0x7f5bdb400008) at ../sysdeps/nptl/futex-internal.h:320
#5  __pthread_mutex_clocklock_common (mutex=0x7f5bdb400008, clockid=0, abstime=0x7ffee29bc2f0) at pthread_mutex_timedlock.c:88
#6  0x00007f5bfad97efc in pthreadTimedLock::lock (this=0x5576b70c23c0) at /usr/src/debug/kcoreaddons-5.107.0/src/lib/caching/kshareddatacache_p.h:247
#7  0x00007f5bfad9d0de in KSharedDataCache::Private::lock (this=<optimized out>) at /usr/src/debug/kcoreaddons-5.107.0/src/lib/caching/kshareddatacache.cpp:1196
#8  KSharedDataCache::Private::CacheLocker::cautiousLock (this=this@entry=0x7ffee29bc3c8) at /usr/src/debug/kcoreaddons-5.107.0/src/lib/caching/kshareddatacache.cpp:1219
#9  0x00007f5bfad9e717 in KSharedDataCache::Private::CacheLocker::CacheLocker (_d=0x5576b70ebbe0, this=0x7ffee29bc3c8) at /usr/src/debug/kcoreaddons-5.107.0/src/lib/caching/kshareddatacache.cpp:1269
#10 KSharedDataCache::find (this=0x5576b70ea400, key=..., destination=0x7ffee29bc550) at /usr/src/debug/kcoreaddons-5.107.0/src/lib/caching/kshareddatacache.cpp:1550
#11 0x00007f5bf411d748 in KIconLoader::loadScaledIcon(QString const&, KIconLoader::Group, double, QSize const&, int, QStringList const&, QString*, bool, std::optional<KIconColors> const&) const () from /lib64/libKF5IconThemes.so.5
#12 0x00007f5bf411257b in KIconEngine::createPixmap(QSize const&, double, QIcon::Mode, QIcon::State) () from /lib64/libKF5IconThemes.so.5
#13 0x00007f5bf4112b15 in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /lib64/libKF5IconThemes.so.5
#14 0x00007f5bfa61358c in QIcon::pixmap (this=this@entry=0x7ffee29bcab0, window=window@entry=0x0, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:905
#15 0x00007f5bfa61369e in QIcon::pixmap (this=this@entry=0x7ffee29bcab0, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:841
#16 0x00005576b5f35a58 in BacktraceRatingWidget::BacktraceRatingWidget (parent=<optimized out>, this=0x5576b7207930) at /usr/src/debug/drkonqi-5.27.6/src/backtraceratingwidget.cpp:20
#17 BacktraceWidget::BacktraceWidget (showToggleBacktrace=false, parent=0x5576b73cc940, generator=<optimized out>, this=<optimized out>) at /usr/src/debug/drkonqi-5.27.6/src/backtracewidget.cpp:102
#18 DrKonqiDialog::DrKonqiDialog(QWidget*) [clone .constprop.0] (this=0x5576b73cc940, parent=0x0) at /usr/src/debug/drkonqi-5.27.6/src/drkonqidialog.cpp:120
#19 0x00005576b5eebed1 in (anonymous namespace)::openDrKonqiDialog () at /usr/src/debug/drkonqi-5.27.6/src/main.cpp:55
#20 0x00007f5bf9f257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffee29bcc20, r=0x5576b73cb310, this=0x5576b73827b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false> (sender=0x5576b73cb310, signal_index=4, argv=0x7ffee29bcc20) at kernel/qobject.cpp:3925
#22 0x00007f5bf9f257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffee29bccf0, r=0x5576b73cb310, this=0x5576b7382520) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x5576b7361270, signal_index=4, argv=0x7ffee29bccf0) at kernel/qobject.cpp:3925
#24 0x00007f5bf9f257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffee29bce20, r=0x5576b7361270, this=0x5576b7383490) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false> (sender=0x5576b7361650, signal_index=3, argv=0x7ffee29bce20) at kernel/qobject.cpp:3925
#26 0x00007f5bf9f1e40f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5bfa1c79a0, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffee29bce20) at kernel/qobject.cpp:3985
#27 0x00007f5bf9f2957a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#28 0x00007f5bf9f191bb in QObject::event (this=0x5576b7361650, e=0x7ffee29bcf70) at kernel/qobject.cpp:1369
#29 0x00007f5bfb3a519e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5576b7361650, e=0x7ffee29bcf70) at kernel/qapplication.cpp:3640
#30 0x00007f5bf9eed4f8 in QCoreApplication::notifyInternal2 (receiver=0x5576b7361650, event=0x7ffee29bcf70) at kernel/qcoreapplication.cpp:1064
#31 0x00007f5bf9eed6be in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#32 0x00007f5bf9f45889 in QTimerInfoList::activateTimers (this=0x5576b7098140) at kernel/qtimerinfo_unix.cpp:643
#33 0x00007f5bf9f4616c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#34 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:230
#35 0x00007f5bf83168d8 in g_main_dispatch (context=0x7f5bf0000ee0) at ../glib/gmain.c:3460
#36 g_main_context_dispatch (context=context@entry=0x7f5bf0000ee0) at ../glib/gmain.c:4200
#37 0x00007f5bf8316ce8 in g_main_context_iterate (context=context@entry=0x7f5bf0000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#38 0x00007f5bf8316d7c in g_main_context_iteration (context=0x7f5bf0000ee0, may_block=1) at ../glib/gmain.c:4343
#39 0x00007f5bf9f46496 in QEventDispatcherGlib::processEvents (this=0x5576b709a7d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007f5bf9eebf8b in QEventLoop::exec (this=this@entry=0x7ffee29bd1b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007f5bf9ef4420 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00007f5bfa57059c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#43 0x00007f5bfb3a5115 in QApplication::exec () at kernel/qapplication.cpp:2832
#44 0x00005576b5eeaa04 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/drkonqi-5.27.6/src/main.cpp:229
[Inferior 1 (process 19625) detached]
Comment 1 Bug Janitor Service 2023-08-08 18:34:01 UTC
Thank you for the bug report!

Please note that Plasma 5.26.4 will not be supported for much longer by KDE; supported versions are 5.27, and 5.27 or newer.

Please upgrade to the latest version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.
Comment 2 Harald Sitter 2023-08-09 07:58:47 UTC
Moving to kcoreaddons which is where KSharedDataCache lives