Segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
poppler (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xpdf (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I try to open a PDF file that contains a form but xpdf segfault when opening.
$ wget --no-check-
$ mv cerfa_13754.do cerfa_13754.pdf
$ xpdf cerfa_13754.pdf
Warning: Cannot convert string "-*-helvetica-
Warning: Cannot convert string "-*-courier-
Warning: Cannot convert string "-*-times-
Warning: Cannot convert string "-*-times-
***** MediaBox = ll:0,0 ur:612,792
***** CropBox = ll:0,0 ur:612,792
***** Rotate = 0
BT
BDC /Content << /MCID 0 >>
marked content: Content << /MCID 0 >>
rg 0 0 0
ri /RelativeColori
Tf /T1_0 1
font: tag=T1_0 name='Helvetica' 1
Tm 10 0 0 10 72 712.72
Tj (To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade )
Segmentation fault (core dumped)
$ xpdf -v
xpdf version 3.03
Copyright 1996-2011 Glyph & Cog, LLC
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu quantal (development branch)
Release: 12.10
Codename: quantal
$ uname -a
Linux yoyo-laptop 3.6.0-999-generic #201209170418 SMP Mon Sep 17 08:19:54 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ free -m
total used free shared buffers cached
Mem: 3840 2718 1122 0 41 983
-/+ buffers/cache: 1693 2147
Swap: 10239 1130 9109
#
# Backtrace
#
$ gdb /usr/bin/xpdf.real
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) run cerfa_13754.pdf
Starting program: /usr/bin/xpdf.real cerfa_13754.pdf
Warning: Cannot convert string "-*-helvetica-
Warning: Cannot convert string "-*-courier-
Warning: Cannot convert string "-*-times-
Warning: Cannot convert string "-*-times-
***** MediaBox = ll:0,0 ur:612,792
***** CropBox = ll:0,0 ur:612,792
***** Rotate = 0
BT
BDC /Content << /MCID 0 >>
marked content: Content << /MCID 0 >>
rg 0 0 0
ri /RelativeColori
Tf /T1_0 1
font: tag=T1_0 name='Helvetica' 1
Tm 10 0 0 10 72 712.72
Tj (To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade )
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff777171c in GooHash:
(gdb) bt
#0 0x00007ffff777171c in GooHash:
#1 0x00007ffff77718ce in GooHash:
#2 0x00007ffff771dbb3 in GlobalParams:
#3 0x00007ffff770499c in GfxFont:
#4 0x00007ffff76b2eb5 in SplashOutputDev
#5 0x00007ffff76b3562 in SplashOutputDev
#6 0x00007ffff76ff540 in Gfx::doShowText
#7 0x00007ffff77004f9 in Gfx::opShowText
#8 0x00007ffff76f89a4 in Gfx::go(bool) () from /usr/lib/
#9 0x00007ffff76f8e10 in Gfx::display(
#10 0x00007ffff77391d4 in Page::displaySl
#11 0x0000555555588daa in ?? ()
#12 0x000055555558c560 in ?? ()
#13 0x000055555558ef86 in ?? ()
#14 0x0000555555586bd2 in ?? ()
#15 0x000055555559c892 in ?? ()
#16 0x000055555558d453 in ?? ()
#17 0x000055555557e11a in main ()
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: xpdf 3.03-9ubuntu5
Uname: Linux 3.6.0-999-generic x86_64
NonfreeKernelMo
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Tue Sep 25 19:20:58 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64+mac (20120917)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xpdf
UpgradeStatus: No upgrade log present (probably fresh install)
BackTrace with debug symbols :
$ gdb /usr/bin/xpdf.real gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>... xpdf.real. ..Reading symbols from /usr/lib/ debug/. build-id/ 86/6b0cb196d876 9dee9568189352a 597d0d91ca4. debug.. .done. metric
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
done.
(gdb) run cerfa_13754-02.pdf
Starting program: /usr/bin/xpdf.real cerfa_13754-02.pdf
***** MediaBox = ll:0,0 ur:612,792
***** CropBox = ll:0,0 ur:612,792
***** Rotate = 0
BT
BDC /Content << /MCID 0 >>
marked content: Content << /MCID 0 >>
rg 0 0 0
ri /RelativeColori
Tf /T1_0 1
font: tag=T1_0 name='Helvetica' 1
Tm 10 0 0 10 72 712.72
Tj (To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade )
Program received signal SIGSEGV, Segmentation fault. :find(GooString *, int*) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 :find(GooString *, int*) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 :lookup( GooString* ) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 :findFontFile( GooString* ) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 :locateFont( XRef*, bool) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 ::doUpdateFont( GfxState* ) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 ::drawChar( GfxState* , double, double, double, double, double, double, unsigned int, int, unsigned int*, int) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 (GooString* ) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 (Object* , int) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 x86_64- linux-gnu/ libpoppler. so.28 Object* , bool) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 ice(OutputDev* , double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*) () from /usr/lib/ x86_64- linux-gnu/ libpoppler. so.28 55b40, page=0x55555584 d380, x=0, y=0) at build/PDFCore. cc:896 55b40, topPageA=<optimized out>, scrollXA=<optimized out>, scrollYA=<optimized out>, zoomA=0, rotateA=<optimized out>, force=<optimized out>, addToHist=true, lX=true) at build/PDFCore. cc:718 55b40, topPageA=<optimized out>, scrollXA=<optimized out>, scrollYA=<opt...
0x00007ffff777171c in GooHash:
(gdb) bt
#0 0x00007ffff777171c in GooHash:
#1 0x00007ffff77718ce in GooHash:
#2 0x00007ffff771dbb3 in GlobalParams:
#3 0x00007ffff770499c in GfxFont:
#4 0x00007ffff76b2eb5 in SplashOutputDev
#5 0x00007ffff76b3562 in SplashOutputDev
#6 0x00007ffff76ff540 in Gfx::doShowText
#7 0x00007ffff77004f9 in Gfx::opShowText
#8 0x00007ffff76f89a4 in Gfx::go(bool) () from /usr/lib/
#9 0x00007ffff76f8e10 in Gfx::display(
#10 0x00007ffff77391d4 in Page::displaySl
#11 0x0000555555588daa in PDFCore::needTile (this=0x5555558
#12 0x000055555558c560 in PDFCore::update (this=0x5555558
adjustScrol
#13 0x000055555558ef86 in XPDFCore::update (this=0x5555558