Bug 91752

Summary: Segmentation fault with specific shader (r600)
Product: Mesa Reporter: Jonas Wielicki <jonas>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: 10.6   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jonas Wielicki 2015-08-25 09:52:44 UTC
The given apitrace [1] results in a segmentation fault. I am testing this on a sony notebook with Intel sandybridge integrated GPU and a dedicated radeon.

1) $ xrandr --setprovideroffloadsink radeon Intel
2) $ DRI_PRIME=1 apitrace replay r600-crash-01.trace

Actual Results: Segmentation Fault

Expected Results: The rendering should work correctly.

I could reproduce this with both the mesa-libGL 10.6.3 as shipped by fedora as well as mesa 11.0.0-rc1 freshly compiled with:

    ./configure --enable-selinux --enable-osmesa --enable-egl --disable-gles1 --enable-gles2 --enable-shared-glapi --enable-gbm --enable-glx-tls --enable-texture-float=yes --enable-gallium-llvm --enable-llvm-shared-libs --enable-dri --enable-xa --enable-nine

(flags blindly stolen from the Fedora package specification)

intel GPU:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
radeon GPU:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M] (rev ff)

The same trace runs without crash on the Intel.

   [1]: http://sotecware.net/files/persistent/fdo-mesa-r600-bugs/r600-crash-01.trace
Comment 1 Glenn Kennard 2015-08-28 23:51:14 UTC
Should be fixed in git master by commit a83022
Comment 2 Marek Olšák 2015-09-26 14:19:56 UTC
(In reply to Glenn Kennard from comment #1)
> Should be fixed in git master by commit a83022

Should we close this bug then?
Comment 3 Jonas Wielicki 2015-09-26 14:39:52 UTC
I think so, the bug is fixed for me.

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.