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 606167 - Crash on composer Link editing
Crash on composer Link editing
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: BugBuddyBugs
2.28.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: Evolution Triage Team
Evolution QA team
: 606639 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-01-05 23:02 UTC by chriskuta
Modified: 2010-02-16 18:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
gtkhtml patch (4.17 KB, patch)
2010-01-14 13:12 UTC, Milan Crha
committed Details | Review

Description chriskuta 2010-01-05 23:02:34 UTC
What were you doing when the application crashed?



Distribution: Fedora release 11 (Leonidas)
Gnome Release: 2.26.3 2009-07-07 (Red Hat, Inc)
BugBuddy Version: 2.26.0

System: Linux 2.6.29.6-213.fc11.i586 #1 SMP Tue Jul 7 20:45:17 EDT 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10603901
Selinux: No
Accessibility: Disabled
GTK+ Theme: Mac4Lin_GTK_v1.0_RC
Icon Theme: Mac4Lin_Icons_v1.0_RC
GTK+ Modules: canberra-gtk-module, pk-gtk-module, gnomebreakpad

Memory status: size: 206999552 vsize: 206999552 resident: 68005888 share: 24985600 rss: 68005888 rss_rlim: 18446744073709551615
CPU usage: start_time: 1262728889 rtime: 3789 utime: 3351 stime: 438 cutime:10 cstime: 19 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/evolution'

[Thread debugging using libthread_db enabled]
[New Thread 0xb23d4b70 (LWP 20272)]
[New Thread 0xb4f40b70 (LWP 19924)]
[New Thread 0xb4dffb70 (LWP 18447)]
[New Thread 0xb59ffb70 (LWP 18446)]
[New Thread 0xb65feb70 (LWP 18444)]
[New Thread 0xb7c6ab70 (LWP 18443)]
0x006bb422 in __kernel_vsyscall ()

