(gdb) thread apply all bt Thread 1 (Thread 0xf6dac210 (LWP 11135)): #0 0xf73604c4 in poll () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xf70605b4 in poll (__timeout=-1, __nfds=1, __fds=0xffb43598) at /usr/include/arm-linux-gnueabihf/bits/poll2.h:46 #2 read_block (len=8, buf=0x4ed198, fd=3) at ../../src/xcb_in.c:382 #3 _xcb_in_read_block (c=c@entry=0x4ee180, buf=, len=len@entry=8) at ../../src/xcb_in.c:978 #4 0xf705efd8 in read_setup (c=0x4ee180) at ../../src/xcb_conn.c:148 #5 xcb_connect_to_fd (fd=fd@entry=3, auth_info=auth_info@entry=0x0) at ../../src/xcb_conn.c:330 #6 0xf7061512 in xcb_connect_to_display_with_auth_info (displayname=, auth=0x0, screenp=0x0) at ../../src/xcb_util.c:472 #7 0xf740d7a0 in _XConnectXCB () from /usr/lib/arm-linux-gnueabihf/libX11.so.6 #8 0xf740414a in XOpenDisplay () from /usr/lib/arm-linux-gnueabihf/libX11.so.6 #9 0x0000bed2 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb)