Bug 478941 - Plasma crash on wake from sleep on mouseover on toolbar or click on Start Menu
Summary: Plasma crash on wake from sleep on mouseover on toolbar or click on Start Menu
Status: RESOLVED DUPLICATE of bug 414805
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.5
Platform: Debian stable Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-12-23 14:20 UTC by rez
Modified: 2024-01-30 15:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (82.32 KB, text/plain)
2024-01-30 15:41 UTC, kde-bugs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rez 2023-12-23 14:20:30 UTC
Application: plasmashell (5.27.5)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-16-amd64 x86_64
Windowing System: X11
Distribution: Devuan GNU/Linux 5 (daedalus)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
When I resume from sleep or hibernation Plasma starts up OK with all elements, but crash happens every time when I first mouse over on any application running on panel or when I click on KDE Start button.
After that Plasma works normally till the next sleep.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4818d65624 in QScreen::handle() const (this=0x5572cfb16240) at kernel/qscreen.cpp:182
#5  0x00007f48138d8598 in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const (this=<optimized out>, context=0x5572d083a6c0) at ./src/plugins/platforms/xcb/qxcbintegration.cpp:277
#6  0x00007f4818d8254d in QOpenGLContext::create() (this=0x5572d083a6c0) at kernel/qopenglcontext.cpp:612
#7  0x00007f481a4079d0 in QSGRenderThread::sync(bool, bool) (this=this@entry=0x5572d286d310, inExpose=inExpose@entry=true, inGrab=inGrab@entry=false) at scenegraph/qsgthreadedrenderloop.cpp:619
#8  0x00007f481a409b35 in QSGRenderThread::syncAndRender(QImage*) (this=this@entry=0x5572d286d310, grabImage=grabImage@entry=0x0) at scenegraph/qsgthreadedrenderloop.cpp:777
#9  0x00007f481a40a46f in QSGRenderThread::run() (this=0x5572d286d310) at scenegraph/qsgthreadedrenderloop.cpp:1042
#10 0x00007f48186cbd43 in QThreadPrivate::start(void*) (arg=0x5572d286d310) at thread/qthread_unix.cpp:331
#11 0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f47cf1af6c0 (LWP 4576) "plasmashell"):
#1  __pselect (nfds=nfds@entry=5, readfds=readfds@entry=0x7f47cf1a6b50, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7f47cf1a6b40, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f481639ba62 in usbmuxd_listen_inotify () at libusbmuxd.c:923
#3  0x00007f481639ce60 in usbmuxd_listen () at libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at libusbmuxd.c:1107
#5  0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f47faf576c0 (LWP 4345) "CPMMListener"):
#1  0x00007f480a872a57 in  () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.525.147.05
#2  0x00007f480a87034a in  () at /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.525.147.05
#3  0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#4  0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f4810dff6c0 (LWP 4188) "QQmlThread"):
#1  0x00007f48171df9ae in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f48171dfacc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f481890984e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4800000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f48188b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4810dfec20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f48186cab87 in QThread::exec() (this=this@entry=0x5572d0252840) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f4819f28555 in QQmlThreadPrivate::run() (this=0x5572d0252840) at qml/ftw/qqmlthread.cpp:155
#7  0x00007f48186cbd43 in QThreadPrivate::start(void*) (arg=0x5572d0252840) at thread/qthread_unix.cpp:331
#8  0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f4812ae76c0 (LWP 4106) "QDBusConnection"):
#1  __GI___libc_read (fd=7, buf=0x7f4812ae69f0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f481722ec9f in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f48171df4c5 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f48171df958 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f48171dfacc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f481890984e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4804000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f48188b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4812ae6c10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#8  0x00007f48186cab87 in QThread::exec() (this=this@entry=0x7f4819b3fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007f4819ac7487 in QDBusConnectionManager::run() (this=0x7f4819b3fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#10 0x00007f48186cbd43 in QThreadPrivate::start(void*) (arg=0x7f4819b3fd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#11 0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#12 0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f48135ff6c0 (LWP 4098) "QXcbEventQueue"):
#1  0x00007f481ac2bd12 in poll (__timeout=-1, __nfds=1, __fds=0x7f48135feb48) at /usr/include/x86_64-linux-gnu/bits/poll2.h:47
#2  _xcb_conn_wait (c=c@entry=0x5572cfa16f10, cond=cond@entry=0x5572cfa16f50, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:508
#3  0x00007f481ac2e07a in xcb_wait_for_event (c=0x5572cfa16f10) at ../../src/xcb_in.c:703
#4  0x00007f48138faf00 in QXcbEventQueue::run() (this=0x5572cfa10090) at ./src/plugins/platforms/xcb/qxcbeventqueue.cpp:228
#5  0x00007f48186cbd43 in QThreadPrivate::start(void*) (arg=0x5572cfa10090) at thread/qthread_unix.cpp:331
#6  0x00007f48184a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007f481852861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f4815bd3440 (LWP 4086) "plasmashell"):
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5572d2f49ad0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at ./nptl/futex-internal.c:87
#2  0x00007f48184a4e0b in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5572d2f49ad0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3  0x00007f48184a7468 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5572d2f49a80, cond=0x5572d2f49aa8) at ./nptl/pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5572d2f49aa8, mutex=0x5572d2f49a80) at ./nptl/pthread_cond_wait.c:618
#5  0x00007f48186d1a2b in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x5572d2f49a80) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x5572d286d368, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f481a40bd58 in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) (this=this@entry=0x5572d0453360, w=w@entry=0x7f480c00c350, inExpose=inExpose@entry=true) at scenegraph/qsgthreadedrenderloop.cpp:1603
#8  0x00007f481a40d013 in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) (this=0x5572d0453360, window=<optimized out>) at scenegraph/qsgthreadedrenderloop.cpp:1374
#9  0x00007f4818d493f5 in QWindow::event(QEvent*) (this=0x5572d0736e30, ev=<optimized out>) at kernel/qwindow.cpp:2455
#10 0x00007f480bf69055 in  () at /usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#11 0x00007f4819562fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5572d0736e30, e=0x7ffeea4e95c0) at kernel/qapplication.cpp:3640
#12 0x00007f48188b16f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5572d0736e30, event=0x7ffeea4e95c0) at kernel/qcoreapplication.cpp:1064
#13 0x00007f48188b18ce in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#14 0x00007f4818d3e5cd in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x7f480c019940) at kernel/qguiapplication.cpp:3254
#15 0x00007f4818d11cac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#16 0x00007f48138fbeca in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#17 0x00007f48171df7a9 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f48171dfa38 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f48171dfacc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f4818909836 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5572cfb35390, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#21 0x00007f48188b017b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffeea4e9830, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#22 0x00007f48188b82d6 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#23 0x00007f4818d30e8c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1863
#24 0x00007f4819562f25 in QApplication::exec() () at kernel/qapplication.cpp:2832
#25 0x00005572cdfa3dc3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:235
[Inferior 1 (process 4086) detached]

The reporter indicates this bug may be a duplicate of or related to bug 437090, bug 437266, bug 471417, bug 476713, bug 476088.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-12-23 14:34:52 UTC

*** This bug has been marked as a duplicate of bug 414805 ***
Comment 2 kde-bugs 2024-01-30 15:41:58 UTC
Created attachment 165354 [details]
New crash information added by DrKonqi

plasmashell (5.27.10) using Qt 5.15.10

Plasma crashes while clicking on the taskbar after turning on the screen.

-- Backtrace (Reduced):
#4  0x00007f1ff69688b8 in QScreen::handle() const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007f1ff155b66c in QXcbIntegration::createPlatformOpenGLContext(QOpenGLContext*) const () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#6  0x00007f1ff698c071 in QOpenGLContext::create() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
[...]
#11 0x00007f1ff5ca63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#12 0x00007f1ff5d26a7c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81