/usr/bin/xfce4-color-settings:11:g_type_check_instance_is_fundamentally_a:g_object_unref:color_settings_dialog_destroy:_gtk_marshal_BOOLEAN__BOXEDv:_g_closure_invoke_va

Bug #1866114 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Settings
Fix Released
Medium
xfce4-settings (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding xfce4-settings. This problem was most recently seen with package version 4.14.1-1ubuntu1, the problem page at https://errors.ubuntu.com/problem/08adaea9b59dac8d9be2a0ecaadbe97d575ec6cf 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/.

Tags: focal eoan
Revision history for this message
In , Tiny-lasagna (tiny-lasagna) wrote :

Created attachment 8944
Example of color settings not showing any profiles

How to (possibly) reproduce:

Run xfce4-color-settings from a shell.
On my device, it says "No profiles for the selected device".
Click "+" to add a color profile. Close the current dialog (either by pressing Esc or clicking on X) without doing any changes.
Click on "+" again. The following shows up on stderr:

(xfce4-color-settings:344): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'XfceHeading'
(xfce4-color-settings:344): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'
(xfce4-color-settings:344): Gtk-CRITICAL **: gtk_widget_queue_resize: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-color-settings:344): Gtk-CRITICAL **: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed

The profile list doesn't show up anymore (see attachment). When the above is done repeatedly, the program sometimes segfaults altogether, or aborts for various reasons such as:

free(): invalid size

or

corrupted size vs. prev_size

or

munmap_chunk(): invalid pointer

or

double free or corruption (out)

or even

free(): invalid pointer

Temporary workaround:
Exit the "Add color profile to monitor" dialog exclusively by clicking on the "Cancel" button

Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

I can confirm the issue, I'll look into a fix.

Revision history for this message
In , Gitbot (gitbot) wrote :

Simon Steinbeiss referenced this bugreport in commit ef0715288c36181bbb7061ebcee815fd14ed8708

color: Fix crash in add-profiles dialog (Bug #15876)

https://git.xfce.org/xfce/xfce4-settings/commit?id=ef0715288c36181bbb7061ebcee815fd14ed8708

Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

I've pushed a fix to master. Please re-open if you see any more trouble.

Revision history for this message
In , Gitbot (gitbot) wrote :

Simon Steinbeiss referenced this bugreport in commit 6d286c0ed8dd3964f21d8e3d48f15f1dbf465787

color: Fix crash in add-profiles dialog (Bug #15876)

https://git.xfce.org/xfce/xfce4-settings/commit?id=6d286c0ed8dd3964f21d8e3d48f15f1dbf465787

Changed in xfce4-settings:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Sean Davis (bluesabre) wrote :

This error is still reported in jammy.

Changed in xfce4-settings (Ubuntu):
status: New → Triaged
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.