[Mesa-dev] [Bug 103358] All EGL programs segfault (regression)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 19 11:30:03 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103358

            Bug ID: 103358
           Summary: All EGL programs segfault (regression)
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: critical
          Priority: high
         Component: EGL
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: eero.t.tamminen at intel.com
        QA Contact: mesa-dev at lists.freedesktop.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171019/e65839bd/attachment-0001.html>


More information about the mesa-dev mailing list