Program received signal SIGSEGV, Segmentation fault. GetScreenPrime (master=0x21e9780, master@entry=0x1, prime_id=prime_id@entry=1) at dri2.c:159 159 if (ds->prime_id == prime_id) (gdb) bt f #0 GetScreenPrime (master=0x21e9780, master@entry=0x1, prime_id=prime_id@entry=1) at dri2.c:159 slave = 0x21e64a0 #1 0x00000000005632dd in GetScreenPrime (prime_id=prime_id@entry=1, master=master@entry=0x1) at dri2.c:152 No locals. #2 DRI2GetScreenPrime (master=, prime_id=prime_id@entry=1) at dri2.c:168 No locals. #3 0x000000000056537d in DRI2Connect (client=0x2dd49f0, pScreen=, driverType=65536, fd=0x7fffd0db21b0, driverName=0x7fffd0db21c0, deviceName=0x7fffd0db21c8) at dri2.c:1306 ds = prime_id = driver_id = #4 0x000000000056611a in ProcDRI2Connect (client=) at dri2ext.c:122 rep = {type = 1 '\001', pad1 = 0 '\000', sequenceNumber = 27, length = 0, driverNameLength = 0, deviceNameLength = 0, pad2 = 0, pad3 = 0, pad4 = 0, pad5 = 0} fd = 45834448 status = 1 pDraw = 0x279a2d0 driverName = 0x2dd49f0 "p\235\300\002" deviceName = 0x9a #5 ProcDRI2Dispatch (client=0x2dd49f0) at dri2ext.c:599 stuff = 0x2c09d70 #6 0x0000000000437807 in Dispatch () No symbol table info available. #7 0x000000000043b9a6 in dix_main () No symbol table info available. #8 0x00007fc661da0040 in __libc_start_main () from /usr/lib/libc.so.6 No symbol table info available. #9 0x0000000000425dce in _start () No symbol table info available.