To provide some context, when this crash can happen: It can happen, after 
attempting to start a remote desktop session, when the screen is locked.
In such case, g-s directly refuses the start request and therefore the lifetime 
of the rdpgfx thread in FreeRDP is very short.

The journal message for this looks like this:
`Failed to start remote desktop session: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Session creation inhibited`

Now, the error here is, that FreeRDP does not correctly wait for the
rdpgfx thread to be created and this can lead to in this situation, that
the rdpgfx thread is not teared down, when stopping the session, which
can can lead to segfaults, like in this report or to memory corruption.

Personally, I was not able to reproduce the error. However, with the help of 
the journal entries I was able to find this cause.
https://github.com/FreeRDP/FreeRDP/pull/7836 takes care of the problem.

Sessions, that are not locked, should not be affected by this issue.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to freerdp2 in Ubuntu.
https://bugs.launchpad.net/bugs/1970994

Title:
  /usr/libexec/gnome-remote-desktop-
  
daemon:11:setChannelError:rdpgfx_server_thread_func:thread_launcher:start_thread:clone3

Status in freerdp2 package in Ubuntu:
  Triaged
Status in gnome-remote-desktop package in Ubuntu:
  Triaged
Status in freerdp2 source package in Jammy:
  Triaged

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
gnome-remote-desktop.  This problem was most recently seen with package version 
42.0-4ubuntu1, the problem page at 
https://errors.ubuntu.com/problem/77f41623474304919ac793c6665505547b583b60 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

  
  It's believed this issue will be fixed with
  https://github.com/FreeRDP/FreeRDP/pull/7836

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freerdp2/+bug/1970994/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to