Bug 449324 - kwin_wayland crashed at QOpenGLContext::shareGroup
Summary: kwin_wayland crashed at QOpenGLContext::shareGroup
Status: RESOLVED DUPLICATE of bug 470266
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-01-29 14:56 UTC by Fushan Wen
Modified: 2023-05-26 10:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2022-01-29 14:56:17 UTC
SUMMARY
KWin crashed when I was hovering on the task manager.


STEPS TO REPRODUCE
Cannot reproduce

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220126
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 4700U with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD RENOIR

Information for package kwin5:
------------------------------
Repository     : unstable-kde-frameworks
Name           : kwin5
Version        : 5.24.80git.20220128T144116~aebe1ab3a4-ku.11.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 15.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : kwin5-5.24.80git.20220128T144116~aebe1ab3a4-ku.11.1.src
Summary        : KDE Window Manage

ADDITIONAL INFORMATION
(gdb) bt
#0  QOpenGLContext::shareGroup() const (this=this@entry=0x0) at kernel/qopenglcontext.cpp:1178
#1  0x00007f6fa7e47e55 in QOpenGLMultiGroupSharedResource::value<QOpenGLFunctionsPrivateEx>(QOpenGLContext*) (context=0x0, this=0x7f6fa8047360 <(anonymous namespace)::Q_QGS_qt_gl_functions_resource::innerFunction()::holder>) at ../../include/QtGui/5.15.2/QtGui/private/../../../../../src/gui/kernel/qopenglcontext_p.h:173
#2  qt_gl_functions(QOpenGLContext*) (context=0x0) at opengl/qopenglfunctions.cpp:191
#3  0x00007f6fa7e480c2 in qopenglfSpecialClearDepthf(GLclampf) (depth=1) at opengl/qopenglfunctions.cpp:2138
#4  0x00007f6fa90b616b in QOpenGLFunctions::glClearDepthf(float) (depth=1, this=0x5640f3037210) at /usr/include/qt5/QtGui/qopenglfunctions.h:1252
#5  QSGBatchRenderer::Renderer::renderBatches() (this=this@entry=0x5640f30370a0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4028
#6  0x00007f6fa90b69e2 in QSGBatchRenderer::Renderer::render() (this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4363
#7  0x00007f6fa909dfd0 in QSGRenderer::renderScene(QSGBindable const&) (bindable=<optimized out>, this=0x5640f30370a0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgrenderer.cpp:264
#8  QSGRenderer::renderScene(QSGBindable const&) (this=0x5640f30370a0, bindable=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgrenderer.cpp:220
#9  0x00007f6fa909e4a3 in QSGRenderer::renderScene(unsigned int) (this=<optimized out>, fboId=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgrenderer.cpp:212
#10 0x00007f6fa9102f23 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) (this=0x5640f2924c40, renderer=0x5640f30370a0, fboId=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/qsgdefaultrendercontext.cpp:228
#11 0x00007f6fa9171039 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) (this=0x5640f26bfab0, size=<optimized out>, surfaceSize=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:616
#12 0x00007f6fa90ee432 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x5640f2c6a380, window=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/scenegraph/qsgrenderloop.cpp:763
#13 0x00007f6fa91802df in QQuickWindow::event(QEvent*) (this=0x5640f2e432c0, e=0x7ffdde0e49c0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde43-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:1857
#14 0x00007f6fa8238a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5640f2e432c0, e=0x7ffdde0e49c0) at kernel/qapplication.cpp:3632
#15 0x00007f6fa763fe2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5640f2e432c0, event=0x7ffdde0e49c0) at kernel/qcoreapplication.cpp:1064
#16 0x00007f6fa7a8b854 in QPlatformWindow::deliverUpdateRequest() (this=<optimized out>) at kernel/qplatformwindow.cpp:789
#17 QPlatformWindow::windowEvent(QEvent*) (this=<optimized out>, event=<optimized out>) at kernel/qplatformwindow.cpp:476
#18 0x00007f6fa823fb76 in QApplication::notify(QObject*, QEvent*) (this=0x7ffdde0e50a0, receiver=0x5640f2e432c0, e=0x7ffdde0e4c50) at kernel/qapplication.cpp:2874
#19 0x00007f6fa763fe2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5640f2e432c0, event=0x7ffdde0e4c50) at kernel/qcoreapplication.cpp:1064
#20 0x00007f6fa769670b in QTimerInfoList::activateTimers() (this=this@entry=0x5640f0f7f988) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007f6fa7693ecc in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x5640f0f7f900) at kernel/qeventdispatcher_unix.cpp:249
#22 0x00007f6fa7694c17 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#23 0x00005640efd1900d in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
#24 0x00007f6fa763e82b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffdde0e4df0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x00007f6fa7646b00 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x00007f6fa7a9025c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#27 0x00007f6fa82389f5 in QApplication::exec() () at kernel/qapplication.cpp:2824
#28 0x00005640efc2dd95 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin5-5.24.80git.20220128T144116~aebe1ab3a4-ku.11.1.x86_64/src/main_wayland.cpp:727
Comment 1 Fushan Wen 2022-11-25 04:43:53 UTC
Version        : 5.26.80git.20221124T101805~9e97c738-ku.70.1

