gnome-remote-desktop crashes in grd_session_vnc_take_buffer -> rfbProcessEvents -> rfbMakeRichCursorFromXCursor

Bug #1915410 reported by Marco Trevisan (Treviño)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvncserver (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

When connecting via gnome remote desktop in ubuntu hirsute with Wayland:

#0 0x00007f39d7c08497 in rfbMakeRichCursorFromXCursor (rfbScreen=<optimized out>,
    cursor=cursor@entry=0x7f39d7c32020 <myCursor>) at ./libvncserver/cursor.c:497
#1 0x00007f39d7c089b7 in rfbSendCursorShape (cl=cl@entry=0x55e0530c5ae0) at ./libvncserver/cursor.c:54
#2 0x00007f39d7bfa33d in rfbSendFramebufferUpdate (cl=cl@entry=0x55e0530c5ae0, givenUpdateRegion=<optimized out>)
    at ./libvncserver/rfbserver.c:3190
#3 0x00007f39d7bf48a5 in rfbUpdateClient (cl=cl@entry=0x55e0530c5ae0) at ./libvncserver/main.c:1252
#4 0x00007f39d7bf4920 in rfbProcessEvents (screen=<optimized out>, usec=<optimized out>, usec@entry=0)
    at ./libvncserver/main.c:1216
#5 0x000055e052add793 in grd_session_vnc_take_buffer (session_vnc=<optimized out>, data=<optimized out>)
    at ../src/grd-session-vnc.c:169
#6 0x000055e052ae2bde in do_render (loop=<optimized out>, async=<optimized out>, seq=<optimized out>, data=<optimized out>,
    size=<optimized out>, user_data=<optimized out>) at ../src/grd-vnc-pipewire-stream.c:248
#7 0x00007f39d193e806 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#8 0x00007f39d193e712 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#9 0x00007f39d193f063 in ?? () from /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
#10 0x000055e052ade72a in pipewire_loop_source_dispatch (source=<optimized out>, callback=<optimized out>,
    user_data=<optimized out>) at ../src/grd-vnc-pipewire-stream.c:97
#11 0x00007f39d7f8e6eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f39d7f8e998 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f39d7f8ea63 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f39d7e3a46d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#15 0x000055e052aca90b in main (argc=<optimized out>, argv=<optimized out>) at ../src/grd-daemon.c:351

This is the same of https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/45 and seems to be fixed by https://github.com/LibVNC/libvncserver/pull/444

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Changed in libvncserver (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in libvncserver (Ubuntu):
importance: Critical → High
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvncserver - 0.9.13+dfsg-1ubuntu1

---------------
libvncserver (0.9.13+dfsg-1ubuntu1) hirsute; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Fix crashes when using desktop sharing with
    gnome-remote-desktop LP: #1915410

 -- Sebastien Bacher <email address hidden> Thu, 11 Feb 2021 17:35:36 +0100

Changed in libvncserver (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.