GIMP/GLib crash on close
Tested on yesterday gimp master Steps to reproduce
- Open gimp
- File->new
- File->export
- on the Export image window click export
- Don' click Export image as PNG instead close gimp
- crash
GIMP reports but we have many others with similar ST gimp#8831
Thread 1 "main" received signal SIGSEGV, Segmentation fault.
g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x34885fe0,
fundamental_type=fundamental_type@entry=80) at ../glib-2.76.4/gobject/gtype.c:4166
4166 ../glib-2.76.4/gobject/gtype.c: No such file or directory.
(gdb) bt full
#0 g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x34885fe0,
fundamental_type=fundamental_type@entry=80) at ../glib-2.76.4/gobject/gtype.c:4166
node = <optimized out>
#1 0x00007fff8762cc80 in g_object_unref (_object=0x34885fe0)
at ../glib-2.76.4/gobject/gobject.c:3807
_g_boolean_var_135 = <optimized out>
object = 0x34885fe0
old_ref = <optimized out>
__func__ = "g_object_unref"
#2 0x00007fff8762fb27 in g_clear_object (object_ptr=<optimized out>)
at ../glib-2.76.4/gobject/gobject.c:3987
_pp = <optimized out>
_ptr = 0xfeeefeeefeeefeee
#3 0x00007fff8762fb3a in g_value_object_free_value (value=0x34885fd8)
at ../glib-2.76.4/gobject/gobject.c:4399
No locals.
#4 0x00007fff87646ee6 in g_value_unset (value=0x350c1b48) at ../glib-2.76.4/gobject/gvalue.c:313
value_table = <optimized out>
__func__ = "g_value_unset"
_g_boolean_var_30 = <optimized out>
#5 0x00007fff8757e7f1 in gimp_value_array_unref (value_array=0x24165480)
at ../libgimpbase/gimpvaluearray.c:351
value = 0x350c1b48
i = 1
__func__ = "gimp_value_array_unref"
#6 0x00007ff7ac327a8a in gimp_pdb_execute_procedure_by_name (pdb=0x1908cb10, context=0x1909a8d0,
--Type <RET> for more, q to quit, c to continue without paging--c
progress=0x227ac010, error=0x5fdcd8, name=0x22675e10 "file-png-save")
at ../app/pdb/gimppdb.c:512
procedure = 0x226795d0
args = 0x24165480
return_vals = 0x34855410
va_args = 0x5fdb60 "C\tå¼≈\177"
prev_value_type = 6319216
prev_int_value = 1
i = 5
__func__ = "gimp_pdb_execute_procedure_by_name"
#7 0x00007ff7ac5cd59d in file_save (gimp=0x1901ce50, image=0x34885fe0, progress=0x227ac010,
file=0x34ddddf0, file_proc=0x226795d0, run_mode=GIMP_RUN_INTERACTIVE, change_saved_state=0,
export_backward=0, export_forward=1, error=0x5fdcd8) at ../app/file/file-save.c:203
return_vals = 0x1349e3750
orig_file = 0x34ddddf0
status = GIMP_PDB_EXECUTION_ERROR
local_file = 0x0
mounted = 1
my_error = 0x0
drawables_list = 0x24165480
drawables = 0x23dcf730
n_drawables = 1
__func__ = "file_save"
#8 0x00007ff7ac620734 in file_save_dialog_save_image (progress=0x227ac010, gimp=0x1901ce50,
image=0x34885fe0, file=0x34ddddf0, save_proc=0x226795d0, run_mode=GIMP_RUN_INTERACTIVE,
change_saved_state=0, export_backward=0, export_forward=1, xcf_compression=0,
verbose_cancel=0) at ../app/dialogs/file-save-dialog.c:823
status = 882784080
error = 0x3c27740
list = 0x0
success = 0
#9 0x00007ff7ac61ef16 in file_save_dialog_response (dialog=0x0, response_id=-5, gimp=0x1901ce50)
at ../app/dialogs/file-save-dialog.c:218
image = 0x34885fe0
close_after_saving = 0
save_a_copy = 0
progress = 0x227ac010
display_to_close = 0x0
xcf_compression = 0
is_save_dialog = 0
file_dialog = 0x25fe7f90
file = 0x34ddddf0
basename = 0x258c95a0 "Untitled.png"
save_proc = 0x226795d0
#10 0x00007fff87629807 in g_cclosure_marshal_VOID__INT (closure=0x349e3750,
return_value=<optimized out>, n_param_values=<optimized out>, param_values=0x5fe090,
invocation_hint=0x5fdfd0, marshal_data=0x0) at ../glib-2.76.4/gobject/gmarshal.c:540
callback = 0x7ff7ac61e9ef <file_save_dialog_response>
cc = 0x349e3750
data1 = 0x25fe7f90
data2 = 0x1901ce50
__func__ = "g_cclosure_marshal_VOID__INT"
#11 0x00007fff8762790b in g_closure_invoke (closure=0x349e3750,
return_value=return_value@entry=0x0, n_param_values=2,
param_values=param_values@entry=0x5fe090, invocation_hint=invocation_hint@entry=0x5fdfd0)
at ../glib-2.76.4/gobject/gclosure.c:832
marshal = 0x7fff87629791 <g_cclosure_marshal_VOID__INT>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x349e3730
__func__ = "g_closure_invoke"
#12 0x00007fff87637cdd in signal_emit_unlocked_R (node=node@entry=0x23787b40,
detail=detail@entry=0, instance=instance@entry=0x5fe558,
emission_return=emission_return@entry=0x0,
instance_and_params=instance_and_params@entry=0x5fe090)
at ../glib-2.76.4/gobject/gsignal.c:3812
tmp = <optimized out>
handler = 0x241baa80
accumulator = 0x0
emission = {next = 0x5fe3f0, instance = 0x25fe7f90, ihint = {signal_id = 462, detail = 0,
run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)},
state = EMISSION_RUN, chain_type = 4}
class_closure = 0x23787990
hlist = <optimized out>
handler_list = 0x25e44fa0
return_accu = 0x0
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 = 98093
return_value_altered = 1
#13 0x00007fff8763caa0 in g_signal_emit_valist (instance=<optimized out>,
signal_id=<optimized out>, detail=0, var_args=<optimized out>, var_args@entry=0x5fe258 "√ ")
at ../glib-2.76.4/gobject/gsignal.c:3565
instance_and_params = 0x5fe090
signal_return_type = <optimized out>
param_values = 0x5fe0a8
node = 0x23787b40
i = 1
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#14 0x00007fff8763cc1d in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
detail=<optimized out>) at ../glib-2.76.4/gobject/gsignal.c:3622
var_args = 0x5fe258 "√ "
#15 0x00007fff584a2648 in gtk_dialog_response (dialog=0x25fe7f90, response_id=-5)
at ../gtk/gtk/gtkdialog.c:1234
__func__ = "gtk_dialog_response"
#16 0x00007fff584a29bd in action_widget_activated (widget=<optimized out>, dialog=0x25fe7f90)
at ../gtk/gtk/gtkdialog.c:320
response_id = -17891602
#17 0x00007fff8762949e in g_cclosure_marshal_VOID__VOIDv (closure=<optimized out>,
return_value=<optimized out>, instance=<optimized out>,
args=0x1 <error: Cannot access memory at address 0x1>, marshal_data=0x0, n_params=0,
param_types=0x0) at ../glib-2.76.4/gobject/gmarshal.c:165
cc = <optimized out>
data1 = 0x1
data2 = 0x50
callback = 0xfeeefeeefeeefeee
#18 0x00007fff87627ae9 in _g_closure_invoke_va (closure=closure@entry=0x350c2bb0,
return_value=0x0, return_value@entry=0xfffffe7f, instance=instance@entry=0x34bce1f0,
args=0x5fe558 "", n_params=0, param_types=0x0) at ../glib-2.76.4/gobject/gclosure.c:895
marshal = 0x7fff8762947e <g_cclosure_marshal_VOID__VOIDv>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x350c2b90
__func__ = "_g_closure_invoke_va"
#19 0x00007fff8763c515 in g_signal_emit_valist (instance=0x0, signal_id=0, detail=0,
var_args=<optimized out>, var_args@entry=0x5fe558 "") at ../glib-2.76.4/gobject/gsignal.c:3472
return_accu = 0xfffffe7f
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}}}
accumulator = 0x0
emission = {next = 0x5ff330, instance = 0x34bce1f0, ihint = {signal_id = 421, detail = 0,
run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)},
state = EMISSION_RUN, chain_type = 578757216}
instance_type = <optimized out>
emission_return = {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}}}
rtype = 4
static_scope = 0
fastpath_handler = 0x350c2c70
closure = 0x350c2bb0
run_type = <optimized out>
hlist = <optimized out>
l = <optimized out>
fastpath = <optimized out>
instance_and_params = <optimized out>
signal_return_type = <optimized out>
param_values = <optimized out>
node = 0x237290c0
i = <optimized out>
n_params = <optimized out>
__func__ = "g_signal_emit_valist"
#20 0x00007fff8763cc1d in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
detail=<optimized out>) at ../glib-2.76.4/gobject/gsignal.c:3622
var_args = 0x5fe558 ""
#21 0x00007fff58427708 in gtk_button_clicked (button=button@entry=0x34bce1f0)
at ../gtk/gtk/gtkbutton.c:1541
__func__ = "gtk_button_clicked"
#22 0x00007fff58427865 in gtk_button_finish_activate (button=0x34bce1f0, do_it=do_it@entry=1)
at ../gtk/gtk/gtkbutton.c:2042
widget = 0x34bce1f0
priv = 0x34bce070
#23 0x00007fff58427875 in button_activate_timeout (data=<optimized out>)
at ../gtk/gtk/gtkbutton.c:1984
No locals.
Edited by lillolollo