After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 349288 - Pasting array formulas transposed
Pasting array formulas transposed
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Main System
git master
Other All
: Normal critical
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-07-30 11:33 UTC by sum1
Modified: 2006-10-09 13:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description sum1 2006-07-30 11:33:46 UTC
Gnumeric CVS-HEAD, FC5. Not reproducible with 1.6.3.

Steps to reproduce:
- Select A1-C3 (nine cells)
- Insert > Function
- Select a function (e.g. 'bitand') and press Insert
- Select 'Enter as array function' and press OK
- With the nine cells still selected, Ctrl + c
- Select A5
- Edit > Paste Special
- Select 'Transpose' and press OK

Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 11121)

  • #0 gnm_expr_eval
    at expr.c line 1344
  • #1 gnm_expr_top_eval
    at expr.c line 2719
  • #2 cell_eval_content
    at dependent.c line 1399
  • #3 dependent_eval
    at dependent.c line 1490
  • #4 workbook_recalc
    at dependent.c line 2523
  • #5 update_after_action
    at commands.c line 390
  • #6 command_push_undo
    at commands.c line 775
  • #7 cmd_paste
    at cmd-edit.c line 344
  • #8 cmd_paste_to_selection
    at cmd-edit.c line 373
  • #9 cb_paste_special_response
    at dialog-paste-special.c line 172
  • #10 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #15 gtk_dialog_response
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_dialog_response
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_button_set_alignment
    from /usr/lib/libgtk-x11-2.0.so.0

Comment 1 Morten Welinder 2006-07-31 17:16:20 UTC
For the record, I do not see the crash.  Something is, however, quite wrong
as moving the cursor produces:

** (gnumeric:2722): CRITICAL **: array_elem_get_corner: assertion `corner != NULL' failed
** (gnumeric:2722): CRITICAL **: wb_view_edit_line_set: assertion `corner != NULL'
failed
Comment 2 Jon Kåre Hellan 2006-10-09 11:10:58 UTC
Crash here in CVS version
Comment 3 Morten Welinder 2006-10-09 13:46:25 UTC
Two bugs, it seems.

1. Pasting array formulas transposed does not work.  Gnumeric fails to
   transpose the shape.  It's down-hill from there.

2. Pasting array formulas can lead to a shared corner expression.
Comment 4 Morten Welinder 2006-10-09 13:49:32 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.