<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 - glxinfo segfaults when mesa was compiled with clang & libc++"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85199">85199</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>glxinfo segfaults when mesa was compiled with clang & libc++
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </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>GLX
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>woskimi@yahoo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=108064" name="attach_108064" title="strace glxinfo">attachment 108064</a> <a href="attachment.cgi?id=108064&action=edit" title="strace glxinfo">[details]</a></span>
strace glxinfo

1)
$ glxinfo
name of display: :0
Segmentation fault

2)
$ glxinfo -i
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  40
  Current serial number in output stream:  43

I don't know anything about what happens, but I know that this crash happens
only when mesa was compiled with clang (from git) against libc++.
Building clang and mesa against libstdc++ with otherwise the same build config
does not produce the crash.

I originally stumbled upon this issue because kwin was always crashing with
OpenGL enabled.

thx for your time.
Michi</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>