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 407968 - evolution crashed with SIGSEGV in html_object_get_left_margin()
evolution crashed with SIGSEGV in html_object_get_left_margin()
Status: RESOLVED DUPLICATE of bug 426496
Product: GtkHtml
Classification: Other
Component: Rendering
3.15.x
Other Linux
: High critical
: ---
Assigned To: gtkhtml-maintainers
Evolution QA team
: 416630 421901 425618 433933 434435 439518 439896 448157 448158 452784 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-14 18:53 UTC by Sebastien Bacher
Modified: 2007-11-05 11:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-02-14 18:53:20 UTC
That bug has been opened on https://launchpad.net/bugs/85159

"Binary package hint: evolution

It just started to crash after recent update. Still working on it.
...
Package: evolution 2.9.91-0ubuntu1
..."

Debug backtrace for the crash:


  • #0 ??
  • #0 ??
  • #1 html_object_get_left_margin
    at htmlobject.c line 1090
  • #2 get_lmargin
    at htmlcluev.c line 98
  • #3 html_cluev_do_layout
    at htmlcluev.c line 155
  • #4 html_object_calc_size
    at htmlobject.c line 1069
  • #5 html_engine_calc_size
    at htmlengine.c line 4967
  • #6 thaw_idle
    at htmlengine.c line 5554
  • #7 g_idle_dispatch
    at gmain.c line 3928
  • #8 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #9 g_main_context_iterate
    at gmain.c line 2677


from gdb on the frame 1:

(gdb) p *self
$1 = {klass = 0x86cffd8, parent = 0x0, prev = 0x0, next = 0x19, change = HTML_CHANGE_MIN_WIDTH, x = -1219864832, 
  y = 141870128, ascent = 0, descent = -1219724656, min_width = 17, width = 1, pref_width = 139567824, 
  max_width = 7299693, percent = 41, flags = 97 'a', redraw_pending = 0, selected = 0, free_pending = 1, 
  draw_focused = 0, object_data = 0x656d6863, object_data_nocp = 0x302e746e, 
  id = 0x33323878 <Address 0x33323878 out of bounds>}


I've asked if the submitter can get a valgrind log
Comment 1 Daniel Gryniewicz 2007-03-01 15:28:06 UTC
I've just now seen this too.  I was just viewing the next email.  I have evo 2.9.92 and gtkhtml 2.13.92.  Backtrace:

  • #0 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #1 *__GI_abort
    at abort.c line 88
  • #2 mono_handle_native_sigsegv
    at mini-exceptions.c line 1102
  • #3 sigsegv_signal_handler
    at mini.c line 11108
  • #4 <signal handler called>
  • #5 html_object_get_left_margin
    at htmlobject.c line 1090
  • #6 get_lmargin
    at htmlcluev.c line 98
  • #7 html_cluev_do_layout
    at htmlcluev.c line 155
  • #8 html_object_calc_size
    at htmlobject.c line 1069
  • #9 html_engine_calc_size
    at htmlengine.c line 4967
  • #10 thaw_idle
    at htmlengine.c line 5554
  • #11 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #12 g_main_context_iterate
    at gmain.c line 2677
  • #13 IA__g_main_loop_run
    at gmain.c line 2881
  • #14 bonobo_main
    at bonobo-main.c line 311
  • #15 main
    at main.c line 611


Note:

(gdb) p *self
$2 = {klass = 0x6, parent = 0x31, prev = 0x3ea0010, next = 0x3ea0010, change = 65667088, x = 0, y = 51, ascent = 0, descent = 65665072, min_width = 0, width = 71377456, pref_width = 0, 
  max_width = 71377456, percent = 0, flags = 52 '4', redraw_pending = 0, selected = 0, free_pending = 0, draw_focused = 0, object_data = 0xa4d6d0, object_data_nocp = 0xa4d6d0, id = 0xa4d6d0 "f�\001"}


