Program received signal SIGSEGV, Segmentation fault. 0x00000000005d66b9 in GetScreenPrime (master=0x14ce110, prime_id=1) at dri2.c:159 159 if (ds->prime_id == prime_id) (gdb) bt #0 0x00000000005d66b9 in GetScreenPrime (master=0x14ce110, prime_id=1) at dri2.c:159 #1 0x00000000005d6726 in DRI2GetScreenPrime (master=0x14ce110, prime_id=1) at dri2.c:170 #2 0x00000000005d8d5a in DRI2Connect (client=0x1f242f0, pScreen=0x14ce110, driverType=65536, fd=0x7fffd72133f4, driverName=0x7fffd72133e8, deviceName=0x7fffd72133e0) at dri2.c:1329 #3 0x00000000005d99c0 in ProcDRI2Connect (client=0x1f242f0) at dri2ext.c:122 #4 0x00000000005da930 in ProcDRI2Dispatch (client=0x1f242f0) at dri2ext.c:596 #5 0x0000000000434168 in Dispatch () at dispatch.c:428 #6 0x0000000000424bf9 in main (argc=7, argv=0x7fffd72135e8, envp=0x7fffd7213628) at main.c:295