FreeRDP/FreeRDP — Issue #255: segfault if DISPLAY is not set
Author: sunds
Created: 2011-12-07 00:04:15+00:00
State: open

unset DISPLAY
client/X11/xfreerdp 10.99.10.15

connected to 10.99.10.15:3389
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3eb3700 (LWP 8474)]
0x00007ffff6616227 in XListPixmapFormats () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) where
#0 0x00007ffff6616227 in XListPixmapFormats () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x00000000004135aa in xf_get_pixmap_info (xfi=0x6c55f0) at /home/sunds/FreeRDP/client/X11/xfreerdp.c:357
#2 0x0000000000413ed1 in xf_post_connect (instance=0x6a1070) at /home/sunds/FreeRDP/client/X11/xfreerdp.c:564
#3 0x00007ffff738ec2b in freerdp_connect (instance=0x6a1070) at /home/sunds/FreeRDP/libfreerdp-core/freerdp.c:55
#4 0x0000000000414cfc in xfreerdp_run (instance=0x6a1070) at /home/sunds/FreeRDP/client/X11/xfreerdp.c:891
#5 0x0000000000415089 in thread_func (param=0x6c54b0) at /home/sunds/FreeRDP/client/X11/xfreerdp.c:988
#6 0x00007ffff5fb4efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007ffff5cef89d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x0000000000000000 in ?? ()
(gdb)