Describe the bug
When I open internet options dialog from internet explorer and do ALT + TAB, remoteapp exits unexpectedly.
To Reproduce
Steps to reproduce the behavior:
07:52:38:085] [11122:11132] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.update] - order flags 0d failed
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[07:52:38:085] [11122:11132] [DEBUG][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_ACTIVE - rdp_recv_pdu() - -3
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[07:52:38:085] [11122:11132] [DEBUG][com.freerdp.core.rdp] - transport_check_fds() - -1
[07:52:38:085] [11122:11132] [DEBUG][com.freerdp.core] - rdp_check_fds() - -1
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[07:52:38:085] [11122:11132] [INFO][com.freerdp.client.common] - Network disconnect!
[07:52:38:085] [11122:11132] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor
Expected behavior
Continue operation, don't crash.
Application details
xfreerdp /buildconfigEnvironment (please complete the following information):
@FutureKidBuu ok, you just found a bug in a rarely used part of the code (you seem to use some very specific flags)
Fixed with #6300
Just a note: Never ever use /relax-order-checks with a microsoft RDP server, that flag is reserved for older xrdp servers that do not properly announce what they support.
This really impacts security in a very negative way
Thanks for the warning!
Hi there, I have trouble connecting to Windows Server 2008 with xfreerdp 2.1.2
Downgrading to 2.1.1 fixed the issues for me.
I have the same errors whenever I open Outlook on a remote server in 2.1.2. I also use the /cert-ignore flag. Downgrading to 2.1.1 fixed it for me.
I'm having the same issue with 2.1.2. Any idea when the patch will make it to the Kubuntu 20.04 repos?
Same as many others - navigated all the different issues posted about sessions repeatedly disconnecting after FreeRDP 2.1.2 update and this seems to be the "master". Still haven't gotten a clear explanation from the Mint and Ubuntu forums on how to definitively determine when a fix/commit gets installed (unless specifically reflected in the "About" menu dialog).
I'm "Ignoring" all FreeRDP2 updates for now (there have already been 3 subsequent updates) since I can't afford to be without a functioning Remmina. Please post the "New Version" string that will confirm #6298 is included and safe to install.
2.2.0 will contain the fix and will be out soon.
Appears the 2.2.0 just arrived in the update repos (at least for my machine):

At least, I'm assuming this is the 2.2.0 version containing the "disconnect" fix?
I just wanted to comment, this also affected me on ArchLinux (using Remmina as the front-end to freeRDP). Using 2.1.2 caused crashing very frequently/seemingly randomly, when connecting to a remote PC running Windows 7 and Outlook. Note, it dit not affect my connections to Windows 10. But back to W7 and Outlook, almost any time a dialog opened or Outlook interacted with me, it would disconnect my RDC session, and and I could not reconnect without rebooting the remote PC (the session would hang, so I could not reconnect locally or remotely). I reverted back to v2.1.1 on Arch, and the problem went away. Thanks for working on this one, it is a nasty one...
I know this is closed, and I haven't had time to search for new issues in GitHub, but ever since installing the FreeRDP 2.2.0 update (shown above) along with the other associated packages, including Remmina, my Remote Desktop sessions have been locking up intermittently a couple of times a day every day since installation. I may either regress the updates again, or use the VNC protocol until the root cause really gets fixed.
@REMjn832 The disconnects with windows 7 have been fixed with 2.2.0. Some users reported success with disabling glyph cache on windows 7 as a workaround.
@dannn-o what are you talking about? If you can provide a more specific description and (hopefully log files) to address this (best in a new issue, as this one is resolved)?
As I mentioned, I'm limited on time available for debugging at the moment (I have several other GitHub code defect issues open as well), but will pursue a new issue if/when I have time. All I can say is the lockup issues started simultaneously with the FreeRDP update, and I haven't had any recurrence since changing back to the VNC protocol in Remmina (again).
Most helpful comment
Hi there, I have trouble connecting to Windows Server 2008 with xfreerdp 2.1.2
Downgrading to 2.1.1 fixed the issues for me.