Bug 495343 - Plasma crashed after switching before windows.
Summary: Plasma crashed after switching before windows.
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 6.2.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-10-25 13:21 UTC by Alexey
Modified: 2024-10-28 03:17 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (108.62 KB, text/plain)
2024-10-25 13:21 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2024-10-25 13:21:36 UTC
Application: plasmashell (6.2.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.7.0
Operating System: Linux 6.11.3-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.2.0 [CoredumpBackend]

-- Information about the crash:
Periodically (about once a day) plasma drops when switching between windows.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  0x000075a5e3bf2423 in send_explicit_sync_points (display=0x5859b6cdb5a0, surface=0x5859c3f6ff80, image=0x0) at ../egl-wayland/src/wayland-eglsurface.c:205
#6  wlEglSendDamageEvent (surface=surface@entry=0x5859c3f6ff80, queue=0x5859c41d3980) at ../egl-wayland/src/wayland-eglsurface.c:279
#7  0x000075a5e3bf7ba4 in wlEglSwapBuffersWithDamageHook (eglDisplay=<optimized out>, eglSurface=<optimized out>, rects=<optimized out>, n_rects=<optimized out>) at ../egl-wayland/src/wayland-eglswap.c:150
[...]
#10 0x000075a5e3f632ce in QtWaylandClient::QWaylandGLContext::swapBuffers (this=0x5859c857c4a0, surface=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:374
#11 0x000075a5ebb0b67d in QRhiGles2::endFrame (this=0x5859b7054770, swapChain=0x5859c0cfc870, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhigles2.cpp:2166


Reported using DrKonqi
Comment 1 Alexey 2024-10-25 13:21:37 UTC
Created attachment 175228 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2024-10-28 03:16:08 UTC
Thread 1 (Thread 0x75a5e4d3da00 (LWP 1249)):
[KCrash Handler]
#5  0x000075a5e3bf2423 in send_explicit_sync_points (display=0x5859b6cdb5a0, surface=0x5859c3f6ff80, image=0x0) at ../egl-wayland/src/wayland-eglsurface.c:205
#6  wlEglSendDamageEvent (surface=surface@entry=0x5859c3f6ff80, queue=0x5859c41d3980) at ../egl-wayland/src/wayland-eglsurface.c:279
#7  0x000075a5e3bf7ba4 in wlEglSwapBuffersWithDamageHook (eglDisplay=<optimized out>, eglSurface=<optimized out>, rects=<optimized out>, n_rects=<optimized out>) at ../egl-wayland/src/wayland-eglswap.c:150
#8  0x000075a5e22ab62e in ?? () from /usr/lib/libEGL_nvidia.so.0
#9  0x000075a5e224e640 in ?? () from /usr/lib/libEGL_nvidia.so.0
#10 0x000075a5e3f632ce in QtWaylandClient::QWaylandGLContext::swapBuffers (this=0x5859c857c4a0, surface=<optimized out>) at /usr/src/debug/qt6-wayland/qtwayland/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:374
#11 0x000075a5ebb0b67d in QRhiGles2::endFrame (this=0x5859b7054770, swapChain=0x5859c0cfc870, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhigles2.cpp:2166
#12 0x000075a5eb9a9eee in QRhi::endFrame (this=0x5859c32ec5a0, swapChain=0x5859c0cfc870, flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/rhi/qrhi.cpp:10878
#13 0x000075a5ec8f92c0 in QSGGuiThreadRenderLoop::renderWindow (this=0x5859b710c420, window=0x5859c7aa70f0) at /usr/src/debug/qt6-declarative/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp:718
#14 0x000075a5eb7eee00 in QWindow::event (this=0x5859c7aa70f0, ev=0x7ffd2b071040) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2666
#15 0x000075a5edc30011 in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib/libPlasmaQuick.so.6
#16 0x000075a5ed2fe31a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5859c7aa70f0, e=0x7ffd2b071040) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3294
#17 0x000075a5eb1585a8 in QCoreApplication::notifyInternal2 (receiver=0x5859c7aa70f0, event=0x7ffd2b071040) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1165
#18 0x000075a5eb1585fd in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1623
#19 0x000075a5eb7956f4 in QGuiApplicationPrivate::processExposeEvent (e=0x5859c3a8bfe0) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:3463
#20 0x000075a5eb801284 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1114
#21 0x000075a5ebc4da14 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#22 0x000075a5e9c68559 in g_main_dispatch (context=0x75a5dc000f30) at ../glib/glib/gmain.c:3357
#23 0x000075a5e9ccb157 in g_main_context_dispatch_unlocked (context=0x75a5dc000f30) at ../glib/glib/gmain.c:4208
#24 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x75a5dc000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4273
#25 0x000075a5e9c67a55 in g_main_context_iteration (context=0x75a5dc000f30, may_block=1) at ../glib/glib/gmain.c:4338
#26 0x000075a5eb3bf71d in QEventDispatcherGlib::processEvents (this=0x5859b6aeb690, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#27 0x000075a5eb164566 in QEventLoop::processEvents (this=0x7ffd2b071410, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#28 QEventLoop::exec (this=0x7ffd2b071410, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#29 0x000075a5eb159a2f in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#30 0x000058599a43d15f in ?? ()
#31 0x000075a5eaa34e08 in __libc_start_call_main (main=main@entry=0x58599a439ed0, argc=argc@entry=2, argv=argv@entry=0x7ffd2b071838) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x000075a5eaa34ecc in __libc_start_main_impl (main=0x58599a439ed0, argc=2, argv=0x7ffd2b071838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd2b071828) at ../csu/libc-start.c:360
#33 0x000058599a43d675 in ?? ()
Comment 3 Nate Graham 2024-10-28 03:17:06 UTC
The crash backtrace indicates that the problem is in the proprietary NVIDIA drivers.

Please report this issue to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report. Thanks!