Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant disconnects with freerdp v2.1.2 #6303

Closed
stefanpartheym opened this issue Jun 23, 2020 · 1 comment
Closed

Constant disconnects with freerdp v2.1.2 #6303

stefanpartheym opened this issue Jun 23, 2020 · 1 comment

Comments

@stefanpartheym
Copy link

stefanpartheym commented Jun 23, 2020

Hey guys,

Note: This might be related to #6299 .

after updating from freerdp version 2.1.1 to version 2.1.2, I immediately noticed constant disconnects.
I use Remmina as a frontend, which automatically tries to reconnect to the remote host, after a disconnect happens.
This results in the following scenario:

  • I successfully connect to a remote host
  • I try to open a folder on the desktop of the remote host (or do any other action such as opening the "start-menu")
  • freerdp disconnects
  • remmina shows a black screen saying that it will try to reconnect
  • freerdp reconnects
  • I try the next action on the remote host
  • freerdp disconnects again
  • and so on...

Remmina gives me the following output in the terminal:

[10:54:01:255] [37133:37203] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state
[10:54:02:059] [37133:37203] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00006ac0
[10:54:02:087] [37133:37245] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: shared (type=8 id=1)
[10:54:02:151] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:02:151] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:02:671] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:02:671] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:54:04:159] [37133:37203] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[10:54:04:159] [37133:37292] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [shared] (static)
[10:54:04:159] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[10:54:04:163] [37133:37203] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[10:54:04:163] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[10:54:04:163] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[10:54:04:190] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:04:190] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:05:751] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:05:751] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:54:06:241] [37133:37203] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[10:54:06:241] [37133:37337] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [shared] (static)
[10:54:06:241] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[10:54:06:244] [37133:37203] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[10:54:06:245] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[10:54:06:250] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[10:54:06:250] [37133:37203] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00007e10
[10:54:06:251] [37133:37203] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 0000c3b0
[10:54:06:283] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:06:283] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:06:283] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:06:284] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:06:284] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:06:284] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:06:284] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:06:284] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:07:819] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:07:819] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:54:08:306] [37133:37203] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[10:54:08:306] [37133:37383] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [shared] (static)
[10:54:08:307] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[10:54:08:311] [37133:37203] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[10:54:08:311] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[10:54:08:316] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[10:54:08:336] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:08:336] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:08:337] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:09:906] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:09:906] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:54:10:395] [37133:37203] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[10:54:10:395] [37133:37429] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [shared] (static)
[10:54:10:395] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[10:54:10:399] [37133:37203] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[10:54:10:399] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[10:54:10:401] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[10:54:10:401] [37133:37203] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 0000dd30
[10:54:10:402] [37133:37203] [WARN][com.freerdp.channels.cliprdr.common] - [cliprdr_packet_format_list_new] called with invalid type 00003da0
[10:54:10:417] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:10:417] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:11:983] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:11:983] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[10:54:12:468] [37133:37203] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[10:54:12:468] [37133:37475] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [shared] (static)
[10:54:12:468] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[10:54:12:472] [37133:37203] [INFO][com.freerdp.channels.audin.client] - Loaded pulse backend for audin
[10:54:12:472] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx
[10:54:12:478] [37133:37203] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel disp
[10:54:12:491] [37133:37203] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.update] - order flags 0d failed
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[10:54:12:491] [37133:37203] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[10:54:13:066] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[10:54:13:066] [37133:37203] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state

After downgrading to version 2.1.1 everything works again as expected.

Application details

  • xfreerdp /version: This is FreeRDP version 2.1.2 (n/a)
  • Command line used: I used Remmina, so I don't know the exact command being executed
  • xfreerdp /buildconfig:
This is FreeRDP version 2.1.2 (n/a)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=ON HAVE_AIO_H=1 HAVE_EXECINFO_H=1 HAVE_FCNTL_H=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIB=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL= HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CAIRO=OFF WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=OFF WITH_GSSAPI=OFF WITH_ICU=OFF WITH_IPP=OFF WITH_JPEG=ON WITH_LAME=OFF WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PAM=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PROXY=ON WITH_PROXY_MODULES=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SHADOW=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=OFF WITH_SSE2=ON WITH_SWSCALE=ON WITH_THIRD_PARTY=OFF WITH_VAAPI=OFF WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_X264=OFF WITH_XCURSOR=ON WITH_XDAMAGE=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XTEST=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          None
CFLAGS:              -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -g -DWINPR_DLL
Compiler:            GNU, 10.1.0
Target architecture: x64
  • OS version connecting to (server side): Microsoft Windows Server 2008 R2 Enterprise, Version 6.1 (Build 7601: Service Pack 1)

Environment (please complete the following information):

  • OS: Linux arch 5.6.18-1-mbp Initial transport layer implementation #1 SMP PREEMPT Sat, 13 Jun 2020 09:26:46 +0000 x86_64 GNU/Linux, Gnome Shell version 3.36.3
  • Version/Distribution: ArchLinux
  • Architecture: amd64
@akallabeth
Copy link
Member

Duplicate #6298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants