<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Displist with multiple OpenGL contexts crashes."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63051">63051</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Displist with multiple OpenGL contexts crashes.
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ideasman42@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>9.1
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/nouveau
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=77349" name="attach_77349" title="open this file in blender2.66a, Press '1' key, to crash.">attachment 77349</a> <a href="attachment.cgi?id=77349&action=edit" title="open this file in blender2.66a, Press '1' key, to crash.">[details]</a></span>
open this file in blender2.66a, Press '1' key, to crash.

This is a bug we had reported in blender (3d modeling application).
But which I tracked down to being a crash in:
/usr/lib/xorg/modules/dri/nouveau_dri.so

The crash is caused by calling glCallList() when there are multiple windows
sharing the same opengl context.

(single window doesn't crash for example and removing use of display-lists in
the code also works).

I did some more tests and using Mesa-SoftwareGL doesn't crash, using NVidia
closed-source drivers.

Attached blend file to reproduce the crash, just run...

./blender displist_crash.blend

... then press ONE-Key, over either of the windows to see crash.
If you close a window before pressing ONE, it works without crashing.</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>