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 364082 - Crash when deleting same sheet twice with two views
Crash when deleting same sheet twice with two views
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-22 04:35 UTC by sum1
Modified: 2006-10-22 21:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2006-10-22 04:35:21 UTC
Steps to reproduce:
- View > New View
- Press OK
- In the first view, Edit > Sheet > Manage Sheets
- In the second view, Edit > Sheet > Manage Sheets
- Delete Sheet1 from the manage sheets dialog in the first view
- Press OK
- Delete Sheet1 from the manage sheets dialog in the second view
- Press OK

Backtrace:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 2523)

  • #0 workbook_sheet_index_update
    at workbook.c line 681
  • #1 workbook_sheet_delete
    at workbook.c line 898
  • #2 cb_ok_clicked
    at dialog-sheet-order.c line 729
  • #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_emit_valist
    from /lib/libgobject-2.0.so.0
  • #7 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #8 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #9 gtk_button_set_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #10 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #11 g_value_set_static_boxed
    from /lib/libgobject-2.0.so.0
  • #12 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #13 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #14 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #15 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #16 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 g_value_set_static_boxed
    from /lib/libgobject-2.0.so.0
  • #20 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #21 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #23 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #24 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 gdk_add_client_message_filter
    from /usr/lib/libgdk-x11-2.0.so.0
  • #28 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #29 g_main_context_check
    from /lib/libglib-2.0.so.0

Comment 1 Morten Welinder 2006-10-22 18:13:10 UTC
Hmm...  You're were not supposed to be able to open more than one of those.
Comment 2 Jon Kåre Hellan 2006-10-22 20:57:57 UTC
Well, there is code in there to listen to sheet reordering. If we also listened for creation/deletion, we could let users open more than one. But it isn't worth it right now.
Comment 3 Jon Kåre Hellan 2006-10-22 21:21:29 UTC
I suspect there are more like this one. Keep looking.

Fixed in CVS. The fix will go into the next patch release. Thank you for your bug report.