geeqie segfaults with version 1.7.0
The image viewer geeqie crashes with a segmentation fault with libx11 v1.7.0 while it works with 1.6.12 here using Arch Linux. See geeqie report: https://github.com/BestImageViewer/geeqie/issues/829
backtrace with libx11 + geeqie with debug symbols enabled:
(gdb) run
Starting program: /usr/bin/geeqie
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffecd40640 (LWP 269337)]
[New Thread 0x7fffe7fff640 (LWP 269338)]
Xlib: sequence lost (0x100af > 0xb1) in reply type 0x0!
Thread 1 "geeqie" received signal SIGSEGV, Segmentation fault.
0x00007fffec34bca0 in ?? ()
(gdb) bt full
#0 0x00007fffec34bca0 in ()
#1 0x00007ffff6967a22 in XGetErrorText
(dpy=0x5555563ed1f0, code=2, buffer=0x7fffffffdfd0 "BadValue (integer parameter out of range for operation)", nbytes=63) at ErrDes.c:121
buf = "2\000\000\200\000\000\000\000\000\376\277\235\314ż\364\342jNVUU\000\000p\000\000\000\000\000\000\000 rOVUU\000\000\220kKVUU\000\000\360\321>VUU\000\000\356\331&\367\377\177\000\000\000\000\000\000\000\000\000\000\237\244\r\366\377\177\000\000\244\223\004\366\377\177\000\000\240KHVUU\000\000\037\000\000\000\000\000\000\000V\325&\367\377\177\000\000\020\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\020", '\000' <repeats 15 times>, "\240d\264\366\000"
ext = 0x5555564b7390
bext = 0x0
#2 0x00007ffff777e4cb in () at /usr/lib/libgdk-3.so.0
#3 0x00007ffff6989aa5 in _XError (dpy=dpy@entry=0x5555563ed1f0, rep=rep@entry=0x555556805fd0) at XlibInt.c:1503
rtn_val = <optimized out>
thread_info = {next = 0x0, error_thread = 140737174158656}
prev = <optimized out>
event =
{type = 0, xany = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146}, xkey = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, root = 93825007181578, subwindow = 140737488355327, time = 140737321134295, x = 1147076675, y = 1953836613, x_root = -165596192, y_root = 32767, state = 4128091280, keycode = 32767, same_screen = -166874384}, xbutton = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, root = 93825007181578, subwindow = 140737488355327, time = 140737321134295, x = 1147076675, y = 1953836613, x_root = -165596192, y_root = 32767, state = 4128091280, button = 32767, same_screen = -166874384}, xmotion = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, root = 93825007181578, subwindow = 140737488355327, time = 140737321134295, x = 1147076675, y = 1953836613, x_root = -165596192, y_root = 32767, state = 4128091280, is_hint = -1 '\377', same_screen = -166874384}, xcrossing = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, root = 93825007181578, subwindow = 140737488355327, time = 140737321134295, x = 1147076675, y = 1953836613, x_root = -165596192, y_root = 32767, mode = -166876016, detail = 32767, same_screen = -166874384, focus = 32767, state = 1298088780}, xfocus = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, mode = 1446600458, detail = 21845}, xexpose = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, x = 1446600458, y = 21845, width = -1, height = 32767, count = -167221033}, xgraphicsexpose = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, drawable = 140737473190146, x = 1446600458, y = 21845, width = -1, height = 32767, count = -167221033, major_code = 32767, minor_code = 1147076675}, xnoexpose = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, drawable = 140737473190146, major_code = 1446600458, minor_code = 21845}, xvisibility = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, state = 1446600458}, xcreatewindow = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, parent = 140737473190146, window = 93825007181578, x = -1, y = 32767, width = -167221033, height = 32767, border_width = 1147076675, override_redirect = 1953836613}, xdestroywindow = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578}, xunmap = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, from_configure = -1}, xmap = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, override_redirect = -1}, xmaprequest = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, parent = 140737473190146, window = 93825007181578}, xreparent = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, parent = 140737488355327, x = -167221033, y = 32767, override_redirect = 1147076675}, xconfigure = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, x = -1, y = 32767, width = -167221033, height = 32767, border_width = 1147076675, above = 140737322759136, override_redirect = -166876016}, xgravity = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, x = -1, y = 32767}, xresizerequest = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, width = 1446600458, height = 21845}, xconfigurerequest = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, parent = 140737473190146, window = 93825007181578, x = -1, y = 32767, width = -167221033, height = 32767, border_width = 1147076675, above = 140737322759136, detail = -166876016, value_mask = 140737321480944}, xcirculate = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, event = 140737473190146, window = 93825007181578, place = -1}, xcirculaterequest = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, parent = 140737473190146, window = 93825007181578, place = -1}, xproperty = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, atom = 93825007181578, time = 140737488355327, state = -167221033}, xselectionclear = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, selection = 93825007181578, time = 140737488355327}, xselectionrequest = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, owner = 140737473190146, requestor = 93825007181578, selection = 140737488355327, target = 140737321134295, property = 8391664355709485123, time = 140737322759136}, xselection = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, requestor = 140737473190146, selection = 93825007181578, target = 140737488355327, property = 140737321134295, time = 8391664355709485123}, xcolormap = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, colormap = 93825007181578, new = -1, state = 32767}, xclient = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, message_type = 93825007181578, format = -1, data = {b = "\327h\b\366\377\177\000\000C\000_DE.ut\340\063", <incomplete sequence \366>, s = {26839, -2552, 32767, 0, 67, 17503, 11845, 29813, 13280, -2527}, l = {140737321134295, 8391664355709485123, 140737322759136, 140737321479312, 140737321480944}}}, xmapping = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, request = 1446600458, first_keycode = 21845, count = -1}, xerror = {type = 0, display = 0x5555563ed1f0, resourceid = 0, serial = 202, error_code = 2 '\002', request_code = 153 '\231', minor_code = 24 '\030'}, xkeymap = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, window = 140737473190146, key_vector = "\n_9VUU\000\000\377\377\377\377\377\177\000\000\327h\b\366\377\177\000\000C\000_DE.ut"}, xgeneric = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, extension = -15165182, evtype = 32767}, xcookie = {type = 0, serial = 93825007538672, send_event = 0, display = 0xca, extension = -15165182, evtype = 32767, cookie = 1446600458, data = 0x7fffffffffff}, pad = {140733193388032, 93825007538672, 0, 202, 140737473190146, 93825007181578, 140737488355327, 140737321134295, 8391664355709485123, 140737322759136, 140737321479312, 140737321480944, 4707197592648237900, -811556350222926336, 140733200690478, 93825007276752, 140737320886447, -811556350222926336, 0, 93825007547664, 0, 140737315428652, 93825007547688, 93825007547664}}
async = <optimized out>
next = <optimized out>
#4 0x00007ffff69866f8 in handle_error (dpy=0x5555563ed1f0, err=0x555556805fd0, in_XReply=<optimized out>) at xcb_io.c:207
ext = <optimized out>
ret_code = 32767
#5 0x00007ffff6986795 in handle_response (dpy=0x5555563ed1f0, response=0x555556805fd0, in_XReply=<optimized out>) at xcb_io.c:394
async = <optimized out>
next = <optimized out>
#6 0x00007ffff69871ea in _XEventsQueued (mode=<optimized out>, dpy=0x5555563ed1f0) at xcb_io.c:433
response = <optimized out>
#7 _XEventsQueued (dpy=0x5555563ed1f0, mode=<optimized out>) at xcb_io.c:414
#8 0x00007ffff698a1f6 in _XGetRequest (dpy=0x5555563ed1f0, type=type@entry=43 '+', len=len@entry=4) at XlibInt.c:1787
req = <optimized out>
#9 0x00007ffff698a348 in _XSeqSyncFunction (dpy=0x5555563ed1f0) at XlibInt.c:222
rep =
{type = 0 '\000', revertTo = 0 '\000', sequenceNumber = 0, length = 0, focus = 2646605312, pad1 = 4106012108, pad2 = 1447062560, pad3 = 21845, pad4 = 4137110344, pad5 = 32767}
#10 _XSeqSyncFunction (dpy=0x5555563ed1f0) at XlibInt.c:215
#11 0x00007ffff5ba50fb in XRRSelectInput () at /usr/lib/libXrandr.so.2
#12 0x00007ffff6b004c4 in () at /usr/lib/libcogl.so.20
#13 0x00007ffff6b04d21 in () at /usr/lib/libcogl.so.20
#14 0x00007ffff6aba650 in cogl_renderer_connect () at /usr/lib/libcogl.so.20
#15 0x00007ffff6bb2c1f in () at /usr/lib/libclutter-1.0.so.0
#16 0x00007ffff6bccf15 in () at /usr/lib/libclutter-1.0.so.0
#17 0x00007ffff6bdea54 in () at /usr/lib/libclutter-1.0.so.0
#18 0x00007ffff6bdecd8 in () at /usr/lib/libclutter-1.0.so.0
#19 0x00007ffff725dbd7 in g_option_context_parse () at /usr/lib/libglib-2.0.so.0
#20 0x00007ffff6bdfb1d in clutter_init () at /usr/lib/libclutter-1.0.so.0
#21 0x00005555555c27f9 in ()
#22 0x0000000000000000 in ()```
Is this enough to find the culprint?