Thread 1 (Thread 0xb7f6d770 (LWP 18438))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 g_spawn_sync
    from /lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 ??
  • #7 <signal handler called>
  • #8 ??
  • #9 html_object_prev
    from /usr/lib/libgtkhtml-3.14.so.19
  • #10 html_object_prev_not_type
    from /usr/lib/libgtkhtml-3.14.so.19
  • #11 html_object_prev_not_slave
    from /usr/lib/libgtkhtml-3.14.so.19
  • #12 html_cursor_get_prev_char
    from /usr/lib/libgtkhtml-3.14.so.19
  • #13 html_engine_spell_check_range
    from /usr/lib/libgtkhtml-3.14.so.19
  • #14 ??
    from /usr/lib/libgtkhtml-3.14.so.19
  • #15 ??
    from /usr/lib/libgtkhtml-3.14.so.19
  • #16 ??
    from /usr/lib/libgtkhtml-3.14.so.19
  • #17 ??
    from /usr/lib/libgtkhtml-3.14.so.19
  • #18 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #21 ??
    from /lib/libgobject-2.0.so.0
  • #22 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #23 g_signal_emit_by_name
    from /lib/libgobject-2.0.so.0
  • #24 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #25 gtk_selection_convert
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_html_paste
    from /usr/lib/libgtkhtml-3.14.so.19
  • #27 ??
    from /usr/lib/libgtkhtml-3.14.so.19
  • #28 gtk_html_command
    from /usr/lib/libgtkhtml-3.14.so.19
  • #29 ??
    from /usr/lib/libgtkhtml-editor.so.0
  • #30 ??
    from /usr/lib/evolution/2.26/components/libevolution-mail.so
  • #31 ??
    from /usr/lib/libgtkhtml-editor.so.0
  • #32 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #33 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #34 ??
    from /lib/libgobject-2.0.so.0
  • #35 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #36 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #37 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #40 ??
    from /lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #43 gtk_accel_group_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gtk_accel_groups_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 gtk_window_activate_key
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 ??
    from /usr/lib/evolution/2.26/components/libevolution-mail.so
  • #48 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #49 ??
    from /lib/libgobject-2.0.so.0
  • #50 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #51 ??
    from /lib/libgobject-2.0.so.0
  • #52 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #53 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #54 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #56 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #57 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #58 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #59 ??
    from /lib/libglib-2.0.so.0
  • #60 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #61 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #62 main
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** e-data-server-ui **: e_source_combo_box_set_active_uid: assertion `gtk_tree_row_reference_valid (reference)' failed 


----------- .xsession-errors ---------------------
warning: .dynamic section for "/usr/lib/libvorbisfile.so.3" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libtdb.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libgstreamer-0.10.so.0" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libbeagle.so.1" is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
--------------------------------------------------
Comment 1 Akhil Laddha 2010-01-06 03:45:31 UTC
Thanks for taking the time to report this bug.
Unfortunately, the stack trace is missing some elements that will help a lot to
solve the problem, so it will be hard for the developers to fix that crash.

Could you please help fixing this by installing some debugging packages [1],
start the application as normal, and try to reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the 'Details', now
containing way more information. Please copy that stacktrace and paste it as a
comment here. Thanks in advance!

[1] Please install debug packages for evolution, evolution-data-server,
gtkhtml, gtk, glib, gnome-vfs, pango, libgnome and libgnomeui (as far as those
packages are provided by your distribution).

More details can be found here: http://live.gnome.org/GettingTraces
Comment 2 Milan Crha 2010-01-12 19:06:20 UTC
Downstream bug report from 2.28.2
https://bugzilla.redhat.com/show_bug.cgi?id=550585
but also without debug information. Though the reported is giving steps to reproduce: I was writing an email. evolution crashed when a selected a url in the
email, and clicked on the (make link button).
Comment 3 Milan Crha 2010-01-14 11:34:38 UTC
I can reproduce this by composing an HTML message, add there two lines, like:
> aaa
> bbb
and selecting them both ("aaa\nbbb") and clicking "Link" button. Both 2.28 and 2.29 evolutions are crashing for me. The trace is slightly different, though. For 2.28:

  • #5 <signal handler called>
  • #6 html_text_get_text
    at htmltext.c line 3115
  • #7 html_text_get_index
    at htmltext.c line 3123
  • #8 html_text_offsets_to_indexes
    at htmltext.c line 3298
  • #9 html_text_add_link
    at htmltext.c line 3363
  • #10 html_engine_paste_link
    at htmlengine-edit-cut-and-paste.c line 1493
  • #11 gtkhtml_editor_link_properties_description_changed_cb
    at gtkhtml-editor-signals.c line 1061
  • #12 g_closure_invoke
  • #13 ??
  • #14 g_signal_emit_valist
  • #15 g_signal_emit_by_name
  • #16 ??
  • #17 gtk_entry_set_text
  • #18 gtkhtml_editor_link_properties_show_window_cb
    at gtkhtml-editor-signals.c line 1198
  • #19 g_closure_invoke
  • #20 ??
  • #21 g_signal_emit_valist
  • #22 g_signal_emit
  • #23 gtk_widget_show
  • #24 action_insert_link_cb
    at gtkhtml-editor-actions.c line 649
  • #25 g_closure_invoke
  • #26 ??
  • #27 g_signal_emit_valist
  • #28 g_signal_emit
  • #29 ??
  • #30 ??
  • #31 g_closure_invoke
  • #32 ??
  • #33 g_signal_emit_valist
  • #34 g_signal_emit
  • #35 ??
  • #36 g_closure_invoke
  • #37 ??
  • #38 g_signal_emit_valist
  • #39 g_signal_emit
  • #40 ??
  • #41 ??
  • #42 g_closure_invoke
  • #43 ??
  • #44 g_signal_emit_valist
  • #45 g_signal_emit
  • #46 ??
  • #47 gtk_propagate_event
  • #48 gtk_main_do_event
  • #49 ??
  • #50 g_main_context_dispatch
  • #51 ??
  • #52 g_main_loop_run
  • #53 bonobo_main
  • #54 main
    at main.c line 732

Comment 4 Milan Crha 2010-01-14 13:12:23 UTC
Created attachment 151395 [details] [review]
gtkhtml patch

for gtkhtml;

There were also couple other issues with the link editor, like incorrectly updated offset for some cases, which this patch is fixing as well. The part of a multiline in a selection, I changed it in a way of replacing \r \n to spaces. it changes text, but is pretty nice visible and it doesn't crash.
Comment 5 Milan Crha 2010-01-14 13:18:08 UTC
Created commit c4e1fd0 in gtkhtml master (3.29.6+)
Created commit ee13df3 in gtkhtml gnome-2-28 (3.28.3+)
Comment 6 Milan Crha 2010-02-16 18:50:53 UTC
*** Bug 606639 has been marked as a duplicate of this bug. ***