<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segmentation fault with specific shader (r600)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91752">91752</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault with specific shader (r600)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jonas@wielicki.name
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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]:
<a href="http://sotecware.net/files/persistent/fdo-mesa-r600-bugs/r600-crash-01.trace">http://sotecware.net/files/persistent/fdo-mesa-r600-bugs/r600-crash-01.trace</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>