Bug 2208015

Summary: xrdp-0.9.22-4 - segfaults is you click on the session box in XRDP login
Product: [Fedora] Fedora EPEL Reporter: Morgan Cox <morgancoxuk>
Component: xrdpAssignee: Bojan Smojver <bojan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: bojan, konrad.bucheli, shngmao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xrdp-0.9.22.1-2.fc38 xrdp-0.9.22.1-2.el9 xrdp-0.9.22.1-2.el8 xrdp-0.9.22.1-2.el7 xrdp-0.9.22.1-2.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-31 17:30:49 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 Morgan Cox 2023-05-17 16:40:31 UTC
Description of problem: xrdp-0.9.22-4.el8 -0 segfaults when you click on the 'session' option in the XRDP login screen


Version-Release number of selected component (if applicable):
xrdp-0.9.22-4.el8.x86_64.rpm

How reproducible:
100% of time

Steps to Reproduce:
1. Login to XRDP without entering password 
2. click on the session box 
3. It segfaults 

Actual results:

[   44.044898] xrdp[1614]: segfault at 5643a003b6d8 ip 00007f7167d46fda sp 00007ffde329f8a0 error 4 in libcommon.so.0.0.0[7f7167d3c000+19000]
[   44.044941] Code: 49 ee 49 8b 3c 24 41 3b 4c 24 0c 74 4b 8d 41 01 41 89 44 24 08 83 f8 01 7e 22 83 e9 01 39 e9 72 1b 0f 1f 80 00 00 00 00 89 c8 <48> 8b 34 c7 8d 41 01 83 e9 01 48 89 34 c7 39 e9 73 ec 48 63 ed b8


Expected results:

Not to crash 

Additional info:

If doesn't crash if you use TAB key to go to the 'session' box , but if you click on the box it crashes

If I downgrade again to xrdp-0.9.21-1.el8.x86_64.rpm this issue is not there

Comment 1 Bojan Smojver 2023-05-17 21:13:23 UTC
I linked the upstream bug you opened. Could you also please run coredumpctl [1] and get a trace. It will help upstream identify the problem.

[1] coredumpctl:
https://man7.org/linux/man-pages/man1/coredumpctl.1.html

Comment 2 Morgan Cox 2023-05-18 09:27:47 UTC
I may need assistance in getting the trace..

I tried using 

```[root@mcox ~]# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Wed 2023-05-17 16:26:12 BST    1853   991   984   5 none      /usr/libexec/platform-python3.6
Wed 2023-05-17 16:47:55 BST    1661     0     0  11 none      /usr/sbin/xrdp
Wed 2023-05-17 17:10:05 BST    1529     0     0  11 none      /usr/sbin/xrdp
Wed 2023-05-17 17:24:07 BST    1544     0     0  11 none      /usr/sbin/xrdp
Wed 2023-05-17 17:24:25 BST    1568     0     0  11 none      /usr/sbin/xrdp
Wed 2023-05-17 17:26:27 BST    1225     0     0  11 none      /usr/sbin/xrdp
Wed 2023-05-17 17:38:51 BST    1474     0     0  11 none      /usr/sbin/xrdp
Thu 2023-05-18 10:12:10 BST    1754     0     0  11 none      /usr/sbin/xrdp
Thu 2023-05-18 10:25:14 BST    2033     0     0  11 none      /usr/sbin/xrdp
[root@mcox ~]# coredumpctl debug
           PID: 2033 (xrdp)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Thu 2023-05-18 10:25:14 BST (7s ago)
  Command Line: /usr/sbin/xrdp --nodaemon
    Executable: /usr/sbin/xrdp
 Control Group: /system.slice/xrdp.service
          Unit: 
         Slice: system.slice
       Boot ID: 1c525ffbaeb34e1fb9290a2072ab7904
    Machine ID: 281a8e8895f24f9db469e3e856f27dc5
      Hostname: mcox.rhel8.desktop
       Storage: none
       Message: Process 2033 (xrdp) of user 0 dumped core.

Coredump entry has no core attached (neither internally in the journal nor externally on disk).
```

Comment 3 Bojan Smojver 2023-05-18 12:08:06 UTC
This is an upstream problem and it is being investigated.

Comment 4 Fedora Update System 2023-05-19 04:02:36 UTC
FEDORA-2023-4880ad3b77 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4880ad3b77

Comment 5 Fedora Update System 2023-05-19 04:02:37 UTC
FEDORA-EPEL-2023-b9d8e1a620 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-b9d8e1a620

Comment 6 Fedora Update System 2023-05-19 04:02:38 UTC
FEDORA-2023-3e2f002a27 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3e2f002a27

Comment 7 Fedora Update System 2023-05-19 04:02:40 UTC
FEDORA-EPEL-2023-350521c1ae has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-350521c1ae

Comment 8 Fedora Update System 2023-05-19 04:02:41 UTC
FEDORA-EPEL-2023-0ded37b2d7 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0ded37b2d7

Comment 9 Fedora Update System 2023-05-20 09:20:11 UTC
FEDORA-2023-4880ad3b77 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4880ad3b77`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4880ad3b77

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

Comment 10 Fedora Update System 2023-05-20 09:40:04 UTC
FEDORA-EPEL-2023-350521c1ae has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-350521c1ae

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

Comment 11 Fedora Update System 2023-05-20 09:40:57 UTC
FEDORA-EPEL-2023-b9d8e1a620 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-b9d8e1a620

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

Comment 12 Fedora Update System 2023-05-20 09:46:04 UTC
FEDORA-EPEL-2023-0ded37b2d7 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0ded37b2d7

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

Comment 13 Fedora Update System 2023-05-20 10:21:56 UTC
FEDORA-2023-3e2f002a27 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3e2f002a27`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3e2f002a27

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

Comment 14 Fedora Update System 2023-05-24 00:49:58 UTC
FEDORA-EPEL-2023-2531885a52 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-2531885a52

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

Comment 15 Fedora Update System 2023-05-24 01:24:32 UTC
FEDORA-EPEL-2023-4cc304b812 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-4cc304b812

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

Comment 16 Fedora Update System 2023-05-24 01:55:00 UTC
FEDORA-2023-de15082232 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-de15082232`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-de15082232

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

Comment 17 Fedora Update System 2023-05-24 02:05:26 UTC
FEDORA-EPEL-2023-8be87193fb has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8be87193fb

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

Comment 18 Fedora Update System 2023-05-24 14:18:34 UTC
FEDORA-2023-1c3eb08d99 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1c3eb08d99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1c3eb08d99

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

Comment 19 Fedora Update System 2023-05-31 17:30:49 UTC
FEDORA-2023-1c3eb08d99 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2023-06-01 00:48:07 UTC
FEDORA-EPEL-2023-2531885a52 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-06-01 00:48:10 UTC
FEDORA-EPEL-2023-8be87193fb has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2023-06-01 01:17:20 UTC
FEDORA-EPEL-2023-4cc304b812 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2023-06-01 02:16:46 UTC
FEDORA-2023-de15082232 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.