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 204698 - e_tree_selected_(row,node)_foreach segfaults if I remove a selected node in the ETreeForeachFunc
e_tree_selected_(row,node)_foreach segfaults if I remove a selected node in t...
Status: RESOLVED DUPLICATE of bug 216974
Product: GAL
Classification: Deprecated
Component: ETree
unspecified
Other All
: Normal enhancement
: Later
Assigned To: Mike Kestner
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2001-07-16 16:42 UTC by Kevin Vandersloot
Modified: 2002-09-03 19:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Kevin Vandersloot 2001-07-16 16:42:36 UTC
I get a segfault when I remove a selected node in my ETreeForeachFunc ie.

e_tree_selected_path_foreach (E_TREE (tree), remove_item, NULL);

static void remove_item (ETreePath node, gpointer data)
{
  e_tree_memory_node_remove (memory, node);
}


here is the backtrace:

0x406ed519 in __wait4 () from /lib/i686/libc.so.6
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 <signal handler called>
  • #4 etmm_get_next
    at e-tree-memory.c line 231
  • #5 e_tree_model_node_get_next
    at e-tree-model.c line 391
  • #6 etsm_foreach_recurse
    at e-tree-selection-model.c line 1111
  • #7 e_tree_selection_model_foreach
    at e-tree-selection-model.c line 1125
  • #8 e_tree_selected_path_foreach
    at e-tree.c line 1196
  • #9 remove_button_clicked
    at favorites.c line 358
  • #10 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 312
  • #11 gtk_handlers_run
    at gtksignal.c line 1917
  • #12 gtk_signal_real_emit
    at gtksignal.c line 1477
  • #13 gtk_signal_emit
    at gtksignal.c line 552
  • #14 gtk_button_clicked
    at gtkbutton.c line 336
  • #15 gtk_real_button_released
    at gtkbutton.c line 861
  • #16 gtk_marshal_NONE__NONE
    at gtkmarshal.c line 312
  • #17 gtk_signal_real_emit
    at gtksignal.c line 1440
  • #18 gtk_signal_emit
    at gtksignal.c line 552
  • #19 gtk_button_released
    at gtkbutton.c line 327
  • #20 gtk_button_button_release
    at gtkbutton.c line 721
  • #21 gtk_marshal_BOOL__POINTER
    at gtkmarshal.c line 28
  • #22 gtk_signal_real_emit
    at gtksignal.c line 1492
  • #23 gtk_signal_emit
    at gtksignal.c line 552
  • #24 gtk_widget_event
    at gtkwidget.c line 2864
  • #25 gtk_propagate_event
    at gtkmain.c line 1378
  • #26 gtk_main_do_event
    at gtkmain.c line 818
  • #27 gdk_event_dispatch
    at gdkevents.c line 2139
  • #28 g_main_dispatch
    at gmain.c line 656
  • #29 g_main_iterate
    at gmain.c line 877
  • #30 g_main_run
    at gmain.c line 935
  • #31 gtk_main
    at gtkmain.c line 524
  • #32 main
    at procman.c line 148
  • #33 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 gnome_segv_handle
    at gnome-init.c line 659
  • #3 <signal handler called>
  • #4 etmm_get_next
    at e-tree-memory.c line 231
  • #5 e_tree_model_node_get_next
    at e-tree-model.c line 391
  • #6 etsm_foreach_recurse
    at e-tree-selection-model.c line 1111
  • #7 e_tree_selection_model_foreach
    at e-tree-selection-model.c line 1125

Comment 1 Chris Lahey 2001-08-03 23:26:56 UTC
This isn't a supported operation on ETable.  I'm going to mark this as
wishlist and later since I don't have time to fix this before
evolution 1.0.
Comment 2 Gerardo Marin 2002-09-03 19:47:30 UTC

*** This bug has been marked as a duplicate of 216974 ***