Bug 2068015

Summary: [abrt] gnome-connections: _mid_memalign(): gnome-connections killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: gnome-connectionsAssignee: Felipe Borges <feborges>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: awilliam, feborges, gnome-sig, klember, robatino
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7b18b53ee46e8f04ce2a1ccf63c294123f2f98f3
Whiteboard: abrt_hash:eaf9e1d814a292222c9927a840a6c64d47804a2e;VARIANT_ID=workstation; https://ask.fedoraproject.org/t/common-issues/20801 AcceptedBlocker
Fixed In Version: gnome-connections-42.1-1.fc36 gnome-connections-42.1.2-1.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-08 02:56:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1953785    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Kamil Páral 2022-03-24 09:46:13 UTC
Description of problem:
I simply tried to connect to an RDP server (localhost, in this case, but the same crash occurs even when connecting to other computers) and it immediately crashed.

Reproducer:
1. Either on localhost or some other F36 machine enable screen sharing in gnome-control-center (F36 so that it supports RDP).
2. Open Connections
3. Try to connect over RDP to that machine, provide credentials
4. Crash

Version-Release number of selected component:
gnome-connections-42.0-1.fc36

Additional info:
reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Connections
cmdline:        /usr/bin/gnome-connections --gapplication-service
crash_function: _mid_memalign
executable:     /usr/bin/gnome-connections
journald_cursor: s=8b6ba1c691284e9fb128272f86372632;i=8c3e;b=72514e3b889f4d7981a76ba51963d584;m=6f10b640;t=5daf380daccf1;x=c2911f2c09c76810
kernel:         5.17.0-0.rc7.116.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 _mid_memalign at malloc.c:3574
 #1 pointer_free at /usr/src/debug/freerdp-2.6.1-1.fc36.x86_64/libfreerdp/cache/pointer.c:54

Comment 1 Kamil Páral 2022-03-24 09:46:16 UTC
Created attachment 1868047 [details]
File: backtrace

Comment 2 Kamil Páral 2022-03-24 09:46:18 UTC
Created attachment 1868048 [details]
File: core_backtrace

Comment 3 Kamil Páral 2022-03-24 09:46:19 UTC
Created attachment 1868049 [details]
File: cpuinfo

Comment 4 Kamil Páral 2022-03-24 09:46:21 UTC
Created attachment 1868050 [details]
File: dso_list

Comment 5 Kamil Páral 2022-03-24 09:46:22 UTC
Created attachment 1868051 [details]
File: environ

Comment 6 Kamil Páral 2022-03-24 09:46:23 UTC
Created attachment 1868052 [details]
File: exploitable

Comment 7 Kamil Páral 2022-03-24 09:46:24 UTC
Created attachment 1868053 [details]
File: limits

Comment 8 Kamil Páral 2022-03-24 09:46:26 UTC
Created attachment 1868054 [details]
File: maps

Comment 9 Kamil Páral 2022-03-24 09:46:27 UTC
Created attachment 1868055 [details]
File: mountinfo

Comment 10 Kamil Páral 2022-03-24 09:46:29 UTC
Created attachment 1868056 [details]
File: open_fds

Comment 11 Kamil Páral 2022-03-24 09:46:30 UTC
Created attachment 1868057 [details]
File: proc_pid_status

Comment 12 Kamil Páral 2022-03-24 09:48:48 UTC
*** Bug 2068016 has been marked as a duplicate of this bug. ***

Comment 14 Adam Williamson 2022-03-28 14:59:24 UTC
+5 in https://pagure.io/fedora-qa/blocker-review/issue/688 , marking accepted.

Comment 15 Adam Williamson 2022-04-05 08:14:52 UTC
According to the upstream issue, updating gtk-frdp - which connections includes as a git submodule - is the fix for this: https://gitlab.gnome.org/GNOME/connections/-/commit/4f4f6aa197cfe173503c317e0886147ac6244620 . That updated it to 930d64337cc54b9887f9d61d410d734a30feb5c9 but we might want to go for the latest commit, 3a58b548133bbf243297bfa19204bc22c202545a , which fixes some other issues reported upstream as https://gitlab.gnome.org/GNOME/connections/-/issues/98 . Not sure exactly how to go about backporting a submodule update, though.

Comment 16 Fedora Update System 2022-04-05 15:11:18 UTC
FEDORA-2022-4bd1593a86 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4bd1593a86

Comment 17 Kamil Páral 2022-04-06 10:21:05 UTC
(In reply to Fedora Update System from comment #16)
> FEDORA-2022-4bd1593a86 has been submitted as an update to Fedora 36.
> https://bodhi.fedoraproject.org/updates/FEDORA-2022-4bd1593a86

The connection crash is fixed. There are still multiple other bugs (even crashes) present, but this is an improvement. I'll file the other issues separately.

Comment 18 Fedora Update System 2022-04-06 17:54:30 UTC
FEDORA-2022-4bd1593a86 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-4bd1593a86`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4bd1593a86

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

Comment 19 Fedora Update System 2022-04-08 02:56:56 UTC
FEDORA-2022-4bd1593a86 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2022-04-13 09:04:30 UTC
FEDORA-2022-13ed0f323e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-13ed0f323e

Comment 21 Fedora Update System 2022-04-13 09:04:44 UTC
FEDORA-2022-13ed0f323e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.