Bug 4800

Summary: crash in _cairo_ft_scaled_glyph_init() in cvs with artwiz fonts
Product: cairo Reporter: Mitch <mitch>
Component: freetype font backendAssignee: Owen Taylor <otaylor>
Status: RESOLVED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: critical    
Priority: highest CC: yandong.yao
Version: 1.1.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Stack trace from crash

Description Mitch 2005-10-18 11:31:44 UTC
I installed the Artwiz fonts from http://artwizaleczapka.sourceforge.net and
tried to change my title font for my windows in gnome with gnome-font-properties
and consistently get the following attached crash.
Comment 1 Mitch 2005-10-18 11:33:03 UTC
Created attachment 3578 [details]
Stack trace from crash

This is 100% reproduceable. Note this is in CVS code when referring to
respective line numbers in the stack attached.
Comment 2 Yandong Yao 2006-04-13 12:21:43 UTC
I meet one similar problem on opensolaris with gnome 2.14 installed( i compile
from cvs). please see below call stack:
notes: I reproduce this problem when i use SunDotum font, and no problem when
use other fonts, it seems that it is related with font.
----------------
core 'core' of 18422:   ./gtklabel
 d0f81f82 _render_glyph_bitmap (8181828, 8275650, 8046240) + 82
 d0f831d0 _cairo_ft_scaled_glyph_init (82755e0, 8277110, 2) + 380
 d0f719cf _cairo_scaled_glyph_lookup (82755e0, 47, 3, 804633c) + 19f
 d0f916a4 _cairo_xlib_surface_old_show_glyphs (82755e0, 2, 8046668, 827b608, 7c,
5f) + 1f4
 d0f750c9 _cairo_surface_old_show_glyphs (82755e0, 2, 8046668, 827b608, 7c, 5f) + d9
 d0f76d68 _cairo_surface_old_show_glyphs_draw_func (80465c8, 2, 8046668,
827b608, 0, 0) + 1a8
 d0f75d99 _clip_and_composite (827d9cc, 2, 8046668, d0f76bc0, 80465c8, 827b608)
+ 149
 d0f76f81 _cairo_surface_fallback_show_glyphs (827b608, 2, 8046668, 827bf80, 5,
82755e0) + 101
 d0f74fc9 _cairo_surface_show_glyphs (827b608, 2, 8046668, 827bf80, 5, 82755e0) + c9
 d0f65bd3 _cairo_gstate_show_glyphs (827d948, 804673c, 5) + 1c3
 d0f5e1a8 cairo_show_glyphs (827d000, 804673c, 5) + 48
 d1035848 pango_cairo_renderer_draw_glyphs (8279f70, 8174000, 81ab950, 0, 0) + 378
 d0feee2f pango_renderer_draw_glyphs (8279f70, 8174000, 81ab950, 0, 0) + 9f
 d1035fa6 pango_cairo_show_glyph_string (827d000, 8174000, 81ab950) + 1b6
 d114b0f2 gdk_pango_renderer_draw_glyphs (827c000, 8174000, 81ab950, 1f000,
1a400) + 122
 d0feee2f pango_renderer_draw_glyphs (827c000, 8174000, 81ab950, 1f000, 1a400) + 9f
 d0feec24 pango_renderer_draw_layout_line (827c000, 80a8820, 1f000, 1a400) + 2c4
