Bug 457865 - systemsettings5 crashes after choosing submenu 'notifications' or 'desktop-settings'
Summary: systemsettings5 crashes after choosing submenu 'notifications' or 'desktop-se...
Status: RESOLVED DUPLICATE of bug 455151
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.24.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-14 06:09 UTC by angsuesser
Modified: 2022-08-15 17:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-11719-0.html (2.90 KB, text/html)
2022-08-14 13:54 UTC, angsuesser
Details
attachment-31222-0.html (3.80 KB, text/html)
2022-08-15 14:39 UTC, angsuesser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description angsuesser 2022-08-14 06:09:37 UTC
Application: systemsettings (5.24.4)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.24.11-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Choosing a subtask like 'notifications' or 'desktop-settings', some others work correct

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault

[KCrash Handler]
#4  GFX8_3DSTATE_VERTEX_ELEMENTS_pack (values=<synthetic pointer>, dst=<optimized out>, data=0x7ffdc8f57540) at src/intel/genxml/gen8_pack.h:5583
#5  blorp_emit_vertex_elements (params=0x7ffdc8f56de0, batch=0x7ffdc8f57540) at ../src/intel/blorp/blorp_genX_exec.h:558
#6  blorp_exec (params=<optimized out>, batch=0x7ffdc8f57540) at ../src/intel/blorp/blorp_genX_exec.h:1975
#7  iris_blorp_exec (blorp_batch=0x7ffdc8f57540, params=<optimized out>) at ../src/gallium/drivers/iris/iris_blorp.c:321
#8  0x00007f4a8b2790e7 in blorp_clear (batch=batch@entry=0x7ffdc8f57540, surf=surf@entry=0x7ffdc8f57580, format=format@entry=ISL_FORMAT_B8G8R8X8_UNORM, swizzle=..., swizzle@entry=..., level=level@entry=0, start_layer=0, num_layers=1, x0=<optimized out>, y0=<optimized out>, x1=1020, y1=700, clear_color=..., color_write_disable=0x7ffdc8f57570) at ../src/intel/blorp/blorp_clear.c:557
#9  0x00007f4a8b0725e7 in clear_color (ice=ice@entry=0x55c76941a9a0, p_res=<optimized out>, level=<optimized out>, box=box@entry=0x7ffdc8f57680, render_condition_enabled=render_condition_enabled@entry=true, format=ISL_FORMAT_B8G8R8X8_UNORM, swizzle=..., color=...) at ../src/gallium/drivers/iris/iris_clear.c:391
#10 0x00007f4a8b073cb6 in iris_clear (ctx=0x55c76941a9a0, buffers=4, scissor_state=<optimized out>, p_color=0x55c76942d034, depth=<optimized out>, stencil=<optimized out>) at ../src/gallium/drivers/iris/iris_clear.c:677
#11 0x00007f4a8aa7e98f in tc_call_clear (pipe=<optimized out>, call=<optimized out>, last=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:3514
#12 0x00007f4a8aa7eb21 in tc_batch_execute (job=job@entry=0x55c76942cfb0, gdata=gdata@entry=0x0, thread_index=thread_index@entry=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:190
#13 0x00007f4a8aa82683 in _tc_sync (tc=tc@entry=0x55c76942bba0, func=<optimized out>, info=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:341
#14 0x00007f4a8aa83778 in tc_texture_subdata (_pipe=0x55c76942bba0, resource=0x55c7694b0ea0, level=0, usage=0, box=0x7ffdc8f578a0, data=0x7f4a67d46000, stride=4080, layer_stride=2856000) at ../src/gallium/auxiliary/util/u_threaded_context.c:2520
#15 0x00007f4a8a4ba522 in st_TexSubImage (ctx=ctx@entry=0x55c7694c85e0, dims=dims@entry=2, texImage=texImage@entry=0x55c7694af710, xoffset=xoffset@entry=0, yoffset=<optimized out>, yoffset@entry=0, zoffset=zoffset@entry=0, width=1020, height=<optimized out>, depth=<optimized out>, format=6408, type=5121, pixels=0x7f4a67d46000, unpack=0x55c7694fba80) at ../src/mesa/state_tracker/st_cb_texture.c:1607
#16 0x00007f4a8a4bb43a in st_TexImage (ctx=0x55c7694c85e0, dims=2, texImage=0x55c7694af710, format=6408, type=5121, pixels=0x7f4a67d46000, unpack=0x55c7694fba80) at ../src/mesa/state_tracker/st_cb_texture.c:1836
#17 0x00007f4a8a662a47 in teximage (no_error=false, pixels=0x7f4a67d46000, imageSize=0, type=5121, format=6408, border=0, depth=<optimized out>, height=<optimized out>, width=<optimized out>, internalFormat=6408, level=0, target=3553, texObj=0x55c7694ae180, dims=2, compressed=0 '\000', ctx=0x55c7694c85e0) at ../src/mesa/main/teximage.c:3174
#18 teximage_err (ctx=0x55c7694c85e0, compressed=compressed@entry=0 '\000', dims=dims@entry=2, target=3553, level=0, internalFormat=<optimized out>, width=1020, height=700, depth=1, border=<optimized out>, format=6408, type=5121, imageSize=0, pixels=0x7f4a67d46000) at ../src/mesa/main/teximage.c:3201
#19 0x00007f4a8a664830 in _mesa_TexImage2D (target=<optimized out>, level=<optimized out>, internalFormat=<optimized out>, width=<optimized out>, height=<optimized out>, border=<optimized out>, format=6408, type=5121, pixels=0x7f4a67d46000) at ../src/mesa/main/teximage.c:3272
#20 0x00007f4aad6f5b3e in QOpenGLFunctions::glTexImage2D (pixels=<optimized out>, type=5121, format=6408, border=0, height=<optimized out>, width=<optimized out>, internalformat=<optimized out>, level=0, target=3553, this=0x7f4a94007fc0) at ../../include/QtGui/../../src/gui/opengl/qopenglfunctions.h:1027
#21 QPlatformGraphicsBufferHelper::bindSWToTexture (graphicsBuffer=graphicsBuffer@entry=0x7f4a940086c0, swizzleRandB=swizzleRandB@entry=0x55c76884e8f4, premultipliedB=premultipliedB@entry=0x55c76884e8f5, subRect=...) at kernel/qplatformgraphicsbufferhelper.cpp:219
#22 0x00007f4aad6f5ee8 in QPlatformGraphicsBufferHelper::lockAndBindToTexture (graphicsBuffer=0x7f4a940086c0, swizzle=0x55c76884e8f4, premultiplied=0x55c76884e8f5, rect=...) at kernel/qplatformgraphicsbufferhelper.cpp:108
#23 0x00007f4aada1689e in QPlatformBackingStore::composeAndFlush (this=this@entry=0x55c768829570, window=window@entry=0x55c7688b9910, region=..., offset=..., textures=textures@entry=0x55c76939a780, translucentBackground=<optimized out>) at painting/qplatformbackingstore.cpp:413
#24 0x00007f4a9cd38a0b in QXcbBackingStore::composeAndFlush (this=0x55c768829570, window=0x55c7688b9910, region=..., offset=..., textures=0x55c76939a780, translucentBackground=<optimized out>) at qxcbbackingstore.cpp:900
#25 0x00007f4aae01becd in QWidgetRepaintManager::flush (this=<optimized out>, widget=0x55c7686bdb50, region=..., widgetTextures=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1179
#26 0x00007f4aae01cd9b in QWidgetRepaintManager::flush (this=this@entry=0x55c76884ea10) at kernel/qwidgetrepaintmanager.cpp:1082
#27 0x00007f4aae01f9e0 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x55c76884ea10) at kernel/qwidgetrepaintmanager.cpp:1014
#28 0x00007f4aae020028 in QWidgetRepaintManager::sync (this=0x55c76884ea10) at kernel/qwidgetrepaintmanager.cpp:770
#29 0x00007f4aae04963f in QWidgetPrivate::syncBackingStore (this=0x55c7685892a0) at kernel/qwidget.cpp:1756
#30 0x00007f4aae04fc58 in QWidget::event (this=this@entry=0x55c7686bdb50, event=event@entry=0x55c768912a50) at kernel/qwidget.cpp:8965
#31 0x00007f4aae15ea20 in QMainWindow::event (this=this@entry=0x55c7686bdb50, event=event@entry=0x55c768912a50) at widgets/qmainwindow.cpp:1341
#32 0x00007f4ab017b364 in KMainWindow::event (this=this@entry=0x55c7686bdb50, ev=ev@entry=0x55c768912a50) at /usr/src/debug/kxmlgui-5.90.0-150400.1.4.x86_64/src/kmainwindow.cpp:941
#33 0x00007f4ab01c1d37 in KXmlGuiWindow::event (this=0x55c7686bdb50, ev=0x55c768912a50) at /usr/src/debug/kxmlgui-5.90.0-150400.1.4.x86_64/src/kxmlguiwindow.cpp:219
#34 0x00007f4aae00f3ac in QApplicationPrivate::notify_helper (this=this@entry=0x55c76859ca90, receiver=receiver@entry=0x55c7686bdb50, e=e@entry=0x55c768912a50) at kernel/qapplication.cpp:3632
#35 0x00007f4aae0161a0 in QApplication::notify (this=0x7ffdc8f58bd0, receiver=0x55c7686bdb50, e=0x55c768912a50) at kernel/qapplication.cpp:3156
#36 0x00007f4aacb40ac3 in QCoreApplication::notifyInternal2 (receiver=0x55c7686bdb50, event=0x55c768912a50) at kernel/qcoreapplication.cpp:1064
#37 0x00007f4aacb40c9e in QCoreApplication::sendEvent (receiver=receiver@entry=0x55c7686bdb50, event=event@entry=0x55c768912a50) at kernel/qcoreapplication.cpp:1462
#38 0x00007f4aacb434e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55c768589480) at kernel/qcoreapplication.cpp:1821
#39 0x00007f4aacb43a68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#40 0x00007f4aacba3a33 in postEventSourceDispatch (s=0x55c768677d70) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f4aa51897fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f4aa5189ba0 in ?? () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f4aa5189c2c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f4aacba30dc in QEventDispatcherGlib::processEvents (this=0x55c76867ef60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f4aacb3f33a in QEventLoop::exec (this=this@entry=0x7ffdc8f58ab0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#46 0x00007f4aacb48b37 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#47 0x00007f4aad6b1f9c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#48 0x00007f4aae00f305 in QApplication::exec () at kernel/qapplication.cpp:2824
#49 0x000055c76820da3e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.24.4-bp154.1.23.x86_64/app/main.cpp:183
[Inferior 1 (process 8039) detached]

