FreeRDP/FreeRDP — Issue #440: Program received signal SIGSEGV, Segmentation fault.
Author: johnjohn101
Created: 2012-02-18 02:03:48+00:00
State: open

xfreerdp 1.0.1 faults connecting to server. Server in gdb script is not accessible from outside firewall.

richards@bubba-MS-7529:~/FreeRDP$ gdb xfreerdp
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/bin/xfreerdp...done.
(gdb) r wildbill.dhe.duke.edu
Starting program: /usr/local/bin/xfreerdp wildbill.dhe.duke.edu
[Thread debugging using libthread_db enabled]
[New Thread 0xb77a6b70 (LWP 4923)]
connected to wildbill.dhe.duke.edu:3389
connected to wildbill.dhe.duke.edu:3389
connected to wildbill.dhe.duke.edu:3389
FIPS Compliant encryption level.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb77a6b70 (LWP 4923)]
0xb7a6a04e in RC4 () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
(gdb) bt
#0 0xb7a6a04e in RC4 () from /lib/i386-linux-gnu/libcrypto.so.1.0.0
#1 0xb7f6025f in crypto_rc4 (rc4=0x0, length=13, in_data=0x80ae80f "`",
out_data=0x80ae80f "`")
at /home/richards/FreeRDP/libfreerdp-core/crypto.c:67
#2 0xb7f68fc2 in security_encrypt (data=0x80ae80f "`", length=13,
rdp=0x80a49e8) at /home/richards/FreeRDP/libfreerdp-core/security.c:460
#3 0xb7f7f00c in fastpath_send_input_pdu (fastpath=0x80b6018, s=0x80ae7f0)
at /home/richards/FreeRDP/libfreerdp-core/fastpath.c:582
#4 0xb7f5f4d2 in input_send_fastpath_synchronize_event (input=0x80b2b20,
flags=0) at /home/richards/FreeRDP/libfreerdp-core/input.c:153
#5 0xb7f787aa in rdp_client_connect_finalize (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:493
#6 0xb7f7871c in rdp_client_connect_demand_active (rdp=0x80a49e8, s=0x80e0df0)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:473
#7 0xb7f7ba13 in rdp_recv_callback (transport=0x80a6740, s=0x80e0df0,
extra=0x80a49e8) at /home/richards/FreeRDP/libfreerdp-core/rdp.c:818
#8 0xb7f805d6 in transport_check_fds (transport=0x80a6740)
at /home/richards/FreeRDP/libfreerdp-core/transport.c:367
#9 0xb7f7bb65 in rdp_check_fds (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/rdp.c:864
#10 0xb7f7781f in rdp_client_connect (rdp=0x80a49e8)
at /home/richards/FreeRDP/libfreerdp-core/connection.c:112
#11 0xb7f6feb4 in freerdp_connect (instance=0x80a48a0)
---Type to continue, or q to quit---
at /home/richards/FreeRDP/libfreerdp-core/freerdp.c:48
#12 0x08059dec in xfreerdp_run (instance=0x80a48a0)
at /home/richards/FreeRDP/client/X11/xfreerdp.c:952
#13 0x0805a176 in thread_func (param=0x80c7a68)
at /home/richards/FreeRDP/client/X11/xfreerdp.c:1057
#14 0xb7d96d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#15 0xb7ce60ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
(gdb)