(gdb) thread apply all backtrace

Thread 1 (process 4691):
#0  0xf6e2d4c4 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xf6d585b4 in poll (__timeout=-1, __nfds=1, __fds=0xffa85868)
    at /usr/include/arm-linux-gnueabihf/bits/poll2.h:46
#2  read_block (len=8, buf=0x139cb8, fd=3) at ../../src/xcb_in.c:382
#3  _xcb_in_read_block (c=c@entry=0x139d70, buf=<optimized out>, len=len@entry=8)
    at ../../src/xcb_in.c:978
#4  0xf6d56fd8 in read_setup (c=0x139d70) 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  0xf6d59512 in xcb_connect_to_display_with_auth_info (displayname=<optimized out>, auth=0x0, 
    screenp=0x0) at ../../src/xcb_util.c:472
#7  0xf6f407a0 in _XConnectXCB () from /usr/lib/arm-linux-gnueabihf/libX11.so.6
#8  0xf6f3714a in XOpenDisplay () from /usr/lib/arm-linux-gnueabihf/libX11.so.6
#9  0xf701a796 in XtOpenDisplay () from /usr/lib/arm-linux-gnueabihf/libXt.so.6
#10 0xf701ab04 in _XtAppInit () from /usr/lib/arm-linux-gnueabihf/libXt.so.6
#11 0xf7020ad2 in XtOpenApplication () from /usr/lib/arm-linux-gnueabihf/libXt.so.6
#12 0xf7020bac in XtAppInitialize () from /usr/lib/arm-linux-gnueabihf/libXt.so.6
#13 0x0001138c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)