Possible duplicates by query: bug 419599.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-08-14 12:17:35 UTC
The crash is somewhere deep in the graphics driver, so most likely not something caused by systemsettings code.

https://bugs.kde.org/show_bug.cgi?id=455151 is basically the same crash, in a completely different app
Comment 2 angsuesser 2022-08-14 13:54:42 UTC
Created attachment 151319 [details]
attachment-11719-0.html

Thank you for the quick answer - my thoughts about the bug are:

error backtracking blames source-code  with path "intel" -- so your idea
(intel driver fails somewhere) seems obvious BUT:

1) It works in LEAP 15.3  and
2) when I switch to the opensuse KDE repos and install the newest
KDE-version (zypper dup --allow-vedor-change)
  NOT EVEN bug report with dr.konqui is possible (crashes immediately -
therefore no error backtrace possible - no bug report)

3) !!ALL!! other applications work flawlessly

So I believe it has something to do with KDE systemsettings5 and
dependencies.

What I tried already:

rpm -qR systemsettings  --> list // get all libs and other dependencies
rpm --whatprovides <list entry> --> <package-list>// in a script
sort <package-list>|uniq -d --> <sortedList>
zypper in -f <sortedList-Entry> // forces to reinstall packages that
systemsettings depends on

I have reinstalled all dependencies -- NO CHANGE!
So there is no installation or depency problem!

