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 626922 - Crash in html_text_prepare_attrs at htmltext.c line 1203
Crash in html_text_prepare_attrs at htmltext.c line 1203
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Editing
3.30.x
Other All
: Normal critical
: ---
Assigned To: gtkhtml-maintainers
gtkhtml-maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-14 10:42 UTC by Stanislav Brabec
Modified: 2011-10-21 11:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
gtkhtml patch (946 bytes, patch)
2011-10-21 11:52 UTC, Milan Crha
committed Details | Review

Description Stanislav Brabec 2010-08-14 10:42:08 UTC
What were you doing when the application crashed?
Editing signature in mail (pressed Ctrl+Z)


Distribution: openSUSE 11.3 (x86_64)
Gnome Release: 2.30.0 (null) (SUSE)
BugBuddy Version: 2.30.0

System: Linux 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10800000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Bumblebee-2.0mix
Icon Theme: Tango
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 994590720 vsize: 994590720 resident: 257646592 share: 39526400 rss: 257646592 rss_rlim: 18446744073709551615
CPU usage: start_time: 1281774675 rtime: 8520 utime: 8108 stime: 412 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0x7fde0a9de710 (LWP 9318)]
[New Thread 0x7fde1eb54710 (LWP 9316)]
[New Thread 0x7fddfe083710 (LWP 8306)]
[New Thread 0x7fddfe884710 (LWP 8305)]
[New Thread 0x7fde1d351710 (LWP 8280)]
[New Thread 0x7fde1db52710 (LWP 8278)]
[New Thread 0x7fde1fb56710 (LWP 8274)]
[New Thread 0x7fde20634710 (LWP 8273)]
[New Thread 0x7fde21091710 (LWP 8272)]
[New Thread 0x7fde21892710 (LWP 8271)]
0x00007fde3180ae7d in __libc_waitpid (pid=<value optimized out>, 
    stat_loc=<value optimized out>, options=<value optimized out>)
    at ../sysdeps/unix/sysv/linux/waitpid.c:41
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7fde3270b940 (LWP 8269))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 386
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 700
  • #3 run_bug_buddy
    at gnome-breakpad.cc line 369
  • #4 check_if_gdb
    at gnome-breakpad.cc line 440
  • #5 bugbuddy_segv_handle
    at gnome-breakpad.cc line 223
  • #6 <signal handler called>
  • #7 html_text_prepare_attrs
    at htmltext.c line 1203
  • #8 html_text_get_pango_info
    at htmltext.c line 1399
  • #9 hts_fit_line
    at htmltextslave.c line 385
  • #10 layout_line
    at htmlclueflow.c line 958
  • #11 html_clue_flow_layout
    at htmlclueflow.c line 1022
  • #12 html_clue_flow_real_calc_size
    at htmlclueflow.c line 1051
  • #13 html_object_calc_size
    at htmlobject.c line 1081
  • #14 html_cluev_do_layout
    at htmlcluev.c line 209
  • #15 html_table_cell_real_calc_size
    at htmltablecell.c line 211
  • #16 html_object_calc_size
    at htmlobject.c line 1081
  • #17 calc_cells_size
    at htmltable.c line 1033
  • #18 html_table_real_calc_size
    at htmltable.c line 1101
  • #19 html_object_calc_size
    at htmlobject.c line 1081
  • #20 layout_line
    at htmlclueflow.c line 918
  • #21 html_clue_flow_layout
    at htmlclueflow.c line 1022
  • #22 html_clue_flow_real_calc_size
    at htmlclueflow.c line 1051
  • #23 html_object_calc_size
    at htmlobject.c line 1081
  • #24 html_cluev_do_layout
    at htmlcluev.c line 209
  • #25 html_object_calc_size
    at htmlobject.c line 1081
  • #26 html_engine_calc_size
    at htmlengine.c line 5281
  • #27 thaw_idle
    at htmlengine.c line 5884
  • #28 g_main_dispatch
    at gmain.c line 1960
  • #29 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #30 g_main_context_iterate
    at gmain.c line 2591
  • #31 IA__g_main_loop_run
    at gmain.c line 2799
  • #32 IA__gtk_main
    at gtkmain.c line 1219
  • #33 main
    at main.c line 578

	Inferior 1 [process 8269] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


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

** gtkhtml **: html_object_prev_not_type: assertion `object->parent' failed 
** gtkhtml **: html_object_next_not_type: assertion `object->parent' failed 
** gtkhtml **: html_object_prev_not_type: assertion `object->parent' failed 
** gtkhtml **: html_object_prev_not_type: assertion `object->parent' failed 
** gtkhtml **: html_object_prev_not_type: assertion `object->parent' failed 


----------- .xsession-errors ---------------------
Missing separate debuginfo for /usr/lib64/enchant/libenchant_ispell.so
Try: zypper install -C "debuginfo(build-id)=6bbdb19c91235d63bc744a903154e5f0ddd0214c"
Missing separate debuginfo for /usr/lib64/enchant/libenchant_aspell.so
Try: zypper install -C "debuginfo(build-id)=3ebf43f2175ca60ab5de2077d26a9ee7baca19b3"
Missing separate debuginfo for /usr/lib64/libaspell.so.15
Try: zypper install -C "debuginfo(build-id)=1e9eeb4a76b5cfff2fdffcafa8d63cb0049ca045"
Missing separate debuginfo for /usr/lib64/gtk-2.0/2.10.0/loaders/svg_loader.so
Try: zypper install -C "debuginfo(build-id)=74117fcfc503f48d4d9b2bf1e89862af3b4aac04"
Missing separate debuginfo for /usr/lib64/librsvg-2.so.2
Try: zypper install -C "debuginfo(build-id)=63c05e138d077a538d85e5b87311c555ad093590"
Missing separate debuginfo for /usr/lib64/libgsf-1.so.114
Try: zypper install -C "debuginfo(build-id)=f850d613d7de648782d9a8bde66379f71f5aa78d"
Missing separate debuginfo for /usr/lib64/libcroco-0.6.so.3
Try: zypper install -C "debuginfo(build-id)=50081401b6d2e93dcc5b5532715b3ad58fa14a8c"
41	../sysdeps/unix/sysv/linux/waitpid.c: Adresář nebo soubor neexistuje.
--------------------------------------------------
Comment 1 Milan Crha 2011-10-21 11:52:36 UTC
Created attachment 199626 [details] [review]
gtkhtml patch

for gtkhtml;

I got similar crash, same function, different circumstances. Looking around the code this helped me, as the same is done on all other places where it's used.
Comment 2 Milan Crha 2011-10-21 11:58:14 UTC
Created commit 4bc23f8 in gtkhtml master (4.3.1+)
Created commit 4fbfa41 in gtkhtml gnome-3-2 (4.2.2+)