Bug 455151 - Amarok and other KDE applications crashing in graphics driver (blorp_emit_vertex_elements) after upgrade
Summary: Amarok and other KDE applications crashing in graphics driver (blorp_emit_ver...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
: 457865 457946 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-11 05:27 UTC by pedrogron77
Modified: 2022-08-16 09:37 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-30680-0.html (1.82 KB, text/html)
2022-06-11 20:00 UTC, pedrogron77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pedrogron77 2022-06-11 05:27:50 UTC
Application: amarok (2.9.71)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.22-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: Starting Amarok after doing a system ugrade to opensuse 15.4.
All the rpm dependencies are there and there are no 3rd partie repositories used.
KDE applications do not load and crash after 10 or 20 seconds.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f4ef66844c0 in GFX9_3DSTATE_VERTEX_ELEMENTS_pack (values=<synthetic pointer>, dst=<optimized out>, data=0x7fffe7a4eb90) at src/intel/genxml/gen9_pack.h:6921
#5  blorp_emit_vertex_elements (params=0x7fffe7a4e430, batch=0x7fffe7a4eb90) at ../src/intel/blorp/blorp_genX_exec.h:558
#6  blorp_exec (params=0x7fffe7a4e430, batch=0x7fffe7a4eb90) at ../src/intel/blorp/blorp_genX_exec.h:1975
#7  iris_blorp_exec (blorp_batch=0x7fffe7a4eb90, params=0x7fffe7a4e430) at ../src/gallium/drivers/iris/iris_blorp.c:321
#8  0x00007f4ef68630e7 in blorp_clear (batch=batch@entry=0x7fffe7a4eb90, surf=surf@entry=0x7fffe7a4ebd0, 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=1678, y1=845, clear_color=..., color_write_disable=0x7fffe7a4ebc0) at ../src/intel/blorp/blorp_clear.c:557
#9  0x00007f4ef665c5e7 in clear_color (ice=ice@entry=0x561a47f36a80, p_res=<optimized out>, level=<optimized out>, box=box@entry=0x7fffe7a4ecd0, 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 0x00007f4ef665dcb6 in iris_clear (ctx=0x561a47f36a80, buffers=4, scissor_state=<optimized out>, p_color=0x561a47f43394, depth=<optimized out>, stencil=<optimized out>) at ../src/gallium/drivers/iris/iris_clear.c:677
#11 0x00007f4ef606898f in tc_call_clear (pipe=<optimized out>, call=<optimized out>, last=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:3514
#12 0x00007f4ef6068b21 in tc_batch_execute (job=job@entry=0x561a47f43310, gdata=gdata@entry=0x0, thread_index=thread_index@entry=0) at ../src/gallium/auxiliary/util/u_threaded_context.c:190
#13 0x00007f4ef606c683 in _tc_sync (tc=tc@entry=0x561a47f41f00, func=<optimized out>, info=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:341
#14 0x00007f4ef606d778 in tc_texture_subdata (_pipe=0x561a47f41f00, resource=0x561a47ffc730, level=0, usage=0, box=0x7fffe7a4eef0, data=0x7f4e665a6000, stride=6712, layer_stride=5671640) at ../src/gallium/auxiliary/util/u_threaded_context.c:2520
#15 0x00007f4ef5aa4522 in st_TexSubImage (ctx=ctx@entry=0x561a47f75930, dims=dims@entry=2, texImage=texImage@entry=0x561a48003110, xoffset=xoffset@entry=0, yoffset=<optimized out>, yoffset@entry=0, zoffset=zoffset@entry=0, width=1678, height=<optimized out>, depth=<optimized out>, format=6408, type=5121, pixels=0x7f4e665a6000, unpack=0x561a47fa8dd0) at ../src/mesa/state_tracker/st_cb_texture.c:1607
#16 0x00007f4ef5aa543a in st_TexImage (ctx=0x561a47f75930, dims=2, texImage=0x561a48003110, format=6408, type=5121, pixels=0x7f4e665a6000, unpack=0x561a47fa8dd0) at ../src/mesa/state_tracker/st_cb_texture.c:1836
#17 0x00007f4ef5c4ca47 in teximage (no_error=false, pixels=0x7f4e665a6000, imageSize=0, type=5121, format=6408, border=0, depth=<optimized out>, height=<optimized out>, width=<optimized out>, internalFormat=6408, level=0, target=3553, texObj=0x561a48002a70, dims=2, compressed=0 '\000', ctx=0x561a47f75930) at ../src/mesa/main/teximage.c:3174
#18 teximage_err (ctx=0x561a47f75930, compressed=compressed@entry=0 '\000', dims=dims@entry=2, target=3553, level=0, internalFormat=<optimized out>, width=1678, height=845, depth=1, border=<optimized out>, format=6408, type=5121, imageSize=0, pixels=0x7f4e665a6000) at ../src/mesa/main/teximage.c:3201
#19 0x00007f4ef5c4e830 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=0x7f4e665a6000) at ../src/mesa/main/teximage.c:3272
#20 0x00007f4f2da4cb3e in QOpenGLFunctions::glTexImage2D(unsigned int, int, int, int, int, int, unsigned int, unsigned int, void const*) (pixels=<optimized out>, type=5121, format=6408, border=0, height=<optimized out>, width=<optimized out>, internalformat=<optimized out>, level=0, target=3553, this=0x7f4ef8008680) at ../../include/QtGui/../../src/gui/opengl/qopenglfunctions.h:1027
#21 QPlatformGraphicsBufferHelper::bindSWToTexture(QPlatformGraphicsBuffer const*, bool*, bool*, QRect const&) (graphicsBuffer=graphicsBuffer@entry=0x561a47a91900, swizzleRandB=swizzleRandB@entry=0x561a479d9234, premultipliedB=premultipliedB@entry=0x561a479d9235, subRect=...) at kernel/qplatformgraphicsbufferhelper.cpp:219
#22 0x00007f4f2da4cee8 in QPlatformGraphicsBufferHelper::lockAndBindToTexture(QPlatformGraphicsBuffer*, bool*, bool*, QRect const&) (graphicsBuffer=0x561a47a91900, swizzle=0x561a479d9234, premultiplied=0x561a479d9235, rect=...) at kernel/qplatformgraphicsbufferhelper.cpp:108
#23 0x00007f4f2dd6d89e in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) (this=this@entry=0x561a479d9280, window=window@entry=0x561a479d8bd0, region=..., offset=..., textures=textures@entry=0x561a47e402a0, translucentBackground=<optimized out>) at painting/qplatformbackingstore.cpp:413
#24 0x00007f4f00aa7a0b in QXcbBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) (this=0x561a479d9280, window=0x561a479d8bd0, region=..., offset=..., textures=0x561a47e402a0, translucentBackground=<optimized out>) at qxcbbackingstore.cpp:900
#25 0x00007f4f2e372ecd in QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) (this=<optimized out>, widget=0x561a46abe630, region=<optimized out>, widgetTextures=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1179
#26 0x00007f4f2e373d9b in QWidgetRepaintManager::flush() (this=this@entry=0x561a478398b0) at kernel/qwidgetrepaintmanager.cpp:1082
#27 0x00007f4f2e3769e0 in QWidgetRepaintManager::paintAndFlush() (this=this@entry=0x561a478398b0) at kernel/qwidgetrepaintmanager.cpp:1014
#28 0x00007f4f2e376c77 in QWidgetRepaintManager::sync(QWidget*, QRegion const&) (this=0x561a478398b0, exposedWidget=0x561a46abe630, exposedRegion=...) at kernel/qwidgetrepaintmanager.cpp:743
#29 0x00007f4f2e3a06ef in QWidgetPrivate::syncBackingStore(QRegion const&) (this=this@entry=0x561a46e99c00, region=...) at kernel/qwidget.cpp:1765
#30 0x00007f4f2e3c370c in QWidgetWindow::handleExposeEvent(QExposeEvent*) (this=this@entry=0x561a479d8bd0, event=event@entry=0x7fffe7a4fd50) at kernel/qwidgetwindow.cpp:1027
#31 0x00007f4f2e3c437c in QWidgetWindow::event(QEvent*) (this=0x561a479d8bd0, event=0x7fffe7a4fd50) at kernel/qwidgetwindow.cpp:347
#32 0x00007f4f2e3663ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x561a468caca0, receiver=receiver@entry=0x561a479d8bd0, e=e@entry=0x7fffe7a4fd50) at kernel/qapplication.cpp:3632
#33 0x00007f4f2e36d1a0 in QApplication::notify(QObject*, QEvent*) (this=0x7fffe7a501b0, receiver=0x561a479d8bd0, e=0x7fffe7a4fd50) at kernel/qapplication.cpp:3156
#34 0x00007f4f2d3baac3 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x561a479d8bd0, event=0x7fffe7a4fd50) at kernel/qcoreapplication.cpp:1064
#35 0x00007f4f2d3bacae in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=receiver@entry=0x561a479d8bd0, event=event@entry=0x7fffe7a4fd50) at kernel/qcoreapplication.cpp:1474
#36 0x00007f4f2da15437 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x561a47b30a80) at kernel/qguiapplication.cpp:3258
#37 0x00007f4f2da1569d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=e@entry=0x561a47b30a80) at kernel/qguiapplication.cpp:2070
#38 0x00007f4f2d9ed48b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#39 0x00007f4f00ab1c9a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#40 0x00007f4f18e267fb in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#41 0x00007f4f18e26ba0 in  () at /usr/lib64/libglib-2.0.so.0
#42 0x00007f4f18e26c2c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#43 0x00007f4f2d41d0dc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561a469941e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007f4f2d3b933a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffe7a50030, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#45 0x00007f4f2d3c2b37 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1375
#46 0x0000561a44808075 in  ()
#47 0x00007f4f2c9102bd in __libc_start_main () at /lib64/libc.so.6
#48 0x0000561a4480852a in  ()
[Inferior 1 (process 14936) detached]

Reported using DrKonqi
Comment 1 Heiko Becker 2022-06-11 12:01:54 UTC
Judging from the backtrace this looks like a problem with mesa, or at least the crash happens there. It's probably best to ask about this in your distro's channel/file a bug report in your distro's tracker first, since you mentioned it happened with a update and the crash isn't in amarok's code.
Comment 2 pedrogron77 2022-06-11 20:00:27 UTC
Created attachment 149625 [details]
attachment-30680-0.html

Thanks.
Have restored the distribution to 15.3.
Have a good weekend.

Peter

On Sat, Jun 11, 2022, 5:01 AM Heiko Becker <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=455151
>
> Heiko Becker <heiko.becker@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |heiko.becker@kde.org
>          Resolution|---                         |DOWNSTREAM
>              Status|REPORTED                    |NEEDSINFO
>
> --- Comment #1 from Heiko Becker <heiko.becker@kde.org> ---
> Judging from the backtrace this looks like a problem with mesa, or at
> least the
> crash happens there. It's probably best to ask about this in your distro's
> channel/file a bug report in your distro's tracker first, since you
> mentioned
> it happened with a update and the crash isn't in amarok's code.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Bug Janitor Service 2022-06-26 04:36:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Nate Graham 2022-08-15 17:10:56 UTC
*** Bug 457865 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas Fella 2022-08-16 09:37:36 UTC
*** Bug 457946 has been marked as a duplicate of this bug. ***