[cairo-bugs] [Bug 15302] New: evince crashed with SIGSEGV in FT_Get_Char_Index()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 1 07:51:37 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15302

           Summary: evince crashed with SIGSEGV in FT_Get_Char_Index()
           Product: cairo
           Version: 1.5.15
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: pdf backend
        AssignedTo: ajohnson at redneon.com
        ReportedBy: seb128 at debian.org
         QAContact: cairo-bugs at cairographics.org


The bug has been opened on https://bugs.launchpad.net/bugs/208485

"attempting to print this pdf with evince in Hardy:
http://www.linux-magazine.com/w3/issue/86/Email_Suites_Review.pdf

#0  0xb6e24df1 in FT_Get_Char_Index (face=0xb54f0530, charcode=0)
    at /build/buildd/freetype-2.3.5/freetype-2.3.5/src/base/ftobjs.c:2794
        result = <value optimized out>
#1  0xb6e24ea2 in FT_Get_First_Char (face=0xb54f0530, agindex=0xb6a26e28)
    at /build/buildd/freetype-2.3.5/freetype-2.3.5/src/base/ftobjs.c:2812
        result = <value optimized out>
        gindex = 0
#2  0xb75e84d1 in _cairo_ft_map_glyphs_to_unicode (abstract_font=0xb54edcd8,
font_subset=0xb6a26fbc)
    at /build/buildd/cairo-1.5.14/src/cairo-ft-font.c:2414
        unscaled = (cairo_ft_unscaled_font_t *) 0xb48676d8
        face = (FT_Face) 0xb54f0530
        glyph = <value optimized out>
        charcode = <value optimized out>
        i = <value optimized out>
        count = 50
#3  0xb75dd567 in _cairo_scaled_font_subset_create_glyph_names
(subset=0xb6a26fbc)
    at /build/buildd/cairo-1.5.14/src/cairo-scaled-font-subsets.c:768
        i = <value optimized out>
        status = <value optimized out>
        names = (cairo_hash_table_t *) 0x3057
        key = {base = {hash = 3035627520}, 
  string = 0xb4f32fa8 "%!FontType1-1.1 f-50-0 1.0\n11 dict begin\n/FontName
/f-50-0 def\n/PaintType 0 def\n/FontType 1 def\n/FontMatrix [0.001 0 0 0.001 0
0] readonly def\n/FontBBox {-24 -199 857 744", ' ' <repeats 30 times>...}
        entry = <value optimized out>
        buf = "\000\000
P_·\000o¢¶\000\000\000\000¨n¢¶\032¼]·¨/ó´¨/ó´"
#4  0xb75c61dd in _cairo_ps_surface_emit_unscaled_font_subset
(font_subset=0xb6a26fbc, closure=0xb484b570)
    at /build/buildd/cairo-1.5.14/src/cairo-ps-surface.c:574
        status = <value optimized out>
        __PRETTY_FUNCTION__ = "_cairo_ps_surface_emit_unscaled_font_subset"
#5  0xb75ddaeb in _cairo_sub_font_collect (entry=0xb54fd4f0,
closure=0xb6a2703c)
    at /build/buildd/cairo-1.5.14/src/cairo-scaled-font-subsets.c:425
        subset = {scaled_font = 0xb54edcd8, font_id = 2, subset_id = 0, glyphs
= 0xb5c961e0, 
  to_unicode = 0xb5c05a50, glyph_names = 0x0, num_glyphs = 50, is_composite =
0}
        i = 0
        j = 50
        __PRETTY_FUNCTION__ = "_cairo_sub_font_collect"
#6  0xb75a6dac in _cairo_hash_table_foreach (hash_table=0xb54f5ed0, 
    hash_callback=0xb75dda00 <_cairo_sub_font_collect>, closure=0xb6a2703c)
    at /build/buildd/cairo-1.5.14/src/cairo-hash.c:565
        i = 121
        entry = (cairo_hash_entry_t *) 0x0
#7  0xb75dd931 in _cairo_scaled_font_subsets_foreach_internal
(font_subsets=0xb5ce1290, 
    font_subset_callback=0xb75c61a0
<_cairo_ps_surface_emit_unscaled_font_subset>, closure=0xb484b570, 
    is_scaled=0) at
