Bug 1855226

Summary: Disconnected on Windows 2008 R2 after update to 2.1.2-1
Product: [Fedora] Fedora Reporter: Oleg Kochkin <oleg.kochkin>
Component: freerdpAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: falk, lucachess, marek.salwerowicz, negativo17, oholy, pahan, r3pek, res-1, sbobber, thomas.jarosch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: freerdp-2.2.0-1.fc32 freerdp-2.2.0-1.fc31 freerdp-2.2.0-4.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-30 17:52:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oleg Kochkin 2020-07-09 09:54:32 UTC
Description of problem:

Disconnected on Windows 2008 R2 after update from freerdp.x86_64 2:2.1.1-1.fc32 to freerdp.x86_64 2:2.1.2-1

Version-Release number of selected component (if applicable):
freerdp.x86_64 2:2.1.2-1

How reproducible:
Run command for connect to Windows 2008 R2:
xfreerdp /v:xxx.xxx.xxx.xxx:port /u:user /p:passwd +fonts /cert-ignore /size:1440x900

Actual results:
Window open, connected, works a few seconds and closed. 

[12:11:56:289] [69070:69071] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[12:11:56:289] [69070:69071] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[12:11:56:289] [69070:69071] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[12:11:56:289] [69070:69071] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[12:11:57:619] [69070:69071] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[12:11:57:621] [69070:69071] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[12:11:57:621] [69070:69071] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[12:11:58:636] [69070:69071] [ERROR][com.winpr.timezone] - Unable to get current timezone rule
[12:11:58:937] [69070:69071] [INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[12:11:58:937] [69070:69071] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[12:11:58:944] [69070:69071] [INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[12:11:58:947] [69070:69071] [INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[12:11:58:069] [69070:69071] [INFO][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex resetting error state
[12:11:59:977] [69070:69071] [WARN][com.freerdp.core.orders] - Invalid bmf 129
[12:11:59:977] [69070:69071] [ERROR][com.freerdp.core.update] - [0x01] PatBlt - update_read_dstblt_order() failed
[12:11:59:977] [69070:69071] [ERROR][com.freerdp.core.update] - order flags 0d failed
[12:11:59:977] [69070:69071] [ERROR][com.freerdp.core.fastpath] - Fastpath update Orders [0] failed, status 0
[12:11:59:978] [69070:69071] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[12:11:59:978] [69070:69071] [ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[12:11:59:981] [69070:69071] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[12:11:59:981] [69070:69071] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[12:11:59:981] [69070:69071] [INFO][com.freerdp.client.common] - Network disconnect!
[12:11:59:981] [69070:69071] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

Additional info:
This error does not occur when connecting to Windows 2016.

Temporarily downgrade to version 2.0.0-dev5:
# dnf downgrade freerdp

Comment 1 Luca 2020-07-14 06:41:06 UTC
Confirming here. I have problems connecting to Windows 7, too. Severity would be high/critical, fedora is not usable to connect to Windows systems.

Comment 2 Rudolf E. Steiner 2020-07-14 12:29:41 UTC
The same here.

The problem is reproducible at any time when accessing certain screen contents of the remote system.

Comment 3 Marek Salwerowicz 2020-07-15 10:26:31 UTC
Hi all,

same for me.

As I found here:
https://gitlab.com/Remmina/Remmina/-/issues/2248#note_378570953

this resolves issue:
https://github.com/FreeRDP/FreeRDP/pull/6319/commits/62530e2d9dab999d1c5ddd1368d67c599dccd580


Hope this can be updated soon..

Best regards,
Marek

Comment 4 falk 2020-07-15 11:52:24 UTC
Same here - downgrading freerdp solved the issue for now.

Comment 5 Thomas Jarosch 2020-07-21 10:43:04 UTC
Two fixes linked here, one is the same as above:
https://github.com/FreeRDP/FreeRDP/issues/6371

https://github.com/FreeRDP/FreeRDP/commit/138256fbc57b8feb22f8a92d2682a874fcb439d5
https://github.com/FreeRDP/FreeRDP/commit/ce1a9d8d1969ecbb4d24b9f4812654638a44abc2

I've also downgraded to freerdp 2.1.1 on Fedora 32 for the time being.

Comment 6 Fedora Update System 2020-07-23 14:25:54 UTC
FEDORA-2020-a3432485db has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a3432485db

Comment 7 Fedora Update System 2020-07-23 14:26:22 UTC
FEDORA-2020-8d5f86e29a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8d5f86e29a

Comment 8 Fedora Update System 2020-07-24 01:25:41 UTC
FEDORA-2020-8d5f86e29a has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8d5f86e29a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8d5f86e29a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-07-24 01:31:38 UTC
FEDORA-2020-a3432485db has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a3432485db`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a3432485db

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-07-30 17:52:02 UTC
FEDORA-2020-8d5f86e29a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2020-08-01 01:17:46 UTC
FEDORA-2020-a3432485db has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-08-11 11:33:13 UTC
FEDORA-2020-712d0994ee has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-712d0994ee

Comment 13 Fedora Update System 2020-08-11 11:33:17 UTC
FEDORA-2020-712d0994ee has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-712d0994ee

Comment 14 Fedora Update System 2020-08-11 13:45:57 UTC
FEDORA-2020-712d0994ee has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.