Crash on Copy in conditional formatting
In a new Gnumeric window create a conditional formatting on A3:A4 (e.g. red background when the cell contains an error). Close the conditional formatting window. Select A3:A4 and reopent the conditional formatting window. The first row on the left side should be selected. Click "Copy". Boom:
** (/home/aguelzow/gnumeric/bin/gnumeric:7433): CRITICAL **: gnm_style_get_cond_style: assertion 'style->cond_styles != NULL' failed
Thread 1 "gnumeric" received signal SIGSEGV, Segmentation fault.
gnm_style_dup (src=0x0) at mstyle.c:770
770 if (elem_is_set (src, i)) {
(gdb) bt
#0 0x00007ffff77b7338 in gnm_style_dup (src=0x0) at mstyle.c:770
#1 0x00007ffff786d4d0 in cb_c_fmt_dialog_copy_button (btn=<optimized out>, state=0x16a1000) at dialogs/dialog-cell-format-cond.c:503
#2 0x00007ffff64b51d4 in _g_closure_invoke_va (closure=closure@entry=0x11b2e10, return_value=return_value@entry=0x0, instance=instance@entry=0xec6d30, args=args@entry=0x7fffffffc2e0, n_params=<optimized out>, param_types=0x0)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gclosure.c:867
#3 0x00007ffff64cf9a6 in g_signal_emit_valist (instance=0xec6d30, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffc2e0)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:3294
#4 0x00007ffff64d008f in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:3441
#5 0x00007ffff6af36ad in gtk_button_do_release (button=0xec6d30 [GtkButton], emit_clicked=<optimized out>)
at /build/gtk+3.0-2Ut_nl/gtk+3.0-3.18.9/./gtk/gtkbutton.c:1899
#6 0x00007ffff6af3715 in gtk_real_button_released (button=0xec6d30 [GtkButton]) at /build/gtk+3.0-2Ut_nl/gtk+3.0-3.18.9/./gtk/gtkbutton.c:2017
#7 0x00007ffff64b51d4 in _g_closure_invoke_va (closure=closure@entry=0x805190, return_value=return_value@entry=0x0, instance=instance@entry=0xec6d30, args=args@entry=0x7fffffffc630, n_params=<optimized out>, param_types=0x0)
at /build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gclosure.c:867
Edited by Andreas J. Guelzow