#783622 rdesktop crashed on startup

Package:
rdesktop
Source:
rdesktop
Description:
RDP client for Windows NT/2000 Terminal Server and Windows Servers
Submitter:
Christof Boeckler
Date:
2017-12-01 12:45:07 UTC
Severity:
normal
#783622#5
Date:
2015-04-28 13:35:44 UTC
From:
To:
Dear Maintainer,

I tried to connect to a W2k8 R2 server when rdesktop crashed.
$ /usr/bin/rdesktop -u Administrator -d SCHULE -k de -f -N -K ads
*** Error in `/usr/bin/rdesktop': malloc(): memory corruption: 0x09a999d0 ***

$ gdb /usr/bin/rdesktop core
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "i586-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/rdesktop...(no debugging symbols found)...done.
[New LWP 2970]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/bin/rdesktop -u Administrator -d SCHULE -k de -f -N -K ads'.
Program terminated with signal SIGABRT, Aborted.
#0  0xb779bd3c in __kernel_vsyscall ()
(gdb)

Btw, I am able to connect to the same server using rdesktop from Wheezy or
FreeRDP from Jessie.

Thanks!

Christof

#783622#10
Date:
2017-12-01 12:31:00 UTC
From:
To:
Hello Christof,

in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763599 (Nov. 2016) I found a solution for connection problems to Windows 2008 R2 (disconnect: Invalid licensing message). A newer version solved the problem. After this we got crash to connect to older Windows 2003 R2 (segfaults/ Speicherzugriffsfehler). With the old version for jessie we can connect successful. But in this case we got no connection to Win 2008 R2 any more. The solution for this is to install the original version from https://github.com/rdesktop/rdesktop. Now we can connect to older and newer versions of windows. But the version from git has a other bug if you start rdesktop without console. This we solved and now you can download the package from http://debian.b-c-s.net/dists/bcs/bcs/binary-amd64/x11/rdesktop_1.8.3-bcs_amd64.deb
I hope the package solves your problem and you can close the bug.

Mit freundlichen Grüßen

Carsten Burkhardt