And if is it a graphics driver problem - WHY it concerns ONLY one
application!

regards angsuesser



Am So., 14. Aug. 2022 um 14:17 Uhr schrieb Nicolas Fella <
bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=457865
>
> Nicolas Fella <nicolas.fella@gmx.de> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |nicolas.fella@gmx.de
>
> --- Comment #1 from Nicolas Fella <nicolas.fella@gmx.de> ---
> The crash is somewhere deep in the graphics driver, so most likely not
> something caused by systemsettings code.
>
> https://bugs.kde.org/show_bug.cgi?id=455151 is basically the same crash,
> in a
> completely different app
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 angsuesser 2022-08-15 14:39:41 UTC
Created attachment 151339 [details]
attachment-31222-0.html

Problem SOLVED!
You were right - it was an INTEL Graphics Driver Problem.

In X11 I configured (/etc/X11/xorg.d/ 50-device.conf)
AccelMethod uxa

It is the old method and is a little bit slower - BUT it works.

Weird - that only one application (systemsettings) was 'unhappy' with the
new acceleration method!

Thank you that you put me in the right direction
regards angsuesser

Am So., 14. Aug. 2022 um 15:54 Uhr schrieb Johann Angsüsser <
angsuesser@gmail.com>:

> Thank you for the quick answer - my thoughts about the bug are:
>
> error backtracking blames source-code  with path "intel" -- so your idea
> (intel driver fails somewhere) seems obvious BUT:
>
> 1) It works in LEAP 15.3  and
> 2) when I switch to the opensuse KDE repos and install the newest
> KDE-version (zypper dup --allow-vedor-change)
>   NOT EVEN bug report with dr.konqui is possible (crashes immediately -
> therefore no error backtrace possible - no bug report)
>
> 3) !!ALL!! other applications work flawlessly
>
> So I believe it has something to do with KDE systemsettings5 and
> dependencies.
>
> What I tried already:
>
> rpm -qR systemsettings  --> list // get all libs and other dependencies
> rpm --whatprovides <list entry> --> <package-list>// in a script
> sort <package-list>|uniq -d --> <sortedList>
> zypper in -f <sortedList-Entry> // forces to reinstall packages that
> systemsettings depends on
>
> I have reinstalled all dependencies -- NO CHANGE!
> So there is no installation or depency problem!
>
> And if is it a graphics driver problem - WHY it concerns ONLY one
> application!
>
> regards angsuesser
>
>
>
> Am So., 14. Aug. 2022 um 14:17 Uhr schrieb Nicolas Fella <
> bugzilla_noreply@kde.org>:
>
>> https://bugs.kde.org/show_bug.cgi?id=457865
>>
>> Nicolas Fella <nicolas.fella@gmx.de> changed:
>>
>>            What    |Removed                     |Added
>>
>> ----------------------------------------------------------------------------
>>                  CC|                            |nicolas.fella@gmx.de
>>
>> --- Comment #1 from Nicolas Fella <nicolas.fella@gmx.de> ---
>> The crash is somewhere deep in the graphics driver, so most likely not
>> something caused by systemsettings code.
>>
>> https://bugs.kde.org/show_bug.cgi?id=455151 is basically the same crash,
>> in a
>> completely different app
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>
>
Comment 4 Nate Graham 2022-08-15 17:10:56 UTC
It affects System Settings because System Settings shows content that uses GPU acceleration. It will probably affect other apps with a GPU-accelerated UI, such as Discover, System Monitor, NeoChat, or Elisa.

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