Bug 442409 - plasmashell crashes when using QSGSimpleMaterialShader due to use of "uniform lowp float %s'" in a fragment shader somewhere
Summary: plasmashell crashes when using QSGSimpleMaterialShader due to use of "uniform...
Status: RESOLVED DUPLICATE of bug 432999
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.22.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-14 02:23 UTC by Raymond Dart
Modified: 2021-09-26 21:35 UTC (History)
3 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 Raymond Dart 2021-09-14 02:23:28 UTC
Application: plasmashell (5.22.5)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.1-1-default i686
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: openSUSE Tumbleweed

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

'Box' is a desktop with old drives (one of which is a CD/DVD read/write drive [4 in all]). I had win XP and open SUSE installed on hd1 with, Debian installed on hd3 and hd2 as a 'go between'  for data between systems/OSs. I can only think that because I installed win 7 (possibly a contraband install) to determine issues I had with my sat-nav that 'booting issues' ensued. I 'quick formated' hd2 and perhaps this should've been a 'long format' to show any bad sectors, but other issues may arrise.
Best regards, Ray Dart.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0xb2e299c0 (LWP 1679))]
[KCrash Handler]
#8  0xb7f63549 in __kernel_vsyscall ()
#9  0xb5327b14 in __libc_signal_restore_set (set=0xbf8293cc) at ../sysdeps/unix/sysv/linux/internal-signals.h:105
#10 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:47
#11 0xb531030d in __GI_abort () at abort.c:79
#12 0xb57920ce in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#13 QMessageLogger::fatal (this=0xbf829678, msg=0xac8c5dc0 "QSGSimpleMaterialShader does not implement 'uniform lowp float %s' in its fragment shader") at global/qlogging.cpp:893
#14 0xac89113c in QSGSimpleMaterialShader<FadingMaterialState>::initialize (this=<optimized out>) at /usr/include/qt5/QtQuick/qsgsimplematerial.h:66
#15 FadingMaterialShader::initialize (this=0xb0409170) at /usr/src/debug/plasma-framework-5.85.0-2.1.i386/src/declarativeimports/core/fadingnode.cpp:77
#16 0xb75d4ef1 in QSGBatchRenderer::ShaderManager::prepareMaterial (this=0x291c4d0, material=0x385e5b0, enableRhiShaders=false, geometry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:306
#17 0xb75dbd9e in QSGBatchRenderer::Renderer::renderMergedBatch (batch=<optimized out>, this=0x2ae4ee0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3082
#18 QSGBatchRenderer::Renderer::renderMergedBatch (this=0x2ae4ee0, batch=0x3893bf0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:3026
#19 0xb75e17fa in QSGBatchRenderer::Renderer::renderBatches (this=0x2ae4ee0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4066
#20 0xb75e20b8 in QSGBatchRenderer::Renderer::render (this=0x2ae4ee0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:4363
#21 0xb75c8aeb in QSGRenderer::renderScene (bindable=warning: RTTI symbol for class 'QSGRenderer::renderScene(unsigned int)::B' is not a type
..., this=0x2ae4ee0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:264
#22 QSGRenderer::renderScene (this=0x2ae4ee0, bindable=warning: RTTI symbol for class 'QSGRenderer::renderScene(unsigned int)::B' is not a type
...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:220
#23 0xb75c9082 in QSGRenderer::renderScene (this=0x2ae4ee0, fboId=0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgrenderer.cpp:212
#24 0xb76328aa in QSGDefaultRenderContext::renderNextFrame (this=0x186eed0, renderer=0x2ae4ee0, fboId=0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/qsgdefaultrendercontext.cpp:228
#25 0xb76a53c9 in QQuickWindowPrivate::renderSceneGraph (this=0x19d95e0, size=..., surfaceSize=...) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/items/qquickwindow.cpp:617
#26 0xb761c908 in QSGGuiThreadRenderLoop::renderWindow (this=0x1848780, window=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/qsgrenderloop.cpp:763
#27 0xb76b5270 in QQuickWindow::event (this=0x174cb50, e=0xbf82a610) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/items/qquickwindow.cpp:1858
#28 0x004f25ba in ?? ()
#29 0xb67b0436 in QApplicationPrivate::notify_helper (this=0x15dd300, receiver=0x174cb50, e=0xbf82a610) at kernel/qapplication.cpp:3632
#30 0xb67b7de1 in QApplication::notify (this=0xbf82ac64, receiver=0x174cb50, e=0xbf82a610) at kernel/qapplication.cpp:3156
#31 0xb59c3fea in QCoreApplication::notifyInternal2 (receiver=0x174cb50, event=0xbf82a610) at kernel/qcoreapplication.cpp:1064
#32 0xb59c4258 in QCoreApplication::sendEvent (receiver=0x174cb50, event=0xbf82a610) at kernel/qcoreapplication.cpp:1462
#33 0xb5dfd20d in QPlatformWindow::deliverUpdateRequest (this=<optimized out>) at kernel/qplatformwindow.cpp:789
#34 QPlatformWindow::windowEvent (this=0x174cb50, event=0x0) at kernel/qplatformwindow.cpp:476
#35 0xb0ecb59e in QXcbWindow::windowEvent (this=0x20b0050, event=0xbf82a8ec) at qxcbwindow.cpp:2344
#36 0xb67b7c3d in QApplication::notify (this=0xbf82ac64, receiver=0x174cb50, e=0xbf82a8ec) at kernel/qapplication.cpp:2874
#37 0xb59c3fea in QCoreApplication::notifyInternal2 (receiver=0x174cb50, event=0xbf82a8ec) at kernel/qcoreapplication.cpp:1064
#38 0xb59c4258 in QCoreApplication::sendEvent (receiver=0x174cb50, event=0xbf82a8ec) at kernel/qcoreapplication.cpp:1462
#39 0xb5a21577 in QTimerInfoList::activateTimers (this=0x1670414) at kernel/qtimerinfo_unix.cpp:643
#40 0xb5a220ac in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#41 idleTimerSourceDispatch (source=0x1668500) at kernel/qeventdispatcher_glib.cpp:230
#42 0xb3c1826e in g_main_dispatch (context=0xb0404990) at ../glib/gmain.c:3337
#43 g_main_context_dispatch (context=0xb0404990) at ../glib/gmain.c:4055
#44 0xb3c18609 in g_main_context_iterate (context=context@entry=0xb0404990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#45 0xb3c186d4 in g_main_context_iteration (context=0xb0404990, may_block=1) at ../glib/gmain.c:4196
#46 0xb5a22471 in QEventDispatcherGlib::processEvents (this=0x166ed10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0xb0eda621 in QXcbGlibEventDispatcher::processEvents (this=0x166ed10, flags=...) at qxcbeventdispatcher.cpp:143
#48 0xb59c267e in QEventLoop::exec (this=<optimized out>, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#49 0xb59cb41f in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0xb5e02231 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#51 0xb67b03a4 in QApplication::exec () at kernel/qapplication.cpp:2824
#52 0x004d95c0 in ?? ()
#53 0xb5311915 in __libc_start_main (main=0x4d6710, argc=1, argv=0xbf82ad84, init=0x51e0e0, fini=0x51e140, rtld_fini=0xb7f75e40 <_dl_fini>, stack_end=0xbf82ad7c) at ../csu/libc-start.c:332
#54 0x004d99c1 in ?? ()
[Inferior 1 (process 1679) detached]

