Bug 4155 - poppler 0.4.0 segfaults with cairo 0.9.2
Summary: poppler 0.4.0 segfaults with cairo 0.9.2
Status: RESOLVED DUPLICATE of bug 4110
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Kristian Høgsberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-20 09:19 UTC by Arwed v. Merkatz
Modified: 2005-08-19 16:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Arwed v. Merkatz 2005-08-20 09:19:31 UTC
poppler 0.4.0, compiled against cairo 0.9.2 segfaults for every single pdf file
here:
arwed@Otherland:~/poppler-0.4.0/test$ gdb .libs/lt-gtk-cairo-test 
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run ~/afrika.pdf 
Starting program: /home/arwed/poppler-0.4.0/test/.libs/lt-gtk-cairo-test
~/afrika.pdf

Program received signal SIGSEGV, Segmentation fault.
0xb7a9cca4 in _cairo_hash_string () from /usr/lib/libcairo.so.2
(gdb) bt
#0  0xb7a9cca4 in _cairo_hash_string () from /usr/lib/libcairo.so.2
#1  0xb7aaa8db in _cairo_ft_unscaled_font_init_key ()
   from /usr/lib/libcairo.so.2
#2  0xb7aaa923 in _cairo_ft_unscaled_font_init () from /usr/lib/libcairo.so.2
#3  0xb7aad003 in cairo_ft_font_face_create_for_ft_face ()
   from /usr/lib/libcairo.so.2
#4  0xb7f19b81 in CairoFont (this=0x80c8318, gfxFont=0x80fb490, 
    xref=0x80f6ff0, lib=0x80ab2e0) at CairoFontEngine.cc:252
#5  0xb7f1a35a in CairoFontEngine::getFont (this=0x80b18f0, gfxFont=0x80b7380, 
    xref=0x80f6ff0) at CairoFontEngine.cc:381
#6  0xb7f1aca4 in CairoOutputDev::updateFont (this=0x80ab1e0, state=0x80c8560)
    at GfxState.h:924
#7  0xb7f33321 in Gfx::doShowText (this=0x80b6c70, s=0x80c8dc8) at Gfx.cc:2320
#8  0xb7f334a8 in Gfx::opShowSpaceText (this=0x80b6c70, args=0x80f6ff0, 
    numArgs=1) at Object.h:148
#9  0xb7f2c0d6 in Gfx::execOp (this=0x80b6c70, cmd=0x80f6ff0, args=0xbffff2f0, 
    numArgs=1) at Gfx.cc:660
#10 0xb7f2c2b6 in Gfx::go (this=0x80b6c70, topLevel=1) at Gfx.cc:551
#11 0xb7f2c6e6 in Gfx::display (this=0x80b6c70, obj=0xbffff430, 
    topLevel=135229424) at Gfx.cc:523
#12 0xb7f6d8b6 in Page::displaySlice (this=0x80b5098, out=0x80ab1e0, hDPI=0, 
    vDPI=0, rotate=135229424, crop=135229424, sliceX=135229424, 
    sliceY=135229424, sliceW=135229424, sliceH=135229424, links=0x80b1480, 
    catalog=0x80b1880, abortCheckCbk=0x80f6ff0, abortCheckCbkData=0x80f6ff0, 
    annotDisplayDecideCbk=0x80f6ff0, annotDisplayDecideCbkData=0x80f6ff0)
    at Page.cc:364
#13 0xb7f6d97e in Page::display (this=0x80f6ff0, out=0x80f6ff0, hDPI=0, 
    vDPI=0, rotate=135229424, crop=135229424, links=0x80f6ff0, 
    catalog=0x80f6ff0, abortCheckCbk=0x80f6ff0, abortCheckCbkData=0x80f6ff0, 
    annotDisplayDecideCbk=0x80f6ff0, annotDisplayDecideCbkData=0x80f6ff0)
    at Page.cc:249
#14 0xb7f6fa9e in PDFDoc::displayPage (this=0x80b14b0, out=0x80ab1e0, page=0, 
    hDPI=72, vDPI=72, rotate=0, crop=1, doLinks=1, abortCheckCbk=0, 
    abortCheckCbkData=0x0, annotDisplayDecideCbk=0, 
    annotDisplayDecideCbkData=0x0) at PDFDoc.cc:265
#15 0x0804ac98 in main (argc=2, argv=0xbffff604) at gtk-cairo-test.cc:202
Comment 1 Arwed v. Merkatz 2005-08-20 09:29:08 UTC
After searching bugzilla again I found the original bug, sorry for the noise.

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


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.