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 328270 - Evolution crashes when deleting table cells copied from some special html file
Evolution crashes when deleting table cells copied from some special html file
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.9.x
Other All
: Normal critical
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-01-23 08:57 UTC by Irene Huang
Modified: 2006-02-06 10:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The html file to reproduce the bug (5.24 KB, text/html)
2006-01-23 09:01 UTC, Irene Huang
  Details
Patch (1.11 KB, patch)
2006-01-23 12:05 UTC, Irene Huang
accepted-commit_now Details | Review

Description Irene Huang 2006-01-23 08:57:50 UTC
steps to reproduce: 
1. Open the attached html file
2. select all the text above the horizontal bar (separator)
3. Run evolution, compose a new message
4. paste the contents copied from the html file
5. move the cursor after "search the catelog"
6. press "delete"

Expected:
the text/table cell after the cursor should be deleted gracefully 

Actual result: 
Evolution crashes unexpectedly
Comment 1 Irene Huang 2006-01-23 09:00:51 UTC
Stack Trace:
  • #0 op_helper
    at htmlclue.c line 151
  • #1 op_cut
    at htmlclue.c line 187
  • #2 html_object_op_cut
    at htmlobject.c line 894
  • #3 op_helper
    at htmlclue.c line 156
  • #4 op_cut
    at htmlclue.c line 187
  • #5 op_helper
    at htmlclueflow.c line 274
  • #6 op_cut
    at htmlclueflow.c line 299
  • #7 html_object_op_cut
    at htmlobject.c line 894
  • #8 op_helper
    at htmlclue.c line 156
  • #9 op_cut
    at htmlclue.c line 187
  • #10 html_object_op_cut
    at htmlobject.c line 894
  • #11 delete_object_do
    at htmlengine-edit-cut-and-paste.c line 567
  • #12 delete_object
    at htmlengine-edit-cut-and-paste.c line 753
  • #13 delete_upto
    at htmlengine-edit-cut-and-paste.c line 1728
  • #14 html_engine_delete
    at htmlengine-edit-cut-and-paste.c line 1817
  • #15 html_engine_delete_n
    at htmlengine-edit-cut-and-paste.c line 1459
  • #16 delete_one
    at gtkhtml.c line 4599
  • #17 command
    at gtkhtml.c line 4758
  • #18 html_g_cclosure_marshal_BOOLEAN__ENUM
    at htmlmarshal.c line 122
  • #19 g_type_class_meta_marshal
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #20 g_closure_invoke
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #21 signal_emit_unlocked_R
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #22 g_signal_emitv
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #23 gtk_binding_entry_activate
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #24 binding_match_activate
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #25 gtk_bindings_activate_list
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #26 gtk_bindings_activate_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #27 gtk_widget_real_key_press_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #28 key_press_event
    at gtkhtml.c line 919
  • #29 _gtk_marshal_BOOLEAN__BOXED
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #30 g_type_class_meta_marshal
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #32 signal_emit_unlocked_R
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #35 gtk_widget_event_internal
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #36 gtk_window_propagate_key_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #37 gtk_window_key_press_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #38 bonobo_window_key_press_event
    from /home/evotrunk/garnome/lib/libbonoboui-2.so.0
  • #39 _gtk_marshal_BOOLEAN__BOXED
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #40 g_type_class_meta_marshal
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #41 g_closure_invoke
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #42 signal_emit_unlocked_R
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #43 g_signal_emit_valist
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #44 g_signal_emit
    from /home/evotrunk/garnome/lib/libgobject-2.0.so.0
  • #45 gtk_widget_event_internal
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #46 gtk_propagate_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #47 gtk_main_do_event
    from /home/evotrunk/garnome/lib/libgtk-x11-2.0.so.0
  • #48 gdk_event_dispatch
    from /home/evotrunk/garnome/lib/libgdk-x11-2.0.so.0
  • #49 g_main_context_dispatch
    from /home/evotrunk/garnome/lib/libglib-2.0.so.0
  • #50 g_main_context_iterate
    from /home/evotrunk/garnome/lib/libglib-2.0.so.0
  • #51 g_main_loop_run
    from /home/evotrunk/garnome/lib/libglib-2.0.so.0
  • #52 bonobo_main
    from /home/evotrunk/garnome/lib/libbonobo-2.so.0
  • #53 main
    at main.c line 606

Comment 2 Irene Huang 2006-01-23 09:01:38 UTC
Created attachment 57915 [details]
The html file to reproduce the bug
Comment 3 Irene Huang 2006-01-23 12:05:39 UTC
Created attachment 57926 [details] [review]
Patch
Comment 4 Harry Lu 2006-02-06 09:54:26 UTC
Patch committed into CVS HEAD.