Bug 104831 - CAYMAN:KDE applications SIGSEGV
Summary: CAYMAN:KDE applications SIGSEGV
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Reported: 2018-01-29 09:12 UTC by Martin Bednar
Modified: 2019-09-18 19:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

kmail backtrace (25.74 KB, text/plain)
2018-01-29 09:12 UTC, Martin Bednar
kwin backtrace (6.43 KB, text/plain)
2018-01-31 22:12 UTC, Martin Bednar

Description Martin Bednar 2018-01-29 09:12:06 UTC
Created attachment 137016 [details]
kmail backtrace

testing mesa 18.0-rc2, Radeon HD6950
many KDE applications crash with the following in the backtrace.
I have seen this with ksplashqml, kmail, krunner and possibly plasma (but for some reason symbols there get truncated).

Relevant (r600g) part of backtrace
Thread 1 (Thread 0x7f303aec5640 (LWP 4710)):
[KCrash Handler]
#6  0x00007f306fc84000 in __memcpy_ssse3 () from /lib64/libc.so.6
#7  0x00007f30338255b4 in tgsi_dup_tokens () from /usr/lib64/dri/r600_dri.so
#8  0x00007f303395fa9b in r600_create_shader_state_tokens () from /usr/lib64/dri/r600_dri.so
#9  0x00007f303395fad3 in r600_create_shader_state () from /usr/lib64/dri/r600_dri.so
#10 0x00007f3033674ecd in st_create_fp_variant () from /usr/lib64/dri/r600_dri.so
#11 0x00007f3033676e56 in st_get_fp_variant () from /usr/lib64/dri/r600_dri.so
#12 0x00007f303362d070 in st_update_fp () from /usr/lib64/dri/r600_dri.so
#13 0x00007f303362968e in st_validate_state () from /usr/lib64/dri/r600_dri.so
#14 0x00007f3033647306 in st_draw_vbo () from /usr/lib64/dri/r600_dri.so
#15 0x00007f303360a108 in vbo_validated_drawrangeelements () from /usr/lib64/dri/r600_dri.so
#16 0x00007f303360a89f in vbo_exec_DrawElements () from /usr/lib64/dri/r600_dri.so
#17 0x00007f3062207551 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /usr/lib64/libQt5Quick.so.5
#18 0x00007f3062208935 in QSGBatchRenderer::Renderer::renderBatches() () from /usr/lib64/libQt5Quick.so.5
Comment 1 Mike Lothian 2018-01-29 09:38:18 UTC
I think this might be a duplicate of Bug 104762, which is fixed in master

Can you check to see if it's fixed in Mesa git? If so I think you'll see the fix in rc3
Comment 2 Martin Bednar 2018-01-29 10:06:55 UTC
Will check. At earliest tomorrow evening though...
Comment 3 Martin Bednar 2018-01-31 22:12:36 UTC
Just booted with  18.0-rc3. Plasma started up just fine. Alt+tab in kwin however... Different bug?
#6  0x00007f5b039615bd in r600_draw_vbo () from /usr/lib64/dri/r600_dri.so
#7  0x00007f5b03869ba4 in u_vbuf_draw_vbo () from /usr/lib64/dri/r600_dri.so
#8  0x00007f5b03647457 in st_draw_vbo () from /usr/lib64/dri/r600_dri.so
#9  0x00007f5b0360a108 in vbo_validated_drawrangeelements () from /usr/lib64/dri/r600_dri.so
#10 0x00007f5b0360a89f in vbo_exec_DrawElements () from /usr/lib64/dri/r600_dri.so
#11 0x00007f5b2ab96551 in QSGBatchRenderer::Renderer::renderMergedBatch(QSGBatchRenderer::Batch const*) () from /usr/lib64/libQt5Quick.so.5
Comment 4 Martin Bednar 2018-01-31 22:12:59 UTC
Created attachment 137095 [details]
kwin backtrace
Comment 5 GitLab Migration User 2019-09-18 19:25:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/628.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.