self->klass is corrupted, so the dereference to get the function pointer from it fails.  I have a core file I can look at if that's helpful.
Comment 2 André Klapper 2007-04-12 19:22:52 UTC
*** Bug 416630 has been marked as a duplicate of this bug. ***
Comment 3 André Klapper 2007-04-12 19:22:57 UTC
*** Bug 421901 has been marked as a duplicate of this bug. ***
Comment 4 André Klapper 2007-04-12 19:23:01 UTC
*** Bug 425618 has been marked as a duplicate of this bug. ***
Comment 5 Pascal Terjan 2007-04-27 21:42:23 UTC
*** Bug 433933 has been marked as a duplicate of this bug. ***
Comment 6 palfrey 2007-04-29 22:11:50 UTC
*** Bug 434435 has been marked as a duplicate of this bug. ***
Comment 7 Susana 2007-05-19 17:45:44 UTC
*** Bug 439518 has been marked as a duplicate of this bug. ***
Comment 8 Susana 2007-05-20 11:09:46 UTC
*** Bug 439896 has been marked as a duplicate of this bug. ***
Comment 9 André Klapper 2007-06-16 13:14:42 UTC
*** Bug 448157 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2007-06-16 13:14:48 UTC
*** Bug 448158 has been marked as a duplicate of this bug. ***
Comment 11 Karsten Bräckelmann 2007-07-01 18:10:21 UTC
*** Bug 452784 has been marked as a duplicate of this bug. ***
Comment 12 André Klapper 2007-07-10 18:14:51 UTC
still in 3.15.5
Comment 13 Mart Raudsepp 2007-07-10 21:08:03 UTC
Here's a me too.
gtkhtml version 3.14.1
e-d-s version 1.10.1
evo version 2.10.1

I was just deleting junk by hitting del key repeatedly and quickly, so lots of (mostly HTML) mail went through the gtkhtml control at high speed

Distribution: Gentoo Base System release 2.0.0_alpha3
Gnome Release: 2.18.2 2007-06-27 (Gentoo)
BugBuddy Version: 2.18.1

System: Linux 2.6.22-gentoo #1 PREEMPT Mon Jul 9 22:37:39 EEST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Enabled
GTK+ Theme: Clearlooks
Icon Theme: gnome

Memory status: size: 291512320 vsize: 291512320 resident: 203657216 share: 49901568 rss: 203657216 rss_rlim: 4294967295
CPU usage: start_time: 1184095212 rtime: 56653 utime: 50047 stime: 6606 cutime:164 cstime: 147 timeout: 0 it_real_value: 0 frequency: 100

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

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1234389280 (LWP 9079)]
[New Thread -1309598832 (LWP 9095)]
[New Thread -1309332592 (LWP 9093)]
[New Thread -1300939888 (LWP 9091)]
[New Thread -1270678640 (LWP 9090)]
[New Thread -1279071344 (LWP 9088)]
[New Thread -1253500016 (LWP 9084)]
0xb7ef1410 in __kernel_vsyscall ()

Thread 1 (Thread -1234389280 (LWP 9079))

  • #0 __kernel_vsyscall
  • #1 ??
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 <signal handler called>
  • #4 html_object_get_left_margin
    at htmlobject.c line 1090
  • #5 get_lmargin
    at htmlcluev.c line 98
  • #6 html_cluev_do_layout
    at htmlcluev.c line 155
  • #7 html_object_calc_size
    at htmlobject.c line 1069
  • #8 html_engine_calc_size
    at htmlengine.c line 4967
  • #9 thaw_idle
    at htmlengine.c line 5554
  • #10 g_idle_dispatch
    at gmain.c line 3928
  • #11 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #12 g_main_context_iterate
    at gmain.c line 2677
  • #13 IA__g_main_loop_run
    at gmain.c line 2881
  • #14 bonobo_main
    at bonobo-main.c line 311
  • #15 main
    at main.c line 611
  • #0 __kernel_vsyscall


----------- .xsession-errors ---------------------
alarm-queue.c:233 (add_client_alarms_cb) - Adding (nil)
alarm-queue.c:560 (load_alarms_for_today) - From Wed Jul 11 00:00:00 2007
 to Wed Jul 11 00:00:00 2007
alarm-queue.c:497 (load_alevolution-alarm-notify-Message: alarm.c:235: Requested removal of nonexistent alarm!
(evolution-2.10:9079): e-data-server-WARNING **: Could not open converter for 'unicode-1-1-utf-7' to 'UTF-8' charset
(evolution-2.10:9079): e-data-server-WARNING **: Could not open converter for '%CHARSET' to 'UTF-8' charset
GTK Accessibility Module initialized
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Cannot access memory at address 0x0
Cannot access memory at address 0x0
--------------------------------------------------
Comment 14 Tobias Mueller 2007-08-11 00:17:12 UTC
Could this be a dup of bug 426496 which is fixed?
Comment 15 Mart Raudsepp 2007-09-08 00:08:19 UTC
(In reply to comment #14)
> Could this be a dup of bug 426496 which is fixed?

My case of the stacktrace seems to be :)
After applying the patch from bug 426496 in gentoo (also in official testing version), I've been unable to reproduce the crash to date with my method (browsing through HTML junk mail).

Assuming the original reporters stacktrace is identical with less detailed, then I'd say a dup.
Comment 16 André Klapper 2007-11-05 11:52:30 UTC
duplicate.

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