Opening the PDF file downloaded from
http://www.gsmworld.com/roaming/GSM_WorldPoster2009A.pdf causes a
segfault in ghostscript.
console output:
----------------------------------------
$ ghostscript GSM_WorldPoster2009A.pdf
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Segmentation fault
----------------------------------------
gdb backtrace:
----------------------------------------
$ gdb --args ghostscript GSM_WorldPoster2009A.pdf
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 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/ghostscript...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/ghostscript GSM_WorldPoster2009A.pdf
[Thread debugging using libthread_db enabled]
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7647df0 in gx_path_is_void () from /usr/lib/libgs.so.8
(gdb) bt
#0 0x00007ffff7647df0 in gx_path_is_void () from /usr/lib/libgs.so.8
#1 0x00007ffff743a04a in ?? () from /usr/lib/libgs.so.8
#2 0x00007ffff764625a in gx_fill_path () from /usr/lib/libgs.so.8
#3 0x00007ffff7407372 in gs_shfill () from /usr/lib/libgs.so.8
#4 0x00007ffff74205c4 in ?? () from /usr/lib/libgs.so.8
#5 0x00007ffff73b4d33 in ?? () from /usr/lib/libgs.so.8
#6 0x00007ffff73b65ab in gs_interpret () from /usr/lib/libgs.so.8
#7 0x00007ffff73aaefa in gs_main_run_string_end () from /usr/lib/libgs.so.8
#8 0x00007ffff73abff0 in ?? () from /usr/lib/libgs.so.8
#9 0x00007ffff73ac767 in ?? () from /usr/lib/libgs.so.8
#10 0x00007ffff73ae21b in gs_main_init_with_args () from /usr/lib/libgs.so.8
#11 0x0000000000400acd in main ()
----------------------------------------
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32.6 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghostscript depends on:
ii debconf [debc 1.5.28 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii defoma 0.11.10-0.2 Debian Font Manager -- automatic f
ii gs-common 8.62.dfsg.1-3.2lenny1 Dummy package depending on ghostsc
ii gsfonts 1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgs8 8.62.dfsg.1-3.2lenny1 The Ghostscript PostScript/PDF int
Versions of packages ghostscript recommends:
ii psfontmgr 0.11.10-0.2 PostScript font manager -- part of
Versions of packages ghostscript suggests:
ii ghostscript-x 8.62.dfsg.1-3.2lenny1 The GPL Ghostscript PostScript/PDF
pn hpijs <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
RALOVICH, Kristóf wrote:
> http://www.gsmworld.com/roaming/GSM_WorldPoster2009A.pdf causes a
> segfault in ghostscript.
>
> console output:
> ----------------------------------------
> $ ghostscript GSM_WorldPoster2009A.pdf
> GPL Ghostscript 8.62 (2008-02-29)
> Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Processing pages 1 through 1.
> Page 1
> Segmentation fault
Thanks for a clear report. ghostscript in experimental gives
| $ gs -dSAFER ~/web/GSM_WorldPoster2009A.pdf
| GPL Ghostscript 9.00 (2010-09-14)
| Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
| This software comes with NO WARRANTY: see the file PUBLIC for details.
| Processing pages 1 through 1.
| Page 1
| Error: /rangecheck in --run--
Upstream r12035 does, too[1]. Well, _sometimes_ it does. I just
tried building and opening the file again and this time it gave me
the poster. :/ (Maybe it's a matter of debug vs release builds.)
| $ bin/gs -dSAFER ~/web/GSM_WorldPoster2009A.pdf
| GPL Ghostscript SVN PRE-RELEASE 9.01 (2010-09-14)
| Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
| This software comes with NO WARRANTY: see the file PUBLIC for details.
| Processing pages 1 through 1.
| Page 1
| Loading NimbusSanL-Regu font from %rom%Resource/Font/NimbusSanL-Regu... 2607520 1260632 19322336 18012413 3 done.
| Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 2664376 1346841 19399288 18080469 3 done.
| >>showpage, press <return> to continue<<
[1]
git clone git://git.ghostscript.com/ghostscript.git
cd ghostscript/gs
./autogen.sh -C --enable-debug
make -j2
bin/gs -dSAFER GSM_WorldPoster2009A.pdf