https://bugs.kde.org/show_bug.cgi?id=477233
Bug ID: 477233 Summary: plasmashell crashes when trying to exit "Edit Mode" Classification: Plasma Product: plasmashell Version: 5.27.80 Platform: Other OS: Linux Status: REPORTED Keywords: qt6 Severity: normal Priority: NOR Component: Edit Mode toolbar Assignee: plasma-b...@kde.org Reporter: matheus.scattolinanse...@outlook.com Target Milestone: 1.0 SUMMARY Plasma sometimes crashes whilst exiting Edit Mode, either through clicking the close button or pressing ESC (which doesn't seem to work every time, but it still crashes it) Also while fiddling with it in an attempt to get plasma to crash again, I actually got a different stack trace once while doing the same thing, it is attached at the end of the main trace because I was unsure about opening a different report STEPS TO REPRODUCE 1. Right click panel 2. Enter Edit Mode 3. Press ESC OBSERVED RESULT the shell crashes SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch, KDE-Unstable repo, kernel 6.5.11 KDE Plasma Version: 5.27.80 KDE Frameworks Version: 5.245.0 Qt Version: 6.6.0 Wayland Session ADDITIONAL INFORMATION Core was generated by `/usr/bin/plasmashell --replace'. Program terminated with signal SIGSEGV, Segmentation fault. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007ff8ed8ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007ff8ed85c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007ff8f0614582 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:597 #4 0x00007ff8ed85c710 in <signal handler called> () at /usr/lib/libc.so.6 #5 QScopedScopeLevelCounter::QScopedScopeLevelCounter(QThreadData*) (threadData=0x0, this=<synthetic pointer>, this=<optimized out>, threadData=<optimized out>) at /usr/src/debug/qt6-base/build/include/QtCore/6.6.0/QtCore/private/../../../../../../qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_p.h:339 #6 QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562dd22edf20, event=0x7ffe8db286b0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1115 #7 0x00007ff8edf6271d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536 #8 0x00007ff8ee5e9ad0 in QPlatformWindow::deliverUpdateRequest() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/gui/kernel/qplatformwindow.cpp:783 #9 0x00007ff8edfa5077 in QObject::event(QEvent*) (this=0x562dd2606670, e=0x562dd2929190) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:1437 #10 0x00007ff8eef7318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x562dd2606670, e=0x562dd2929190) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290 #11 0x00007ff8edf626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562dd2606670, event=event@entry=0x562dd2929190) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118 #12 0x00007ff8edf62a5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x562dd2929190, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536 #13 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x562dcec96690) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1898 #14 0x00007ff8ee199d24 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1757 #15 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x562dced1f550) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #16 0x00007ff8ecb45f69 in g_main_dispatch (context=0x7ff8e4000ef0) at ../glib/glib/gmain.c:3476 #17 0x00007ff8ecba4327 in g_main_context_dispatch_unlocked (context=0x7ff8e4000ef0) at ../glib/glib/gmain.c:4284 #18 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7ff8e4000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349 #19 0x00007ff8ecb44162 in g_main_context_iteration (context=0x7ff8e4000ef0, may_block=1) at ../glib/glib/gmain.c:4414 #20 0x00007ff8ee197934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x562dcec9bad0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393 --Type <RET> for more, q to quit, c to continue without paging-- #21 0x00007ff8edf6cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffe8db28b40) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100 #22 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffe8db28b40, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182 #23 0x00007ff8edf65178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74 #24 0x00007ff8eef6fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569 #25 0x0000562dccc0a22c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.80/shell/main.cpp:230 ---- second stack trace --- #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007f212d0ac8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007f212d05c668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 #3 0x00007f212ff33582 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:597 #4 0x00007f212d05c710 in <signal handler called> () at /usr/lib/libc.so.6 #5 0x00007f212d760c61 in std::__atomic_base<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x7e) at /usr/include/c++/13.2.1/atomic:576 #6 std::atomic<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=0x7e) at /usr/include/c++/13.2.1/atomic:577 #7 QAtomicOps<QThreadData*>::loadRelaxed<QThreadData*>(std::atomic<QThreadData*> const&) (_q_value=<error reading variable: Cannot access memory at address 0x7e>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qatomic_cxx11.h:201 #8 QBasicAtomicPointer<QThreadData>::loadRelaxed() const (this=0x7e) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qbasicatomic.h:172 #9 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x55f7e3c876b0, event=event@entry=0x7ffff2d8d0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1246 #10 0x00007f212e77317b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f7e3c876b0, e=0x7ffff2d8d0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3284 #11 0x00007f212d7626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f7e3c876b0, event=0x7ffff2d8d0f0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118 #12 0x00007f212d76271d in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536 #13 0x00007f212dde9ad0 in QPlatformWindow::deliverUpdateRequest() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/gui/kernel/qplatformwindow.cpp:783 #14 0x00007f212d7a5077 in QObject::event(QEvent*) (this=0x55f7e4898fe0, e=0x55f7e4751fd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qobject.cpp:1437 #15 0x00007f212e77318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f7e4898fe0, e=0x55f7e4751fd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290 #16 0x00007f212d7626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f7e4898fe0, event=event@entry=0x55f7e4751fd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118 #17 0x00007f212d762a5b in QCoreApplication::sendEvent(QObject*, QEvent*) (event=0x55f7e4751fd0, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1536 #18 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55f7e01f2690) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1898 #19 0x00007f212d999d24 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=0x0, event_type=0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1757 --Type <RET> for more, q to quit, c to continue without paging-- #20 postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55f7e0265ca0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:243 #21 0x00007f212c45ff69 in g_main_dispatch (context=0x7f2120000ef0) at ../glib/glib/gmain.c:3476 #22 0x00007f212c4be327 in g_main_context_dispatch_unlocked (context=0x7f2120000ef0) at ../glib/glib/gmain.c:4284 #23 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f2120000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349 #24 0x00007f212c45e162 in g_main_context_iteration (context=0x7f2120000ef0, may_block=1) at ../glib/glib/gmain.c:4414 #25 0x00007f212d997934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f7e01f7ad0, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393 #26 0x00007f212d76cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffff2d8d580) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100 #27 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffff2d8d580, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182 #28 0x00007f212d765178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74 #29 0x00007f212e76fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569 #30 0x000055f7de1c822c in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.27.80/shell/main.cpp:230 -- You are receiving this mail because: You are watching all bug changes.