/build/buildd/cairo-1.5.14/src/cairo-scaled-font-subsets.c:680
        collection = {glyphs = 0xb5c961e0, glyphs_size = 65, max_glyph = 49,
num_glyphs = 50, subset_id = 0, 
  status = CAIRO_STATUS_SUCCESS, 
  font_subset_callback = 0xb75c61a0
<_cairo_ps_surface_emit_unscaled_font_subset>, 
  font_subset_callback_closure = 0xb484b570}
#8  0xb75c69eb in _cairo_ps_surface_finish (abstract_surface=0xb484b570)
    at /build/buildd/cairo-1.5.14/src/cairo-ps-surface.c:625
        status = <value optimized out>
        status2 = <value optimized out>
        i = <value optimized out>
        num_comments = <value optimized out>
#9  0xb75b6623 in *INT_cairo_surface_finish (surface=0xb484b570)
    at /build/buildd/cairo-1.5.14/src/cairo-surface.c:516
        status = <value optimized out>
#10 0xb75c164c in _cairo_paginated_surface_finish (abstract_surface=0xb5417888)
    at /build/buildd/cairo-1.5.14/src/cairo-paginated-surface.c:171
        status = 3040966792
#11 0xb75b6623 in *INT_cairo_surface_finish (surface=0xb5417888)
    at /build/buildd/cairo-1.5.14/src/cairo-surface.c:516
        status = <value optimized out>
#12 0xb75b66df in *INT_cairo_surface_destroy (surface=0xb5417888)
    at /build/buildd/cairo-1.5.14/src/cairo-surface.c:411
        __PRETTY_FUNCTION__ = "cairo_surface_destroy"
#13 0xb75a6315 in _cairo_gstate_fini (gstate=0xb54fd8b0) at
/build/buildd/cairo-1.5.14/src/cairo-gstate.c:199
No locals.
#14 0xb759ef7f in *INT_cairo_destroy (cr=0xb54fd890) at
/build/buildd/cairo-1.5.14/src/cairo.c:267
        __PRETTY_FUNCTION__ = "cairo_destroy"
#15 0xb5e5454c in pdf_print_context_free (ctx=0xb54e7550)
    at /build/buildd/evince-2.22.0/./backend/pdf/ev-poppler.cc:1541
No locals.
#16 0xb5e545a5 in pdf_document_file_exporter_end (exporter=0x8402450)
    at /build/buildd/evince-2.22.0/./backend/pdf/ev-poppler.cc:1794
No locals.
#17 0xb7f50693 in ev_file_exporter_end (exporter=0x8402450)
    at /build/buildd/evince-2.22.0/./libdocument/ev-file-exporter.c:88
No locals.
#18 0x08060739 in ev_job_print_run (job=0x872fe80) at
/build/buildd/evince-2.22.0/./shell/ev-jobs.c:955
        page = 7
        step = 1
        n_copies = <value optimized out>
        document = (EvDocument *) 0x8402450
        fc = {format = EV_FILE_FORMAT_PS, filename = 0xb483d720
"/tmp/evince_print.ps.ZDVG8T", 
  first_page = 0, last_page = 6, paper_width = 611.99998269869593, paper_height
= 791.99998269869593, 
  duplex = 0, pages_per_sheet = 1}
        rc = (EvRenderContext *) 0x8402790
        fd = 19
        n_pages = 7
        last_page = <value optimized out>
        first_page = 1
        i = 1
        j = 1
        __PRETTY_FUNCTION__ = "ev_job_print_run"
#19 0x0805f584 in handle_job (job=0x872fe80) at
/build/buildd/evince-2.22.0/./shell/ev-job-queue.c:141
        __PRETTY_FUNCTION__ = "handle_job"
#20 0x0805fa4c in ev_render_thread (data=0x0) at
/build/buildd/evince-2.22.0/./shell/ev-job-queue.c:264
        job = (EvJob *) 0x872fe80
#21 0xb75059ef in g_thread_create_proxy (data=0x80ee848) at
/build/buildd/glib2.0-2.16.1/glib/gthread.c:635
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#22 0xb72ab4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#23 0xb722dd4e in clone () from /lib/tls/i686/cmov/libc.so.6"


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list