x11vnc crashes when XFixesGetCursorImage returns NULL

Bug #2011715 reported by Daniel Glöckner
This bug affects 1 person
Affects Status Importance Assigned to Milestone
x11vnc (Ubuntu)

Bug Description

For some reason XFixesGetCursorImage started returning NULL every few minutes when I move the cursor across windows. x11vnc 0.9.16-8 as included in Ubuntu 22.04 crashes with SIGSEGV when this happens. This bug has been fixed upstream three years ago with https://github.com/LibVNC/x11vnc/commit/95a10ab64c2dbbec2c8dad91a5ffb73a0d68474b . Please apply that fix.

Program received signal SIGSEGV, Segmentation fault.
0x0000555c2380d1e3 in get_exact_cursor (init=<optimized out>) at ./src/cursor.c:1323
Download failed: Das Argument ist ungültig. Continuing without source file ./src/./src/cursor.c.
1323 ./src/cursor.c: Datei oder Verzeichnis nicht gefunden.
(gdb) disassemble
Dump of assembler code for function get_exact_cursor:
   0x0000555c2380d130 <+0>: push %r14
   0x0000555c2380d1de <+174>: call 0x555c237ebfd0 <XFixesGetCursorImage@plt>
=> 0x0000555c2380d1e3 <+179>: movzwl 0x4(%rax),%ebx
   0x0000555c2380d1e7 <+183>: movzwl 0x6(%rax),%r14d
   0x0000555c2380d1ec <+188>: mov %rax,%r12
   0x0000555c2380d1ef <+191>: mov %ebx,%edi
--Type <RET> for more, q to quit, c to continue without paging--q
(gdb) info registers
rax 0x0 0

Daniel Glöckner (djgl)
description: updated
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.