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 690029 - [abrt] Crash on edit of an empty HTML signature
[abrt] Crash on edit of an empty HTML signature
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
4.6.x
Other Linux
: Normal critical
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-11 07:29 UTC by Milan Crha
Modified: 2013-01-11 12:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkhtml patch (806 bytes, patch)
2013-01-11 12:45 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2012-12-11 07:29:43 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=883765

Evolution crashed when user tries to edit an empty HTML signature.
Steps to reproduce:
a) Edit->Preferences->Composer Preferences->Signatures
b) Add signature
   - name it "empty html"
   - change type to HTML
   - do not change anything else
   - save signature
c) double-click the "empty html" signature or click Edit button

Evolution crashes with this backtrace:

Thread 1 (Thread 0x7fa4a5faba00 (LWP 9287))

  • #0 ??
  • #1 html_object_prev_not_type
    at htmlobject.c line 1522
  • #2 html_object_prev_not_slave
    at htmlobject.c line 1538
  • #3 html_cursor_get_prev_char
    at htmlcursor.c line 844
  • #4 html_engine_spell_check_range
    at htmlengine-edit.c line 235
  • #5 insert_object_do
    at htmlengine-edit-cut-and-paste.c line 1001
  • #6 insert_object_for_undo
    at htmlengine-edit-cut-and-paste.c line 1215
  • #7 insert_object
    at htmlengine-edit-cut-and-paste.c line 1233
  • #8 html_engine_insert_object
    at htmlengine-edit-cut-and-paste.c line 1242
  • #9 gtk_html_insert_html_generic
    at gtkhtml.c line 6343
  • #10 gtk_html_insert_html
    at gtkhtml.c line 6357
  • #11 gtkhtml_editor_insert_html
    at gtkhtml-editor.c line 1597
  • #12 mail_signature_editor_loaded_cb
    at e-mail-signature-editor.c line 154
  • #13 g_simple_async_result_complete
    at gsimpleasyncresult.c line 775
  • #14 complete_in_idle_cb_for_thread
    at gsimpleasyncresult.c line 843
  • #15 g_main_dispatch
    at gmain.c line 2715
  • #16 g_main_context_dispatch
    at gmain.c line 3219
  • #17 g_main_context_iterate
    at gmain.c line 3290
  • #18 g_main_loop_run
    at gmain.c line 3484
  • #19 gtk_main
    at gtkmain.c line 1160
  • #20 main
    at main.c line 711

Comment 1 Milan Crha 2013-01-11 12:45:44 UTC
Created attachment 233223 [details] [review]
gtkhtml patch

for gtkhtml;

Just a workaround, to not insert HTML code which leads to empty text.
Comment 2 Milan Crha 2013-01-11 12:51:28 UTC
Created commit 287970c in gtkhtml master (4.7.1+)
Created commit 86663d8 in gtkhtml gnome-3-6 (4.6.2+)