Bug 436054 - System Monitor Closes unexpectedly:
Summary: System Monitor Closes unexpectedly:
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kquickcharts
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.81.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Arjen Hiemstra
URL:
Keywords: drkonqi
: 436943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-22 18:11 UTC by panorain
Modified: 2021-05-12 08:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description panorain 2021-04-22 18:11:36 UTC
Application: plasma-systemmonitor (5.21.4)

Qt Version: 5.15.2
Frameworks Version: 5.81.0
Operating System: Linux 5.11.15-1-pae i686
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

KDE 5 Plasma with X11 32 bit openSUSE Tumbleweed.

Attempting to open System Monitor and application fails.

The crash can be reproduced every time.

-- Backtrace:
Application: System Monitor (plasma-systemmonitor), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0xb44af600 (LWP 9758))]
[KCrash Handler]
#8  0xb7fa3549 in __kernel_vsyscall ()
#9  0xb5e53166 in __libc_signal_restore_set (set=0xbff65c1c) at ../sysdeps/unix/sysv/linux/internal-signals.h:105
#10 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:47
#11 0xb5e3b30d in __GI_abort () at abort.c:79
#12 0xb5e971fc in __libc_message (action=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:155
#13 0xb5f38b1c in __GI___fortify_fail (msg=0xb5fb6241 "stack smashing detected") at fortify_fail.c:26
#14 0xb5f38aeb in __stack_chk_fail () at stack_chk_fail.c:24
#15 0xac99b2d4 in __stack_chk_fail_local () at stack_chk_fail_local.c:45
#16 0xac417ac1 in _mesa_remove_dead_code_global (prog=prog@entry=0x2c703d8, mem_ctx=mem_ctx@entry=0x2c703d8) at ../src/mesa/program/prog_optimize.c:341
#17 0xac422aa3 in _mesa_optimize_program (program=program@entry=0x2c703d8, mem_ctx=mem_ctx@entry=0x2c703d8) at ../src/mesa/program/prog_optimize.c:1324
#18 0xac424d3f in get_mesa_program (shader=<optimized out>, shader_program=<optimized out>, ctx=<optimized out>) at ../src/mesa/program/ir_to_mesa.cpp:2962
#19 _mesa_ir_link_shader (ctx=<optimized out>, prog=<optimized out>) at ../src/mesa/program/ir_to_mesa.cpp:3051
#20 0xac421f38 in _mesa_glsl_link_shader (ctx=0x1ef54a0, prog=0x2865bb8) at ../src/mesa/program/ir_to_mesa.cpp:3122
#21 0xac2ef629 in link_program (no_error=<optimized out>, shProg=<optimized out>, ctx=<optimized out>) at ../src/mesa/main/shaderapi.c:1311
#22 link_program_error (shProg=0x2865bb8, ctx=0x1ef54a0) at ../src/mesa/main/shaderapi.c:1419
#23 link_program_error (ctx=0x1ef54a0, shProg=0x2865bb8) at ../src/mesa/main/shaderapi.c:1417
#24 0xb6d8775e in QOpenGLFunctions::glLinkProgram (program=31, this=<optimized out>) at ../../include/QtGui/../../src/gui/opengl/qopenglfunctions.h:1756
#25 QOpenGLShaderProgram::link (this=0x29c5f64) at opengl/qopenglshaderprogram.cpp:1332
#26 0xb0ee2378 in QSGDefaultRenderContext::compileShader (this=0x1acd210, material=0x21362b0, fragmentCode=0x0, vertexCode=0x2c6fbc0 "/*\n * This file is part of KQuickCharts\n * SPDX-FileCopyrightText: 2019 Arjen Hiemstra <ahiemstra@heimr.nl>\n *\n * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGP"..., shader=0x29c5f60) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/qsgdefaultrendercontext.cpp:368
#27 QSGDefaultRenderContext::compileShader (this=0x1acd210, shader=0x29c5f60, material=0x21362b0, vertexCode=0x2c6fbc0 "/*\n * This file is part of KQuickCharts\n * SPDX-FileCopyrightText: 2019 Arjen Hiemstra <ahiemstra@heimr.nl>\n *\n * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGP"..., fragmentCode=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/qsgdefaultrendercontext.cpp:358
#28 0xb0e84254 in QSGBatchRenderer::ShaderManager::prepareMaterial (this=0x216b870, material=0x21362b0, enableRhiShaders=false, geometry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:305
#29 0xb0e8b2ae in QSGBatchRenderer::Renderer::renderMergedBatch (batch=0x2b92760, this=0x1b36fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3082
#30 QSGBatchRenderer::Renderer::renderMergedBatch (this=0x1b36fa0, batch=0x2b92760) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3026
#31 0xb0e90c8a in QSGBatchRenderer::Renderer::renderBatches (this=0x1b36fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4066
#32 0xb0e91528 in QSGBatchRenderer::Renderer::render (this=0x1b36fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4363
#33 0xb0e77d4b in QSGRenderer::renderScene (bindable=warning: RTTI symbol for class 'QSGRenderer::renderScene(unsigned int)::B' is not a type
..., this=0x1b36fa0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:264
#34 QSGRenderer::renderScene (this=0x1b36fa0, bindable=warning: RTTI symbol for class 'QSGRenderer::renderScene(unsigned int)::B' is not a type
...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:220
#35 0xb0e782e2 in QSGRenderer::renderScene (this=0x1b36fa0, fboId=0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:212
#36 0xb0ee212a in QSGDefaultRenderContext::renderNextFrame (this=0x1acd210, renderer=0x1b36fa0, fboId=0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/qsgdefaultrendercontext.cpp:228
#37 0xb0f557b9 in QQuickWindowPrivate::renderSceneGraph (this=0x1a6a240, size=..., surfaceSize=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/items/qquickwindow.cpp:617
#38 0xb0ecbea7 in QSGGuiThreadRenderLoop::renderWindow (this=0x1aabc30, window=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/scenegraph/qsgrenderloop.cpp:763
#39 0xb0f65728 in QQuickWindow::event (this=0x1a1a9f0, e=0xbff6b1d0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2-3.3.i386/src/quick/items/qquickwindow.cpp:1858
#40 0xb71854c6 in QApplicationPrivate::notify_helper (this=0x189a170, receiver=0x1a1a9f0, e=0xbff6b1d0) at kernel/qapplication.cpp:3632
#41 0xb718cdc9 in QApplication::notify (this=0xbff6b790, receiver=0x1a1a9f0, e=0xbff6b1d0) at kernel/qapplication.cpp:3156
#42 0xb64df31a in QCoreApplication::notifyInternal2 (receiver=0x1a1a9f0, event=0xbff6b1d0) at kernel/qcoreapplication.cpp:1063
#43 0xb64df588 in QCoreApplication::sendEvent (receiver=0x1a1a9f0, event=0xbff6b1d0) at kernel/qcoreapplication.cpp:1458
#44 0xb69d75cd in QPlatformWindow::deliverUpdateRequest (this=<optimized out>) at kernel/qplatformwindow.cpp:789
#45 QPlatformWindow::windowEvent (this=0x1a1a9f0, event=0x0) at kernel/qplatformwindow.cpp:476
#46 0xb25695fe in QXcbWindow::windowEvent (this=0x1b259f0, event=0xbff6b47c) at qxcbwindow.cpp:2344
#47 0xb718cc9d in QApplication::notify (this=0xbff6b790, receiver=0x1a1a9f0, e=0xbff6b47c) at kernel/qapplication.cpp:2874
#48 0xb64df31a in QCoreApplication::notifyInternal2 (receiver=0x1a1a9f0, event=0xbff6b47c) at kernel/qcoreapplication.cpp:1063
#49 0xb64df588 in QCoreApplication::sendEvent (receiver=0x1a1a9f0, event=0xbff6b47c) at kernel/qcoreapplication.cpp:1458
#50 0xb653c977 in QTimerInfoList::activateTimers (this=0x19837e4) at kernel/qtimerinfo_unix.cpp:643
#51 0xb653d44c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#52 idleTimerSourceDispatch (source=0x19823f0) at kernel/qeventdispatcher_glib.cpp:230
#53 0xb4e4846e in g_main_dispatch (context=0xb1a04990) at ../glib/gmain.c:3337
#54 g_main_context_dispatch (context=0xb1a04990) at ../glib/gmain.c:4055
#55 0xb4e48809 in g_main_context_iterate (context=context@entry=0xb1a04990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#56 0xb4e488d4 in g_main_context_iteration (context=0xb1a04990, may_block=1) at ../glib/gmain.c:4196
#57 0xb653d823 in QEventDispatcherGlib::processEvents (this=0x198e960, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#58 0xb2578621 in QXcbGlibEventDispatcher::processEvents (this=0x198e960, flags=...) at qxcbeventdispatcher.cpp:143
#59 0xb64dd9de in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0xb64e669f in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0xb69dc691 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#62 0xb7185434 in QApplication::exec () at kernel/qapplication.cpp:2824
#63 0x0043cfcf in ?? ()
#64 0xb5e3c905 in __libc_start_main (main=0x43baf0, argc=1, argv=0xbff6b994, init=0x443080, fini=0x4430e0, rtld_fini=0xb7fb66e0 <_dl_fini>, stack_end=0xbff6b98c) at ../csu/libc-start.c:332
#65 0x0043d0c1 in ?? ()
[Inferior 1 (process 9758) detached]

Possible duplicates by query: bug 435999, bug 433013, bug 429344, bug 427384, bug 424911.

Reported using DrKonqi
Comment 1 David Redondo 2021-04-23 07:00:34 UTC
It crashes in the graphics driver when linking the kquickcharts shader program
Comment 2 Arjen Hiemstra 2021-04-23 09:02:15 UTC
Yeah this looks like a bug in Mesa in combination with having stack protection enabled. Best report it upstream.
Comment 3 Nate Graham 2021-04-23 14:55:37 UTC
(See https://www.mesa3d.org/bugs.html)
Comment 4 David Redondo 2021-05-12 08:50:29 UTC
*** Bug 436943 has been marked as a duplicate of this bug. ***