(gdb) bt
#0  QOpenGLContext::shareGroup() const (this=this@entry=0x0) at kernel/qopenglcontext.cpp:1179
#1  0x00007f35e9525a67 in QOpenGLMultiGroupSharedResource::value<QOpenGLFunctionsPrivateEx>(QOpenGLContext*) (context=0x0, this=0x7f35e9723000 <(anonymous namespace)::Q_QGS_qt_gl_functions_resource::innerFunction()::holder>) at ../../include/QtGui/5.15.7/QtGui/private/../../../../../src/gui/kernel/qopenglcontext_p.h:173
#2  qt_gl_functions(QOpenGLContext*) (context=0x0) at opengl/qopenglfunctions.cpp:191
#3  0x00007f35e9525ce2 in qopenglfSpecialClearDepthf(GLclampf) (depth=1) at opengl/qopenglfunctions.cpp:2138
#4  0x00007f35e9fdf733 in QOpenGLFunctions::glClearDepthf(float) (depth=1, this=0x5557412e9510) at /usr/include/qt5/QtGui/qopenglfunctions.h:1252
#5  QSGBatchRenderer::Renderer::renderBatches() (this=this@entry=0x5557412e93a0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4008
#6  0x00007f35e9fe00c6 in QSGBatchRenderer::Renderer::render() (this=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4345
#7  0x00007f35e9fc7c20 in QSGRenderer::renderScene(QSGBindable const&) (bindable=<optimized out>, this=0x5557412e93a0) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/coreapi/qsgrenderer.cpp:264
#8  QSGRenderer::renderScene(QSGBindable const&) (this=0x5557412e93a0, bindable=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/coreapi/qsgrenderer.cpp:220
#9  0x00007f35e9fc80d3 in QSGRenderer::renderScene(unsigned int) (this=<optimized out>, fboId=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/coreapi/qsgrenderer.cpp:212
#10 0x00007f35ea029f43 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) (this=0x55574111bbd0, renderer=0x5557412e93a0, fboId=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/qsgdefaultrendercontext.cpp:228
#11 0x00007f35ea0976d9 in QQuickWindowPrivate::renderSceneGraph(QSize const&, QSize const&) (this=0x5557415d0060, size=<optimized out>, surfaceSize=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/items/qquickwindow.cpp:617
#12 0x00007f35ea015aec in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) (this=0x555741208c20, window=<optimized out>) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/scenegraph/qsgrenderloop.cpp:764
#13 0x00007f35ea0a63e0 in QQuickWindow::event(QEvent*) (this=0x555741e73b00, e=0x7ffc27604020) at /usr/src/debug/qtdeclarative-everywhere-src-5.15.7+kde18/src/quick/items/qquickwindow.cpp:1863
#14 0x00007f35b2d2e6b2 in  ()
#15 0x000000000000000b in  ()
#16 0x8e71f622ebc40600 in  ()
#17 0x00007ffc27604020 in  ()
#18 0x0000555741e73b00 in  ()
#19 0x000000000000000b in  ()
#20 0x0000555740f113e0 in  ()
#21 0x0000000000000008 in  ()
#22 0x0000000000000008 in  ()
#23 0x00007f35ea97b9e0 in wl_display_requests () at /lib64/libkwin.so.5
#24 0x00007f35e7aa4b33 in __GI___libc_free (mem=mem@entry=0x555740f113e0) at malloc.c:3385
#25 0x00007f35e6ef120c in wl_closure_destroy (closure=0x555740f113e0) at ../src/connection.c:1388
#26 wl_closure_destroy (closure=0x555740f113e0) at ../src/connection.c:1381
#27 wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=<optimized out>) at ../src/wayland-server.c:444
#28 0x00007f35e6eefe2a in wl_event_loop_dispatch (loop=0x55573fd83808, timeout=<optimized out>) at ../src/event-loop.c:1032
#29 0x00007f35e81ac639 in QApplication::notify(QObject*, QEvent*) (this=0x8e71f622ebc40600, receiver=0x0, e=0x7ffc27604280) at kernel/qapplication.cpp:2879
#30 0x00007f35e8cdc128 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x555741e73b00, event=0x7ffc27604280) at kernel/qcoreapplication.cpp:1064
#31 0x00007f35e8d32f51 in QTimerInfoList::activateTimers() (this=this@entry=0x55573fd46ce8) at kernel/qtimerinfo_unix.cpp:643
#32 0x00007f35e8d3078c in QEventDispatcherUNIXPrivate::activateTimers() (this=this@entry=0x55573fd46c60) at kernel/qeventdispatcher_unix.cpp:249
#33 0x00007f35e8d31530 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qeventdispatcher_unix.cpp:516
#34 0x000055573eb6a8bd in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at qunixeventdispatcher.cpp:63
#35 0x00007f35e8cdab9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc27604420, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#36 0x00007f35e8ce2d06 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#37 0x00007f35e916ee4c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#38 0x00007f35e81a5375 in QApplication::exec() () at kernel/qapplication.cpp:2829
#39 0x000055573ea90df4 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin-5.26.80git.20221122T162838~f70caec4/src/main_wayland.cpp:627
Comment 2 David Edmundson 2023-05-26 10:11:37 UTC
*** This bug has been marked as a duplicate of bug 470266 ***