Bug 177763

Summary: Segfault in ghostscript 64-bit; gs707, gs815, or gs850
Product: [Fedora] Fedora Reporter: Rick Richardson <rickrich>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 8.15.3-3.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-18 18:18:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 207681    

Description Rick Richardson 2006-01-13 19:36:17 UTC
$ gs707 -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600
-r600x600 -sDEVICE=bitcmyk -sOutputFile=xxx /tmp/icc.usecie.ps /tmp/icc.crd.ps
/tmp/icc.selcrd.ps testpage-ubuntu.ps
Segmentation fault (core dumped)

$ gs815 -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600
-r600x600 -sDEVICE=bitcmyk -sOutputFile=xxx /tmp/icc.usecie.ps /tmp/icc.crd.ps
/tmp/icc.selcrd.ps testpage-ubuntu.ps
Segmentation fault (core dumped)

$ gs850 -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600
-r600x600 -sDEVICE=bitcmyk -sOutputFile=xxx /tmp/icc.usecie.ps /tmp/icc.crd.ps
/tmp/icc.selcrd.ps testpage-ubuntu.ps
Segmentation fault (core dumped)

$ CC="cc -m32" ./configure --without-x;  make ...

$ gs850_32 -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g5100x6600
-r600x600 -sDEVICE=bitcmyk -sOutputFile=xxx /tmp/icc.usecie.ps /tmp/icc.crd.ps
/tmp/icc.selcrd.ps testpage-ubuntu.ps
$

Yep, something wrong with 64-bit.

Get files from: http://bugs.ghostscript.com/show_bug.cgi?id=688486

Comment 1 Rick Richardson 2006-01-23 09:36:56 UTC
Fix is:

http://ghostscript.com/pipermail/gs-cvs/2005-August/005686.html

Unverified.  It is in GS707.



Comment 2 Tim Waugh 2006-01-23 10:13:27 UTC
This is on the AFPL-licensed trunk though -- we need the author to apply it to
the GPL branch. :-/

Comment 3 Rick Richardson 2006-01-23 12:06:45 UTC
Then don't compile gs in 64-bit.  fc1/fc2/Fc3/fc4/fc5 etc. should be compiled in
32-bit only, since 64-bit has lots of problems and you will not pay to get them
fixed.

Comment 5 Fedora Update System 2007-01-18 17:21:30 UTC
Fixed in update: ghostscript-8.15.3-3.fc6