dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 104806] plasmashell and other KDE binaries start to segfault after updating Mesa to 18.0.0 (radeon)
Date: Sat, 27 Jan 2018 11:35:17 +0000	[thread overview]
Message-ID: <bug-104806-502-a42eBcvMAX@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-104806-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 8529 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104806

Andrei Slavoiu <ansla80@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ansla80@yahoo.com

--- Comment #1 from Andrei Slavoiu <ansla80@yahoo.com> ---
Created attachment 136988
  --> https://bugs.freedesktop.org/attachment.cgi?id=136988&action=edit
bt-full.txt

I can confirm lots of KDE apps and even QT only crash after upgrading to mesa
18.0.0-rc2. This is a stacktrace from qupzilla, a qt browser. Attached is the
same stacktrace but generated with `bt full` so it also shows local variables.

Core was generated by `/usr/bin/qupzilla -session
10ddca7665000151644676500000008200015_1516586983_963'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      }
[Current thread is 1 (Thread 0x7f123d18da00 (LWP 1093))]
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f1244f0f4a6 in __GI_abort () at abort.c:90
#2  0x00005624818e5b10 in qupzilla_signal_handler (s=<optimized out>) at
main.cpp:54
#3  <signal handler called>
#4  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:130
#5  0x00007f122f9688a4 in memcpy (__len=18130608, __src=0x56248663d6e0,
__dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#6  tgsi_dup_tokens (tokens=0x56248663d6e0) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/gallium/auxiliary/tgsi/tgsi_parse.c:281
#7  0x00007f122f7bd12b in st_create_vp_variant (key=0x7ffd79ff0150,
stvp=0x5624865a7170, st=0x5624861904d0) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tracker/st_program.c:579
#8  st_get_vp_variant (st=0x5624861904d0, stvp=0x5624865a7170,
key=0x7ffd79ff0150) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tracker/st_program.c:629
#9  0x00007f122f7be215 in st_precompile_shader_variant
(st=st@entry=0x5624861904d0, prog=prog@entry=0x5624865a7170) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tracker/st_program.c:1915
#10 0x00007f122f7bf4d2 in st_deserialise_tgsi_program (ctx=0x562486164910,
shProg=0x5624865fe200, prog=0x5624865a7170) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/state_tracker/st_shader_cache.c:279
#11 0x00007f122f6e32e9 in read_program_payload (binary_format=34655,
sh_prog=0x5624865fe200, blob=0x7ffd79ff01f0, ctx=0x562486164910) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/main/program_binary.c:206
#12 _mesa_program_binary (ctx=0x562486164910, sh_prog=0x5624865fe200,
binary_format=<optimized out>, binary=0x7f1208378090, length=4085) at
/usr/src/debug/media-libs/mesa-18.0.0_rc2/mesa-18.0.0-rc2/src/mesa/main/program_binary.c:285
#13 0x00007f123e965c80 in QOpenGLExtraFunctions::glProgramBinary (length=4085,
binary=0x7f1208378090, binaryFormat=34655, program=4, this=0x562485ccbf90) at
../../src/gui/opengl/qopenglextrafunctions.h:1175
#14 QOpenGLProgramBinaryCache::setProgramBinary (this=this@entry=0x7f123ea6ba80
<QOpenGLShaderProgramPrivate::linkBinary()::binCache>,
programId=programId@entry=4, blobFormat=blobFormat@entry=34655,
p=p@entry=0x7f1208378090, blobSize=blobSize@entry=4085) at
opengl/qopenglprogrambinarycache.cpp:163
#15 0x00007f123e96659f in QOpenGLProgramBinaryCache::load
(this=this@entry=0x7f123ea6ba80
<QOpenGLShaderProgramPrivate::linkBinary()::binCache>, cacheKey=...,
programId=4) at opengl/qopenglprogrambinarycache.cpp:296
#16 0x00007f123e93bd88 in QOpenGLShaderProgramPrivate::linkBinary
(this=this@entry=0x7f11c8162040) at opengl/qopenglshaderprogram.cpp:3825
#17 0x00007f123e93c380 in QOpenGLShaderProgram::link (this=0x562486619688) at
opengl/qopenglshaderprogram.cpp:1286
#18 0x00007f123cedf528 in QSGDefaultRenderContext::compileShader
(this=this@entry=0x562485f0cad0, shader=shader@entry=0x562486619680,
material=material@entry=0x562485b37150, vertexCode=<optimized out>,
fragmentCode=fragmentCode@entry=0x0) at
scenegraph/qsgdefaultrendercontext.cpp:267
#19 0x00007f123cead317 in QSGBatchRenderer::ShaderManager::prepareMaterial
(this=0x562485adb6e0, material=material@entry=0x562485b37150) at
scenegraph/coreapi/qsgbatchrenderer.cpp:157
#20 0x00007f123ceadd65 in QSGBatchRenderer::Renderer::renderMergedBatch
(this=0x562485ad99c0, batch=<optimized out>) at
scenegraph/coreapi/qsgbatchrenderer.cpp:2312
#21 0x00007f123ceaf255 in QSGBatchRenderer::Renderer::renderBatches
(this=this@entry=0x562485ad99c0) at
scenegraph/coreapi/qsgbatchrenderer.cpp:2569
#22 0x00007f123ceb495b in QSGBatchRenderer::Renderer::render (this=<optimized
out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2763
#23 0x00007f123cea5640 in QSGRenderer::renderScene (this=0x562485ad99c0,
bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:243
#24 0x00007f123cea5b07 in QSGRenderer::renderScene (this=<optimized out>,
fboId=<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:189
#25 0x00007f123cede968 in QSGDefaultRenderContext::renderNextFrame
(this=0x562485f0cad0, renderer=0x562485ad99c0, fboId=<optimized out>) at
scenegraph/qsgdefaultrendercontext.cpp:181
#26 0x00007f123cf3972f in QQuickWindowPrivate::renderSceneGraph
(this=this@entry=0x562485ad5b30, size=...) at items/qquickwindow.cpp:470
#27 0x00007f123cfef0e6 in QQuickRenderControl::render (this=<optimized out>) at
items/qquickrendercontrol.cpp:344
#28 0x00007f1246519d23 in QQuickWidgetPrivate::render
(this=this@entry=0x562485c283d0, needsSync=needsSync@entry=true) at
qquickwidget.cpp:288
#29 0x00007f1246519f72 in QQuickWidgetPrivate::renderSceneGraph
(this=0x562485c283d0) at qquickwidget.cpp:339
#30 0x00007f124571a97b in QObject::event (this=this@entry=0x562485f0c9c0,
e=e@entry=0x7ffd79ff1020) at kernel/qobject.cpp:1268
#31 0x00007f1245ae08db in QWidget::event (this=this@entry=0x562485f0c9c0,
event=event@entry=0x7ffd79ff1020) at kernel/qwidget.cpp:9266
#32 0x00007f124651d99b in QQuickWidget::event (this=0x562485f0c9c0,
e=0x7ffd79ff1020) at qquickwidget.cpp:1467
#33 0x00007f1246558d2b in
QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget::event
(this=0x562485f0c9c0, event=0x7ffd79ff1020) at
render_widget_host_view_qt_delegate_widget.cpp:488
#34 0x00007f1245aa287c in QApplicationPrivate::notify_helper
(this=this@entry=0x56248214c020, receiver=receiver@entry=0x562485f0c9c0,
e=e@entry=0x7ffd79ff1020) at kernel/qapplication.cpp:3722
#35 0x00007f1245aa9efe in QApplication::notify (this=0x7ffd79ff1350,
receiver=0x562485f0c9c0, e=0x7ffd79ff1020) at kernel/qapplication.cpp:3481
#36 0x00007f12456f1b86 in QCoreApplication::notifyInternal2
(receiver=0x562485f0c9c0, event=event@entry=0x7ffd79ff1020) at
kernel/qcoreapplication.cpp:1018
#37 0x00007f124574107b in QCoreApplication::sendEvent (event=0x7ffd79ff1020,
receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:233
#38 QTimerInfoList::activateTimers (this=0x5624821aa660) at
kernel/qtimerinfo_unix.cpp:643
#39 0x00007f1245741944 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#40 0x00007f123d1e16c9 in g_main_dispatch (context=0x7f1230004ff0) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234
#41 g_main_context_dispatch (context=context@entry=0x7f1230004ff0) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899
#42 0x00007f123d1e1a28 in g_main_context_iterate
(context=context@entry=0x7f1230004ff0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972
#43 0x00007f123d1e1ad4 in g_main_context_iteration (context=0x7f1230004ff0,
may_block=may_block@entry=1) at
/var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#44 0x00007f1245741d5f in QEventDispatcherGlib::processEvents
(this=0x5624821b1dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f12456f0992 in QEventLoop::exec (this=this@entry=0x7ffd79ff1270,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#46 0x00007f12456f8d5c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1291
#47 0x00005624818e4bef in main (argc=<optimized out>, argv=0x7ffd79ff1558) at
main.cpp:155

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 10340 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2018-01-27 11:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-27  8:39 [Bug 104806] plasmashell and other KDE binaries start to segfault after updating Mesa to 18.0.0 (radeon) bugzilla-daemon
2018-01-27  8:40 ` bugzilla-daemon
2018-01-27 11:35 ` bugzilla-daemon [this message]
2018-01-27 19:19 ` bugzilla-daemon
2018-01-28  7:53 ` bugzilla-daemon
2018-01-28 18:32 ` bugzilla-daemon
2018-01-28 18:34 ` bugzilla-daemon
2018-01-28 18:47 ` bugzilla-daemon
2018-01-28 18:49 ` bugzilla-daemon
2018-01-29 11:03 ` bugzilla-daemon
2018-01-29 23:30 ` bugzilla-daemon
2018-01-30  7:58 ` bugzilla-daemon
2018-01-30  8:00 ` bugzilla-daemon
2018-01-30  8:11 ` bugzilla-daemon
2018-01-30  8:43 ` bugzilla-daemon
2018-01-30  9:18 ` bugzilla-daemon
2018-01-30  9:22 ` bugzilla-daemon
2018-01-30  9:25 ` bugzilla-daemon
2018-01-30 19:13 ` bugzilla-daemon
2018-01-31  8:35 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-104806-502-a42eBcvMAX@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox