<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segmentation fault if context is created indirect on a glXCreateWindow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=42699">bug 42699</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>danylo.piliaiev@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segmentation fault if context is created indirect on a glXCreateWindow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=42699#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segmentation fault if context is created indirect on a glXCreateWindow"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=42699">bug 42699</a>
              from <span class="vcard"><a class="email" href="mailto:danylo.piliaiev@gmail.com" title="Danylo <danylo.piliaiev@gmail.com>"> <span class="fn">Danylo</span></a>
</span></b>
        <pre>I've made a patch to fix the issue
<a href="https://patchwork.freedesktop.org/patch/242094/">https://patchwork.freedesktop.org/patch/242094/</a> . 

__glXInitialize is being called before Mesa may know that context will be
indirect thus dri display is created (this doesn't happen with
LIBGL_ALWAYS_INDIRECT=1 due to the check in __glXInitialize). Later
GetGLXDRIDrawable will be able to return non-null value which some places treat
as indicator that dri is enabled. I added check if direct rendering is enabled
before calling GetGLXDRIDrawable where necessary.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>