Possible duplicates by query: bug 442091, bug 441421, bug 441365, bug 441234, bug 440777.

Reported using DrKonqi
Comment 1 Nate Graham 2021-09-16 17:32:57 UTC
#13 QMessageLogger::fatal (this=0xbf829678, msg=0xac8c5dc0 "QSGSimpleMaterialShader does not implement 'uniform lowp float %s' in its fragment shader") at global/qlogging.cpp:893
#14 0xac89113c in QSGSimpleMaterialShader<FadingMaterialState>::initialize (this=<optimized out>) at /usr/include/qt5/QtQuick/qsgsimplematerial.h:66
#15 FadingMaterialShader::initialize (this=0xb0409170) at /usr/src/debug/plasma-framework-5.85.0-2.1.i386/src/declarativeimports/core/fadingnode.cpp:77
#16 0xb75d4ef1 in QSGBatchRenderer::ShaderManager::prepareMaterial (this=0x291c4d0, material=0x385e5b0, enableRhiShaders=false, geometry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.3.i386/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp:306

Seems like this machine's graphics hardware does not support some effect, and crashes in the fallback effect?
Comment 2 David Edmundson 2021-09-16 17:48:43 UTC
>Seems like this machine's graphics hardware does not support some effect, and crashes in the fallback effect?

It's at the point where Qt is preparing to send things to the opengl code, so before too much hardware dependent stuff.
Comment 3 David Edmundson 2021-09-26 21:35:32 UTC

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