*** This bug is a duplicate of bug 1024533 ***
    https://bugs.launchpad.net/bugs/1024533

** This bug has been marked a duplicate of bug 1024533
   xpdf.real crashed with SIGSEGV in GooHash::find()

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/1056361

Title:
  Segmentation fault

Status in “poppler” package in Ubuntu:
  New
Status in “xpdf” package in Ubuntu:
  New

Bug description:
  Hi,

  I try to open a PDF file that contains a form but xpdf segfault when
  opening.

  $ wget --no-check-certificate
  https://www.formulaires.modernisation.gouv.fr/gf/cerfa_13754.do  #
  (got from
  http://www.interieur.gouv.fr/sections/a_votre_service/vos_demarches
  /immatriculation-vehicule/obtention-carte-
  grise/cerfa/cerfa-1375402/view )

  $ mv cerfa_13754.do cerfa_13754.pdf

  $ xpdf cerfa_13754.pdf 
  Warning: Cannot convert string 
"-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
  ***** 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 /RelativeColorimetric
  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://gnu.org/licenses/gpl.html>
  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://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /usr/bin/xpdf.real...(no debugging symbols found)...done.
  (gdb) run cerfa_13754.pdf 
  Starting program: /usr/bin/xpdf.real cerfa_13754.pdf
  Warning: Cannot convert string 
"-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1" to type FontStruct
  Warning: Cannot convert string 
"-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
  ***** 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 /RelativeColorimetric
  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::find(GooString*, int*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  (gdb) bt
  #0  0x00007ffff777171c in GooHash::find(GooString*, int*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #1  0x00007ffff77718ce in GooHash::lookup(GooString*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #2  0x00007ffff771dbb3 in GlobalParams::findFontFile(GooString*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #3  0x00007ffff770499c in GfxFont::locateFont(XRef*, bool) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #4  0x00007ffff76b2eb5 in SplashOutputDev::doUpdateFont(GfxState*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #5  0x00007ffff76b3562 in SplashOutputDev::drawChar(GfxState*, double, 
double, double, double, double, double, unsigned int, int, unsigned int*, int) 
() from /usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #6  0x00007ffff76ff540 in Gfx::doShowText(GooString*) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #7  0x00007ffff77004f9 in Gfx::opShowText(Object*, int) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #8  0x00007ffff76f89a4 in Gfx::go(bool) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #9  0x00007ffff76f8e10 in Gfx::display(Object*, bool) () from 
/usr/lib/x86_64-linux-gnu/libpoppler.so.28
  #10 0x00007ffff77391d4 in Page::displaySlice(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
  #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
  NonfreeKernelModules: nvidia
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/1056361/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to