GLib-GObject-CRITICAL **: 10:06:25.078: A floating object GtkFileFilter 00000000241762d0 was finalized
Reproduction steps:
- start gimp with
G_ENABLE_DIAGNOSTIC=1 G_DEBUG=fatal-criticals gdb gimp-2.99
- File->New->Ok
- File->Export as-> export as png -> export
- Close the png dialog without export
- Close the File chooser dialog
(gimp-2.99.exe:8864): GLib-GObject-CRITICAL **: 10:06:25.078: A floating object GtkFileFilter 00000000241762d0 was finalized. This means that someone
called g_object_unref() on an object that had only a floating
reference; the initial floating reference is not owned by anyone
and must be removed with g_object_ref_sink().
Thread 1 "main" received signal SIGTRAP, Trace/breakpoint trap.
_g_log_abort (breakpoint=breakpoint@entry=1) at ../glib-2.78.4/glib/gmessages.c:556
556 in ../glib-2.78.4/glib/gmessages.c
(gdb) bt full
#0 _g_log_abort (breakpoint=breakpoint@entry=1) at ../glib-2.78.4/glib/gmessages.c:556
debugger_present = <optimized out>
#1 0x00007ff84b191a0d in g_logv (log_domain=log_domain@entry=0x7ff8667d46db <__func__.24+75> "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
format=format@entry=0x7ff8667d5800 <__func__.24+4464> "A floating object %s %p was finalized. This means that someone\ncalled g_object_unref() on an object that had only a floating\nreference; the initial floating reference is not owned by anyone\nand must b"...,
args=args@entry=0x5fb6c8 "\200apI°\177") at ../glib-2.78.4/glib/gmessages.c:1419
domain = 0x0
data = 0x0
depth = 1
log_func = 0x7ff84b191705 <g_log_default_handler>
domain_fatal_mask = <optimized out>
masquerade_fatal = <optimized out>
test_level = <optimized out>
was_fatal = 0
was_recursion = 0
buffer = <optimized out>
msg_alloc = 0x2762a620 "A floating object GtkFileFilter 00000000241762d0 was finalized. This means that someone\ncalled g_object_unref() on an object that had only a floating\nreference; the initial floating reference is not o"...
msg = 0x2762a620 "A floating object GtkFileFilter 00000000241762d0 was finalized. This means that someone\ncalled g_object_unref() on an object that had only a floating\nreference; the initial floating reference is not o"...
i = 3
size = <optimized out>
#2 0x00007ff84b191bdb in g_log (log_domain=log_domain@entry=0x7ff8667d46db <__func__.24+75> "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
format=format@entry=0x7ff8667d5800 <__func__.24+4464> "A floating object %s %p was finalized. This means that someone\ncalled g_object_unref() on an object that had only a floating\nreference; the initial floating reference is not owned by anyone\nand must b"...)
at ../glib-2.78.4/glib/gmessages.c:1461
args = 0x5fb6c8 "\200apI°\177"
#3 0x00007ff8667af650 in g_object_finalize (object=0x241762d0) at ../glib-2.78.4/gobject/gobject.c:1399
__func__ = "g_object_finalize"
#4 0x00007ff84922a850 in gtk_file_filter_finalize (object=0x241762d0) at ../gtk+-3.24.41/gtk/gtkfilefilter.c:195
filter = 0x241762d0
#5 0x00007ff8667ace35 in g_object_unref (_object=0x241762d0) at ../glib-2.78.4/gobject/gobject.c:3941
weak_locations = <optimized out>
nqueue = 0x28e59960
object = 0x241762d0
old_ref = <optimized out>
__func__ = "g_object_unref"
#6 0x00007ff84922d5d5 in gtk_file_system_model_finalize (object=0x240622b0) at ../gtk+-3.24.41/gtk/gtkfilesystemmodel.c:1081
model = 0x240622b0
i = 8
#7 0x00007ff8667ace35 in g_object_unref (_object=0x240622b0) at ../glib-2.78.4/gobject/gobject.c:3941
weak_locations = <optimized out>
nqueue = 0x27895940
object = 0x240622b0
old_ref = <optimized out>
__func__ = "g_object_unref"
#8 0x00007ff84921a1f6 in discard_completion_store (chooser_entry=chooser_entry@entry=0x290bbb50) at ../gtk+-3.24.41/gtk/gtkfilechooserentry.c:582
No locals.
#9 0x00007ff84921a348 in set_completion_folder (chooser_entry=chooser_entry@entry=0x290bbb50, folder_file=folder_file@entry=0x0, dir_part=dir_part@entry=0x0) at ../gtk+-3.24.41/gtk/gtkfilechooserentry.c:712
No locals.
#10 0x00007ff84921a592 in gtk_file_chooser_entry_dispose (object=0x290bbb50) at ../gtk+-3.24.41/gtk/gtkfilechooserentry.c:331
chooser_entry = 0x290bbb50
#11 0x00007ff8667ada6c in g_object_run_dispose (object=object@entry=0x290bbb50) at ../glib-2.78.4/gobject/gobject.c:1447
__func__ = "g_object_run_dispose"
#12 0x00007ff8493ccb79 in gtk_widget_destroy (widget=0x290bbb50) at ../gtk+-3.24.41/gtk/gtkwidget.c:4780
__func__ = "gtk_widget_destroy"
#13 0x00007ff84924ac54 in gtk_grid_forall (container=<optimized out>, include_internals=<optimized out>, callback=0x7ff8493ccb14 <gtk_widget_destroy>, callback_data=0x0) at ../gtk+-3.24.41/gtk/gtkgrid.c:540
grid = <optimized out>
priv = <optimized out>
child = <optimized out>
list = 0x29110490
#14 0x00007ff8491b3be3 in gtk_container_foreach (container=container@entry=0x2910f9c0, callback=0x7ff8493ccb14 <gtk_widget_destroy>, callback_data=callback_data@entry=0x0) at ../gtk+-3.24.41/gtk/gtkcontainer.c:2479
class = 0x23b63100
__func__ = "gtk_container_foreach"
#15 0x00007ff8491b4ad2 in gtk_container_destroy (widget=0x2910f9c0) at ../gtk+-3.24.41/gtk/gtkcontainer.c:1702
container = 0x2910f9c0
--Type <RET> for more, q to quit, c to continue without paging--c
priv = 0x2910f8b0
#16 0x00007ff8667a946f in g_cclosure_marshal_VOID__VOID (closure=0x32a8960, return_value=<optimized out>, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=0x5fbbe0, marshal_data=0x7ff8491b4a85 <gtk_container_destroy>)
at ../glib-2.78.4/gobject/gmarshal.c:117
callback = 0x7ff8491b4a85 <gtk_container_destroy>
cc = 0x32a8960
data1 = 0x2910f9c0
data2 = 0x1
__func__ = "g_cclosure_marshal_VOID__VOID"
#17 0x00007ff8667a63bf in g_type_class_meta_marshal (closure=0x32a8960, return_value=0x0, n_param_values=1, param_values=0x5fbcd0, invocation_hint=0x5fbbe0, marshal_data=0x98) at ../glib-2.78.4/gobject/gclosure.c:1033
class = <optimized out>
callback = 0x7ff8491b4a85 <gtk_container_destroy>
offset = 152
#18 0x00007ff8667a790b in g_closure_invoke (closure=0x32a8960, closure@entry=0x5fbd40, return_value=0x0, n_param_values=1, n_param_values@entry=0, param_values=0x5fbcd0, param_values@entry=0x2910f9c0, invocation_hint=invocation_hint@entry=0x5fbbe0)
at ../glib-2.78.4/gobject/gclosure.c:832
marshal = 0x7ff8667a636c <g_type_class_meta_marshal>
marshal_data = 0x98
in_marshal = 1
real_closure = 0x32a8940
__func__ = "g_closure_invoke"
#19 0x00007ff8667b7fae in signal_emit_unlocked_R (node=node@entry=0x5fbd90, detail=<optimized out>, detail@entry=0, instance=instance@entry=0x2910f9c0, emission_return=emission_return@entry=0x0, instance_and_params=<optimized out>)
at ../glib-2.78.4/gobject/gsignal.c:4100
need_unset = 0
accumulator = <optimized out>
emission = {next = 0x5fc260, instance = 0x2910f9c0, ihint = {signal_id = 45, detail = 0, run_type = (G_SIGNAL_RUN_CLEANUP | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_STOP, chain_type = 599141824}
class_closure = <optimized out>
hlist = <optimized out>
handler_list = <optimized out>
return_accu = <optimized out>
accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
signal_id = <optimized out>
max_sequential_handler_number = <optimized out>
return_value_altered = <optimized out>
n_params = <optimized out>
__func__ = "signal_emit_unlocked_R"
#20 0x00007ff8667b9191 in signal_emit_valist_unlocked (instance=instance@entry=0x2910f9c0, signal_id=signal_id@entry=45, detail=detail@entry=0, var_args=<optimized out>, var_args@entry=0x5fbf28 "") at ../glib-2.78.4/gobject/gsignal.c:3612
instance_and_params = 0x5fbcd0
param_values = 0x5fbce8
node = <optimized out>
i = <optimized out>
__func__ = "signal_emit_valist_unlocked"
node_copy = {signal_id = 45, itype = 53109968, name = 0x7ff849761f73 <__func__.11+8819> "destroy", destroyed = 0, flags = 76, n_params = 0, single_va_closure_is_valid = 1, single_va_closure_is_after = 0, param_types = 0x0, return_type = 4,
class_closure_bsa = 0x32aacf0, accumulator = 0x0, c_marshaller = 0x7ff8667a9410 <g_cclosure_marshal_VOID__VOID>, va_marshaller = 0x7ff8667a947e <g_cclosure_marshal_VOID__VOIDv>, emission_hooks = 0x0, single_va_closure = 0x0}
#21 0x00007ff8667bce05 in g_signal_emit_valist (instance=instance@entry=0x2910f9c0, signal_id=45, detail=detail@entry=0, var_args=var_args@entry=0x5fbf28 "") at ../glib-2.78.4/gobject/gsignal.c:3355
No locals.
#22 0x00007ff8667bce4b in g_signal_emit (instance=instance@entry=0x2910f9c0, signal_id=<optimized out>, detail=detail@entry=0) at ../glib-2.78.4/gobject/gsignal.c:3675
var_args = 0x5fbf28 ""
#23 0x00007ff8493d70d2 in gtk_widget_dispose (object=0x2910f9c0) at ../gtk+-3.24.41/gtk/gtkwidget.c:12166
widget = 0x2910f9c0
priv = 0x2910f8d0
sizegroups = <optimized out>
#24 0x00007ff8667ada6c in g_object_run_dispose (object=object@entry=0x2910f9c0) at ../glib-2.78.4/gobject/gobject.c:1447
__func__ = "g_object_run_dispose"
#25 0x00007ff8493ccb79 in gtk_widget_destroy (widget=0x2910f9c0) at ../gtk+-3.24.41/gtk/gtkwidget.c:4780
__func__ = "gtk_widget_destroy"
#26 0x00007ff849169874 in gtk_box_forall (container=<optimized out>, include_internals=<optimized out>, callback=0x7ff8493ccb14 <gtk_widget_destroy>, callback_data=0x0) at ../gtk+-3.24.41/gtk/gtkbox.c:2678
box = <optimized out>
priv = 0x2910f440
child = <optimized out>
children = 0x0
#27 0x00007ff8491b3be3 in gtk_container_foreach (container=container@entry=0x2910f580, callback=0x7ff8493ccb14 <gtk_widget_destroy>, callback_data=callback_data@entry=0x0) at ../gtk+-3.24.41/gtk/gtkcontainer.c:2479
class = 0x1c71c8b0
__func__ = "gtk_container_foreach"
#28 0x00007ff8491b4ad2 in gtk_container_destroy (widget=0x2910f580) at ../gtk+-3.24.41/gtk/gtkcontainer.c:1702
container = 0x2910f580
priv = 0x2910f470
#29 0x00007ff8667a946f in g_cclosure_marshal_VOID__VOID (closure=0x32a8960, return_value=<optimized out>, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=0x5fc270, marshal_data=0x7ff8491b4a85 <gtk_container_destroy>)
at ../glib-2.78.4/gobject/gmarshal.c:117
callback = 0x7ff8491b4a85 <gtk_container_destroy>
cc = 0x32a8960
data1 = 0x2910f580
data2 = 0x1
__func__ = "g_cclosure_marshal_VOID__VOID"
Edited by lillolollo