Bug 488730 - Plasmashell crashes inPanelView::~PanelView() directly after resuming from blank screen
Summary: Plasmashell crashes inPanelView::~PanelView() directly after resuming from bl...
Status: RESOLVED DUPLICATE of bug 489180
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.0
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 12:24 UTC by ollilein
Modified: 2024-07-02 20:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.1.1


Attachments
Plasmashell 6.1.0 Backtrace (5.90 KB, text/x-log)
2024-06-19 12:24 UTC, ollilein
Details
plasma workspace 6.1.1 backtrace (8.41 KB, text/x-log)
2024-06-29 14:46 UTC, ollilein
Details
Better backtrace from plasmashell (5.90 KB, text/x-log)
2024-06-29 15:01 UTC, ollilein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ollilein 2024-06-19 12:24:02 UTC
Created attachment 170635 [details]
Plasmashell 6.1.0 Backtrace

SUMMARY
Often after resuming from screen blankening plasmashell crashes and then directly start a new instance. This happens since the update to Plasma 6.1.0.

STEPS TO REPRODUCE
1. Wait until the Monitor switches off
2. Move the mouse to reactivate the screen
3. Very often Plasmashell crashes

OBSERVED RESULT
It looks like plasmashell is crashing during the screen activation.

EXPECTED RESULT
Plasmashell is not crashing

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Gentoo 2.14
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.2

ADDITIONAL INFORMATION
The Crash Reporter starts after plasmashell reloads
Comment 1 Nate Graham 2024-06-19 19:43:52 UTC
on#0  QtWaylandClient::QWaylandWindow::waylandScreen (this=this@entry=0x5555564ee730) at /var/tmp/portage/dev-qt/qtwayland-6.7.2/work/qtwayland-everywhere-src-6.7.2/src/client/qwaylandwindow.cpp:956
#1  0x00007ffff617bc03 in QtWaylandClient::QWaylandWindow::devicePixelRatio (this=0x5555564ee730) at /var/tmp/portage/dev-qt/qtwayland-6.7.2/work/qtwayland-everywhere-src-6.7.2/src/client/qwaylandwindow.cpp:1519
#2  QtWaylandClient::QWaylandWindow::scale (this=this@entry=0x5555564ee730) at /var/tmp/portage/dev-qt/qtwayland-6.7.2/work/qtwayland-everywhere-src-6.7.2/src/client/qwaylandwindow.cpp:1514
#3  0x00007fffee98ec55 in QtWaylandClient::QWaylandEglWindow::updateSurface (this=0x5555564ee730, create=true) at /var/tmp/portage/dev-qt/qtwayland-6.7.2/work/qtwayland-everywhere-src-6.7.2/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp:70
#4  0x00007fffee98f653 in QtWaylandClient::QWaylandGLContext::makeCurrent (this=this@entry=0x55555bbfc810, surface=<optimized out>) at /var/tmp/portage/dev-qt/qtwayland-6.7.2/work/qtwayland-everywhere-src-6.7.2/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:318
#5  0x00007ffff5c56a8d in QOpenGLContext::makeCurrent (this=0x55555aaeadb0, surface=surface@entry=0x5555563c96b0) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qopenglcontext.cpp:664
#6  0x00007ffff5c6daae in QRhiGles2::ensureContext (this=0x55555ba6b540, surface=0x5555563c96b0) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/gui/rhi/qrhigles2.cpp:632
#7  0x00007ffff6b6dd69 in QSGGuiThreadRenderLoop::windowDestroyed (this=0x555555ea3500, window=0x55555a366d30) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/scenegraph/qsgrenderloop.cpp:345
#8  0x00007ffff6c5845d in QQuickWindow::~QQuickWindow (this=0x55555a366d30, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickwindow.cpp:1167
#9  0x00005555555a292d in PanelView::~PanelView (this=0x55555a366d30, __in_chrg=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.0/work/plasma-workspace-6.1.0/shell/panelview.cpp:123
#10 0x00007ffff5487609 in QObject::event (this=this@entry=0x55555a366d30, e=0x5555565f3b60) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1437
#11 0x00007ffff59c9c4b in QWindow::event (this=this@entry=0x55555a366d30, ev=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qwindow.cpp:2639
#12 0x00007ffff6c7586c in QQuickWindow::event (this=this@entry=0x55555a366d30, event=event@entry=0x5555565f3b60) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickwindow.cpp:1655
#13 0x00005555555a42ab in PanelView::event (this=0x55555a366d30, e=0x5555565f3b60) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.0/work/plasma-workspace-6.1.0/shell/panelview.cpp:1222
#14 0x00007ffff7727ea9 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55555a366d30, e=0x5555565f3b60) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
#15 0x00007ffff5500288 in QCoreApplication::notifyInternal2 (receiver=0x55555a366d30, event=0x5555565f3b60) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#16 0x00007ffff550033d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583
#17 0x00007ffff552505e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55555564dbd0) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940
#18 0x00007ffff552526c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1797
#19 0x00007ffff52c85c7 in postEventSourceDispatch (s=0x55555567bb70) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#20 0x00007ffff3e66eef in g_main_dispatch (context=0x7fffe8000ef0) at ../glib-2.78.6/glib/gmain.c:3476
#21 g_main_context_dispatch_unlocked (context=context@entry=0x7fffe8000ef0) at ../glib-2.78.6/glib/gmain.c:4284
#22 0x00007ffff3e690d8 in g_main_context_iterate_unlocked (context=context@entry=0x7fffe8000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.78.6/glib/gmain.c:4349
#23 0x00007ffff3e697d0 in g_main_context_iteration (context=0x7fffe8000ef0, may_block=1) at ../glib-2.78.6/glib/gmain.c:4414
#24 0x00007ffff52c6793 in QEventDispatcherGlib::processEvents (this=0x5555556925e0, flags=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#25 0x00007ffff5529bda in QEventLoop::exec (this=this@entry=0x7fffffffd240, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
#26 0x00007ffff5529d75 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
#27 0x00007ffff5963f40 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:1926
#28 0x00007ffff7696169 in QApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2555
#29 0x0000555555580c36 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.0/work/plasma-workspace-6.1.0/shell/main.cpp:188
Comment 2 ollilein 2024-06-26 13:28:27 UTC
I updated to
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0 
Qt Version: 6.7.2

And it looks that the crashes are gone, since the update i had no crash from plasmashell at all.
Comment 3 Nate Graham 2024-06-26 13:32:22 UTC
Thanks for following up!
Comment 4 ollilein 2024-06-29 14:45:34 UTC
Hi there,

the bug is back, i will add a new attachment in a few minutes.
Comment 5 ollilein 2024-06-29 14:46:19 UTC
Created attachment 171182 [details]
plasma workspace 6.1.1 backtrace

This is the new backtrace from plasma-workspace-6.1.1.
Comment 6 ollilein 2024-06-29 15:01:54 UTC
Created attachment 171183 [details]
Better backtrace from plasmashell

I made a new backtrace because the old one was uncompleted.
Comment 7 Nate Graham 2024-07-02 20:02:10 UTC

*** This bug has been marked as a duplicate of bug 489180 ***