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 363549 - Crash in sv_update() after deleting sheets
Crash in sv_update() after deleting sheets
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-10-20 01:03 UTC by sum1
Modified: 2006-10-21 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2006-10-20 01:03:38 UTC
Steps to reproduce:
- Edit > Sheet > Manage Sheets
- Delete Sheet1
- Delete Sheet2
- Delete Sheet3
- Press Add
- Delete Sheet4
- Press Add
- Press OK
- Place the caret where it says "A1" and press enter

Backtrace:
Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 27608)

  • #0 sv_update
    at sheet-view.c line 577
  • #1 wb_control_parse_and_jump
    at workbook-control.c line 263
  • #2 cb_statusbox_activate
    at workbook-control-gui.c line 1413
  • #3 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #4 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #5 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #6 g_signal_emitv
    from /lib/libgobject-2.0.so.0
  • #7 gtk_bin_get_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 gtk_bin_get_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 gtk_bin_get_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 gtk_bindings_activate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 gtk_widget_freeze_child_notify
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 gtk_entry_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 g_value_set_static_boxed
    from /lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #16 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #19 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_window_propagate_key_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 g_value_set_static_boxed
    from /lib/libgobject-2.0.so.0
  • #24 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #25 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /lib/libgobject-2.0.so.0

Comment 1 Morten Welinder 2006-10-20 01:22:49 UTC
Confirmed.
Comment 2 Morten Welinder 2006-10-20 01:38:44 UTC
The key here seems to be to set up deletion of all sheets
and then (== below the three deletions) add a new.
Comment 3 André Klapper 2006-10-20 09:00:48 UTC
hej morten,
isn't this a duplicate of bug 349686 (compare the stacktraces) which has been supposed to be fixed by andreas?
Comment 4 Morten Welinder 2006-10-20 13:46:55 UTC
No, that is unrelated.

Someone Gnumeric gets the idea what there is no current sheet.
Comment 5 Andreas J. Guelzow 2006-10-20 13:51:19 UTC
Same symptom but a different reason why we are getting to sv_update (sv=0x0).
Comment 6 Jon Kåre Hellan 2006-10-20 20:11:48 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 7 Morten Welinder 2006-10-20 22:18:43 UTC
The dialog is not the place to fix this.  The bug is still there after
undo+redo.
Comment 8 Jon Kåre Hellan 2006-10-20 22:43:45 UTC
Sorry about that. Well, I added some preconditions so it doesn't segfault. I won't be doing any more tonight.
Comment 9 Morten Welinder 2006-10-21 01:07:59 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.

We were in a pretty sorry state, actually.  After the undo, Sheet4 was still
the focus sheet, for example.  Not a good idea!