<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 - All EGL programs segfault (regression)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103358">103358</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>All EGL programs segfault (regression)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

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

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

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

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>EGL
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>eero.t.tamminen@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>All EGL programs I could find, started to segfault in eglChooseConfig() on all
Intel platforms between following Mesa commits:
* 3de87f7cd7 at 2017-10-17 16:17:15 UTC vulkan/wsi: Free the event in
x11_manage_fifo_queues()
* f37af5ec8d at 2017-10-18 17:36:53 UTC
st/mesa: set dimension for constants in ATI_fragment_shader

There are several commits from Eric that change Mesa EGL code between that
range.

Backtrace to crash is following:
----------------------------------------
$ gdb glmark2-es2
...
(gdb) run
Starting program: /usr/bin/glmark2-es2 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff73f3e1b in eglChooseConfig (dpy=0x77b890, 
    attrib_list=0x7fffffffe400, configs=0x0, config_size=0, 
    num_config=0x7fffffffe3bc) at main/eglapi.c:715
#2  0x00000000005147b2 in ?? ()
#3  0x0000000000514c13 in ?? ()
#4  0x000000000050f8d5 in ?? ()
#5  0x000000000051058e in ?? ()
#6  0x0000000000406e63 in ?? ()
#7  0x00007ffff6593830 in __libc_start_main (main=0x406780, argc=1, 
    argv=0x7fffffffe8f8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffe8e8)
    at ../csu/libc-start.c:291
----------------------------------------

-> eglChooseConfig() code calls a NULL pointer.</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>