gnome-boxes assert failure: gnome-boxes: ../../../../src/cairo-surface.c:955: cairo_surface_destroy: Assertion `CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&surface->ref_count)' failed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Boxes |
Fix Released
|
Unknown
|
|||
gnome-boxes (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
* Impact
Boxes segfault when trying to connect an RDP session
* Test case
1. I added an RDP session to GNOME Boxes
2. Enter username and password
3. Click the entry in the Boxes UI
What happens:
Crash.
Expected result:
I am connected to the machine.
* Regression potential
the code change removes a cairo surface destroy, if the call was incorrectly removed it could lead to a leak
-------
ProblemType: Crash
DistroRelease: Ubuntu 20.10
Package: gnome-boxes 3.36.3-1
ProcVersionSign
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu35
Architecture: amd64
AssertionMessage: gnome-boxes: ../../.
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Wed May 20 15:12:18 2020
ExecutablePath: /usr/bin/
ExecutableTimes
InstallationDate: Installed on 2020-05-20 (0 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200518)
ProcCmdline: /usr/bin/
ProcCwd: /home/asif
ProcEnviron:
SHELL=/bin/bash
XDG_RUNTIME_
PATH=(custom, no user)
LANG=en_US.UTF-8
Signal: 6
SourcePackage: gnome-boxes
StacktraceTop:
__assert_fail_base (fmt=0x7f463b0e7588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
__GI___assert_fail (assertion=
cairo_
?? () from /usr/lib/
?? () from /usr/lib/
Title: gnome-boxes assert failure: gnome-boxes: ../../.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator:
Changed in gnome-boxes: | |
status: | Unknown → Fix Released |
description: | updated |
StacktraceTop: 0x7f463ed29498 "CAIRO_ REFERENCE_ COUNT_HAS_ REFERENCE (&surface- >ref_count) ", file=0x7f463ed29450 "../../ ../../src/ cairo-surface. c", line=955, function=<optimized out>) at assert.c:92 assertion@ entry=0x7f463ed 29498 "CAIRO_ REFERENCE_ COUNT_HAS_ REFERENCE (&surface- >ref_count) ", file=file@ entry=0x7f463ed 29450 "../../ ../../src/ cairo-surface. c", line=line@ entry=955, function= function@ entry=0x7f463ed 299f0 <__PRETTY_ FUNCTION_ _.14013> "cairo_ surface_ destroy" ) at assert.c:101 surface_ destroy (surface= 0x55e4647f9fa0) at ../../. ./../src/ cairo-surface. c:955 update_ mouse_pointer () from /tmp/apport_ sandbox_ n6j199oo/ usr/lib/ x86_64- linux-gnu/ gnome-boxes/ libgtk- frdp-0. 1.so SetNull () from /tmp/apport_ sandbox_ n6j199oo/ usr/lib/ x86_64- linux-gnu/ gnome-boxes/ libgtk- frdp-0. 1.so
__assert_fail_base (fmt=0x7f463b0e7588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
__GI___assert_fail (assertion=
INT_cairo_
frdp_session_
frdp_Pointer_