ubuntu@ubuntu-Lenovo-Ideapad-S10-3t:~/qteglchooser$ EGL_PLATFORM=mir gdb ./qteglchooser
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./qteglchooser...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/ubuntu/qteglchooser/qteglchooser
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Requesting EGL Configuration with the following parameters:
Red: -1
Green: -1
Blue: -1
Alpha: -1
Depth: -1
Stencil: -1
where we instruct Qt to Ignore Color Channels when deciding - Qt will return highest depth
(e.g. RGB888 configs) even when smaller (565) was explicitly requested
Program received signal SIGSEGV, Segmentation fault.
0xb7f9d5f6 in dri2_initialize_mir (drv=0x8061cf8, disp=0x8062298) at ../../../src/egl/drivers/dri2/platform_mir.c:577
577 ../../../src/egl/drivers/dri2/platform_mir.c: No such file or directory.
(gdb) bt
#0 0xb7f9d5f6 in dri2_initialize_mir (drv=0x8061cf8, disp=0x8062298) at ../../../src/egl/drivers/dri2/platform_mir.c:577
#1 0xb7f947bb in dri2_initialize (drv=0x8061cf8, disp=0x8062298) at ../../../src/egl/drivers/dri2/egl_dri2.c:792
#2 0xb7f91646 in _eglMatchAndInitialize (dpy=0x8062298) at ../../../src/egl/main/egldriver.c:261
#3 0xb7f91737 in _eglMatchDriver (dpy=0x8062298, test_only=0) at ../../../src/egl/main/egldriver.c:292
#4 0xb7f8c6d7 in eglInitialize (dpy=0x8062298, major=0xbfffee98, minor=0xbfffee9c) at ../../../src/egl/main/eglapi.c:484
#5 0x0804b3eb in main ()
(gdb)