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 462405 - gnome-about crash when display korean
gnome-about crash when display korean
Status: RESOLVED DUPLICATE of bug 466755
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-08-01 08:17 UTC by Chris Wang
Modified: 2007-09-02 17:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
determine whether the face is null before access it (1.00 KB, patch)
2007-08-10 05:09 UTC, Chris Wang
none Details | Review

Description Chris Wang 2007-08-01 08:17:45 UTC
Steps to reproduce:
1. start gnome-about
2. wait until Korean character display
3. gnome-about crashed


Stack trace:
Trace:
869:    /usr/lib/gnome-about
 ff3450b4 waitid   (0, 491, ffbfd930, 3)
 fed63314 libgnomeui_segv_handle (b, 0, 1, feda9a64, 46838, fedae22c) + ec
 ff343ccc __sighndlr (b, 0, ffbfdbd0, fed63228, 0, 0) + c
 ff3385dc call_user_handler (b, 0, ffbfdbd0, fd38b1c0, 47f08, ff380658) + 41c
 fab98e64 FT_Get_Char_Index (fd38b198, 30, 1, fd33c428, 2af7b8, fd38b118) + 18
 fd32af24 _cairo_scaled_font_text_to_glyphs (fd38b198, 0, 1, ffbfdff0, 3, ffbfdf70) + 124
 fd32ab10 cairo_scaled_font_text_extents (fd38b198, ffbfe4ae, ffbfe408, ffbfdff4, facf8570, ffbfdff0) + 28
 face4160 _pango_cairo_font_get_hex_box_info (fd38b198, 4b0a20, 0, 1, facf8570, 4c4860) + 4e0
 face4530 _pango_cairo_get_glyph_extents_missing (4b0a20, 10000043, 0, ffbfe570, face764c, 14054) + 18
 fad5af80 fallback_engine_shape (4c1d30, 4abaf0, feeba708, 4c, 23bbc4, 10000043) + 94
 fad6ec00 pango_shape (4abaf0, 10, 23bbc4, 4c1d30, 0, 22ec0) + 1f4
 fad618b4 shape_run (4c3290, ffbfe778, 23bbb8, 4c1d30, feeb8684, 234af8) + 6c
 fad61a14 process_item (234af8, 4c3290, ffbfe778, 1, 0, 10000000) + 44
 fad6213c process_line (234af8, ffbfe778, ffffffff, 23bbb8, fad918d0, 4c3290) + 114
 fad62a38 pango_layout_check_lines (ffbfe778, 4abaf0, 234af8, 0, 10, 4abb00) + 3b8
 fad60aac pango_layout_get_extents_internal (0, 0, ffbfe920, 0, 234af8, 0) + 13c
 fad6106c pango_layout_get_pixel_extents (234af8, 0, ffbfe920, 20, 308dc, 0) + 7c
 fad610cc pango_layout_get_pixel_size (234af8, 2102c8, 2102cc, 18, feeb8684, 49c040) + c
 fa9baa0c gnome_canvas_text_set_property (578, 14, ffbfebe8, 34, 80, fa9b9e80) + af0
 febe4008 g_object_set_valist (2101d0, ffbfec08, ffbfed7c, 1400, 4b11d0, 47598) + 624
 fa9c3654 gnome_canvas_item_set_valist (2101d0, 1824c, ffbfed64, 0, 1a024, 8fc80) + 84
 fa9c35c0 gnome_canvas_item_set (2101d0, 1824c, 4abb10, 18214, ffffffff, 18224) + 1c
 00013264 display_contributors (29800, 2, e0, 29800, 4abb10, 29950) + 22c
 00012f4c animate_contributor (1f3590, f300, f30000, f3000000, f3, 12ca0) + 28c
 fee40f8c g_timeout_dispatch (239448, 12cc0, 1f3590, ff3a2000, 1, 0) + 4c
 fee3d634 g_main_dispatch (4cb80, 1, 0, feeba408, feeb8684, 4cb88) + 1e4
 fee3ec80 g_main_context_dispatch (1, 1, feeba3f4, 2, feeba3f8, 4cb80) + c8
 fee3f1a0 g_main_context_iterate (1, 1, 1, 4cb80, 8, 8) + 49c
 fee3faa4 g_main_loop_run (21e640, 0, 0, 2b690, 21e648, 1) + 3e4
 fe98ea28 gtk_main (0, 0, 0, b498, febc5974, 21e640) + d8
 00015718 main     (1, ffbff2f4, 18400, 18400, 33c58, 67800) + 114
 00012860 _start   (0, 0, 0, 0, 0, 0) + 108

Other information:
Comment 1 Chris Wang 2007-08-10 05:09:37 UTC
Created attachment 93411 [details] [review]
determine whether the face is null before access it

In other Shape engine, we determine whether the face is Null before render, but this part is missing in hangul module, which cause the crash
Comment 2 Behdad Esfahbod 2007-09-02 17:36:27 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


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