Bug 475863 - Plasmashell segfaulted when clearing notification groups
Summary: Plasmashell segfaulted when clearing notification groups
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (other bugs)
Version First Reported In: 5.27.8
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 06:10 UTC by miranda
Modified: 2024-06-04 14:52 UTC (History)
4 users (show)

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


Attachments
journalctl output (131.16 KB, text/plain)
2023-10-20 06:10 UTC, miranda
Details
backtrace (6.59 KB, text/x-log)
2023-10-20 06:11 UTC, miranda
Details
coredumpctl info output (58.10 KB, text/plain)
2023-10-20 06:11 UTC, miranda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miranda 2023-10-20 06:10:05 UTC
SUMMARY
Plasmashell crashed as I was clearing groups of notifications


STEPS TO REPRODUCE
1. Using the tray icon, set "Do not disturb" for 1 hour
2. Start clearing groups of notifications (firefox, slack, discord, etc)
3. ???

OBSERVED RESULT
Plasmashell crashed (and took my note taking app with it for some reason?)

EXPECTED RESULT
Plasmashell does not crash

SOFTWARE/OS VERSIONS
Linux Version: 6.5.7-arch1-1
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
KWin Backend: Wayland
Mesa 23.2.1 (AMD RX 6600 XT)

ADDITIONAL INFORMATION
I'm unable to reproduce this, so I'm guessing this was some race condition. But I do have journal, coredump and backtrace output for you all.
Comment 1 miranda 2023-10-20 06:10:52 UTC
Created attachment 162442 [details]
journalctl output
Comment 2 miranda 2023-10-20 06:11:20 UTC
Created attachment 162443 [details]
backtrace
Comment 3 miranda 2023-10-20 06:11:53 UTC
Created attachment 162444 [details]
coredumpctl info output
Comment 4 Nicolas Fella 2023-10-20 10:05:29 UTC
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f39c16ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f39c165c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f39c3ff788f in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash5/kcrash-5.110.0/src/kcrash.cpp:631
#4  0x00007f39c165c710 in <signal handler called> () at /usr/lib/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007f39c16ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007f39c165c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#8  0x00007f39c165c710 in <signal handler called> () at /usr/lib/libc.so.6
#9  0x00007f39c16a74ac in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55a4f85659a0) at futex-internal.c:57
#10 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55a4f85659a0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#11 0x00007f39c16a752f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55a4f85659a0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#12 0x00007f39c16a9d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55a4f8565950, cond=0x55a4f8565978) at pthread_cond_wait.c:503
#13 ___pthread_cond_wait (cond=0x55a4f8565978, mutex=0x55a4f8565950) at pthread_cond_wait.c:618
#14 0x00007f39c1cfb494 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#15 0x00007f39c3a0041a in QSGThreadedRenderLoop::handleObscurity(QSGThreadedRenderLoop::Window*) (this=0x55a4f2235ca0, w=0x55a4f8117290) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1393
#16 0x00007f39c39f96be in QSGThreadedRenderLoop::hide(QQuickWindow*) (this=0x55a4f2235ca0, window=0x55a4f3903bf0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1184
#17 0x00007f39c2355c45 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x00007f39c2b788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f39c1e9b5b8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f39c234cb6d in QWindowPrivate::setVisible(bool) () at /usr/lib/libQt5Gui.so.5
#21 0x00007f39c343c00e in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at ../../include/QtQml/5.15.11/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:391
#22 0x00007f39c3499cd5 in GenericBinding<1>::doStore<bool>(bool, QQmlPropertyData const*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., pd=<optimized out>, value=<optimized out>, this=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:342
#23 GenericBinding<1>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x55a4f3905a50, result=..., isUndefined=false, flags=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:305
#24 0x00007f39c34a061e in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x55a4f3905a50, watcher=..., flags=..., scope=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:258
#25 0x00007f39c34a0103 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x55a4f3905a50, flags=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlbinding.cpp:194
#26 0x00007f39c347ce45 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=0x0) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlnotifier.cpp:104
#27 0x00007f39c1ecfdd0 in  () at /usr/lib/libQt5Core.so.5
#28 0x00007f39c343732b in QQmlVMEMetaObject::metaCall(QObject*, QMetaObject::Call, int, void**) (this=0x55a4f38d2770, o=<optimized out>, c=<optimized out>, _id=<optimized out>, a=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/qml/qqmlvmemetaobject.cpp:877
#29 0x00007f39c343bfd3 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (this=<optimized out>, target=<optimized out>, value=<optimized out>, flags=...) at ../../include/QtQml/5.15.11/QtQml/private/../../../../../../qtdeclarative/src/qml/qml/qqmlpropertydata_p.h:395
#30 0x00007f39c3376c3a in QV4::QObjectWrapper::setProperty(QV4::ExecutionEngine*, QObject*, QQmlPropertyData*, QV4::Value const&) (engine=engine@entry=0x55a4f1af1fe0, object=object@entry=0x55a4f38d2640, property=0x7f3978151648, value=...) at /usr/include/qt/QtCore/qflags.h:120
#31 0x00007f39c33771c6 in QV4::QObjectWrapper::setQmlProperty(QV4::ExecutionEngine*, QQmlContextData*, QObject*, QV4::String*, QV4::QObjectWrapper::RevisionMode, QV4::Value const&) (engine=0x55a4f1af1fe0, qmlContext=<optimized out>, object=0x55a4f38d2640, name=<optimized out>, revisionMode=QV4::QObjectWrapper::CheckRevision, value=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qobjectwrapper.cpp:435
#32 0x00007f39c335849c in QV4::QQmlContextWrapper::virtualPut(QV4::Managed*, QV4::PropertyKey, QV4::Value const&, QV4::Value*) (m=<optimized out>, id=..., value=..., receiver=<optimized out>) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4qmlcontext.cpp:431
#33 0x00007f39c331ec7b in QV4::Object::put(QV4::StringOrSymbol*, QV4::Value const&, QV4::Value*) (receiver=0x7f397e5be6d0, v=..., name=0x7f397e5be6c8, this=0x7f397e5be6d0) at ../../include/QtQml/5.15.11/QtQml/private/../../../../../../qtdeclarative/src/qml/jsruntime/qv4string_p.h:167
#34 QV4::ExecutionContext::setProperty(QV4::String*, QV4::Value const&) (this=<optimized out>, name=0x7f397e5be6c8, value=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4context.cpp:313
#35 0x00007f39c33a37b9 in QV4::Runtime::StoreNameSloppy::call(QV4::ExecutionEngine*, int, QV4::Value const&) (engine=0x55a4f1af1fe0, nameIndex=<optimized out>, value=...) at /usr/src/debug/qt5-declarative/qtdeclarative/src/qml/jsruntime/qv4runtime.cpp:990
#36 0x00007f396c935e75 in  ()
#37 0x00007ffe977ebc90 in  ()
#38 0x0000000000000000 in  ()
Comment 5 Akseli Lahtinen 2024-06-04 14:52:19 UTC
Looks like a crash in AMD driver? Likely fixed already though.