d0fee23d pango_renderer_draw_layout (827c000, 80a2890, 1f000, 17400) + 15d
 d114cec7 gdk_draw_layout_with_colors (80a4d10, 80a29b0, 7c, 5d, 80a2890, 0) + 1f7
 d114d161 gdk_draw_layout (80a4d10, 80a29b0, 7c, 5d, 80a2890) + 131
 d1470af1 gtk_default_draw_layout (80c4608, 80a4d10, 0, 0, 80a42ec, 80c3c20) + d1
 d042d679 draw_layout (80c4608, 80a4d10, 0, 0, 80a42ec, 80c3c20) + f9
 d14737f2 gtk_paint_layout (80c4608, 80a4d10, 0, 0, 80a42ec, 80c3c20) + 142
 d13bf570 gtk_label_expose (80c3c20, 80a42e0, 80a8460) + 1c0
 d13da83e _gtk_marshal_BOOLEAN__BOXED (80aba38, 8046f60, 2, 8047080, 8046f8c,
d13bf3b0) + 12e
 d0e92f53 g_type_class_meta_marshal (80aba38, 8046f60, 2, 8047080, 8046f8c, c8) + 73
 d0e92b73 g_closure_invoke (80aba38, 8046f60, 2, 8047080, 8046f8c) + 1b3
 d0eadbb9 signal_emit_unlocked_R (80ab500, 0, 80c3c20, 8047044, 8047080) + b39
 d0eaca28 g_signal_emit_valist (80c3c20, 21, 0, 8047208) + b78
 d0eacda2 g_signal_emit (80c3c20, 21, 0, 80a42e0, 8047228) + 42
 d154e859 gtk_widget_event_internal (80c3c20, 80a42e0) + 2a9
 d154e471 gtk_widget_send_expose (80c3c20, 80a42e0) + 171
 d1315950 gtk_container_propagate_expose (80b1028, 80c3c20, 80477e0) + 280
 d1315335 gtk_container_expose_child (80c3c20, 8047318) + 55
 d12b8e47 gtk_bin_forall (80b1028, 1, d13152e0, 8047318) + 97
 d1312bb4 gtk_container_forall (80b1028, d13152e0, 8047318) + e4
 d1315483 gtk_container_expose (80b1028, 80477e0) + 133
 d1564006 gtk_window_expose (80b1028, 80477e0, 80a8460) + a6
 d13da83e _gtk_marshal_BOOLEAN__BOXED (80aba38, 8047490, 2, 80475b0, 80474bc,
d1563f60) + 12e
 d0e92f53 g_type_class_meta_marshal (80aba38, 8047490, 2, 80475b0, 80474bc, c8) + 73
 d0e92b73 g_closure_invoke (80aba38, 8047490, 2, 80475b0, 80474bc) + 1b3
 d0eadbb9 signal_emit_unlocked_R (80ab500, 0, 80b1028, 8047574, 80475b0) + b39
 d0eaca28 g_signal_emit_valist (80b1028, 21, 0, 8047738) + b78
 d0eacda2 g_signal_emit (80b1028, 21, 0, 80477e0, 8047758) + 42
 d154e859 gtk_widget_event_internal (80b1028, 80477e0) + 2a9
 d154e471 gtk_widget_send_expose (80b1028, 80477e0) + 171
 d13d66fd gtk_main_do_event (80477e0, 0) + 32d
 d11649df gdk_window_process_updates_internal (80a4d10) + 1bf
 d1164b8c gdk_window_process_all_updates (8047ae8, 8047a24, d0e43594, d116470f,
80a8500, 80478b4) + dc
 d1164749 gdk_window_update_idle (0) + 49
 d0db5869 g_idle_dispatch (827b178, d1164700, 0) + 59
 d0db0d32 g_main_dispatch (80a74f8) + 1f2
 d0db252f g_main_context_dispatch (80a74f8) + af
 d0db2b56 g_main_context_iterate (80a74f8, 1, 1, 80a8430) + 596
 d0db356e g_main_loop_run (823a6b0) + 44e
 d13d5b55 gtk_main (8047ae8, 8047a24, d17fb840, 80a8b20, 8050dd8, 80c3c20) + 115
08050d82 main     (1, 8047a68, 8047a70) + 182
 08050b6a _start   (1, 8047b50, 0, 8047b5b, 8047b8f, 8047ba3) + 7a
Comment 3 Behdad Esfahbod 2006-04-13 13:48:01 UTC
This is a dup and already fixed in cairo 1.0.4.  Note that cairo CVS is obsolete
and not updated anymore (until further notice).  The development has moved to
git.  The easiest is to just grab the 1.0.4 release.

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

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.