Bug 688848

Summary: ps2pdf reports Segmentation fault
Product: Ghostscript Reporter: Pavel <Pavel.Pokorny>
Component: PDF WriterAssignee: Ralph Giles <ralph.giles>
Status: RESOLVED DUPLICATE    
Severity: normal CC: htl10
Priority: P4    
Version: 8.54   
Hardware: PC   
OS: Linux   
URL: http://www.vscht.cz/mat/Pavel.Pokorny/a.ps
Customer: Word Size: ---

Description Pavel 2006-08-24 07:58:02 UTC
ps2pdf a.ps
Segmentation fault
gs -v
AFPL Ghostscript 8.54 (2006-05-17)
uname -srmo
Linux 2.6.9-34.0.1.EL x86_64 GNU/Linux
http://www.vscht.cz/mat/Pavel.Pokorny/a.ps
Comment 1 Hin-Tak Leung 2006-08-25 09:08:59 UTC
ps2pdf works fine on my system which is rather similiar 
with both 8.54 and 8.15.2.

uname -srmo
Linux 2.6.17-1.2174_FC5 x86_64 GNU/Linux
gs -v
AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
/usr/bin/gs -v
ESP Ghostscript 8.15.2 (2006-04-19)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.

My 8.15.2 is as shipped by redhat fc5, and my 8.54 has these fixes on:
gs688720
gs688721
gs688724
gs688725
gs688532
gs688736
gs688741
gs688764

You could tried your as-shipped gs, or one of the above patches.
Comment 2 Ralph Giles 2006-08-30 10:04:34 UTC
I can reproduce on my x86_64 linux system with 8.54 and the pdfwrite device. It
completes without error for me with gs HEAD, so it looks like this has been fixed.
Comment 3 Marcos H. Woehrmann 2006-08-30 14:25:09 UTC
I've reopened this bug and assigned it to Ralph as per the earlier support meeting discussion.
Comment 4 Hin-Tak Leung 2006-08-31 04:54:53 UTC
re-run with patched and unpatched 64-bit 8.54, unpatched binary segfaults 
and patched one doesn't. So it looks like it is a duplicate of one of
gs688720
gs688721
gs688724
gs688725
gs688532
gs688736
gs688741
gs688764
Comment 5 Alex Cherepanov 2006-09-04 14:34:30 UTC
This is a duplicate of the bug 688721, which is fixed since revision 6818.

This patch and most of other patches mentioned by Hin-Tak Leung should be
applied to v. 8.54 if it is used on a 64-bit platform.


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