Bug 691561 - Ghost Script 8.64-6.2.1.x86_64 Segmentation Fault
Summary: Ghost Script 8.64-6.2.1.x86_64 Segmentation Fault
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.64
Hardware: PC Linux
: P4 critical
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 12:51 UTC by r.gardner
Modified: 2010-09-29 12:45 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r.gardner 2010-08-17 12:51:45 UTC
I have a Fujitsu TX200 S5 Server with openSUSE 11.2 64 bit installed. I am having problems with Ghost Script. I want to merge two files into one and open it with Adobe Reader. I have tried this on a Fujitsu TX200 Server with openSUSE 11.2 32 bit installed and it works ok. Here is the command I use:

gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=TestMerge.pdf -dBATCH Test.pdf Test2.pdf

On the TX200 S5 with 64 bit, I get the message:

**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: File has an invalid xref entry: 2. Rebuilding xref table.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> iText 1.4.8 (by lowagie.com) <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

Segmentation fault

and I can't open the file with Adobe Reader. It tells me the file is damaged and cannot be repaired.

On the TX200 with 32 bit, I get the message:

**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: File has an invalid xref entry: 2. Rebuilding xref table.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> iText 1.4.8 (by lowagie.com) <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: Generation number out of 0..65535 range, assuming 0.
**** Warning: File has an invalid xref entry: 2. Rebuilding xref table.

**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> iText 1.4.8 (by lowagie.com) <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.

and I can open the file with Adobe Reader.

Does anyone have an idea what causes this?
Thank You
Comment 1 r.gardner 2010-08-17 14:44:33 UTC
Sorry, the Problem is with our Software that we install. I just installed a new Server with our software and it works fine. Our development section has to find their problem. Again Sorry, I am new at this.
Comment 2 r.gardner 2010-08-18 08:22:38 UTC
OK, I think I am going crazy. It seems I got to excited yesterday. The command works in X-windows only. If I use the command in tty1-6, it does not work. And since our Software starts without graphic interface on the server, it will not work. Info, from our Software we print the output instead of saving to a file as I do here. I don't think that makes a difference. So I am stuck again.
Installed is:
ghostscript-x11        8.64-6.2.1
ghostscript-library    8.64-6.2.1
ghostscript-fonts-std  8.64-6.2.1
ghostscript-fonts-std  8.64-6.2.1

Maybe I forgot Something?
Comment 3 Chris Liddell (chrisl) 2010-08-18 09:34:01 UTC
Ghostscript 8.64 is over a year old.

Also, you haven't supplied files with which to test the issue. Using two random PDF files from my own test archive with GS 8.71 resulted in a valid PDF (no warnings nor crashes), so either the problem has been resolved in the last 18 months, or there is something specific to the PDF jobs you are using which causes the problem.

So I would advise you to test on the latest release (8.71 and 9.0 is planned for the end of August), and if it still fails, reopen this bug, and attach suitable (ideally minimal) PDF jobs which illustrate the issue.
Comment 4 r.gardner 2010-08-18 09:40:54 UTC
(In reply to comment #3)
> Ghostscript 8.64 is over a year old.
> Also, you haven't supplied files with which to test the issue. Using two random
> PDF files from my own test archive with GS 8.71 resulted in a valid PDF (no
> warnings nor crashes), so either the problem has been resolved in the last 18
> months, or there is something specific to the PDF jobs you are using which
> causes the problem.
> So I would advise you to test on the latest release (8.71 and 9.0 is planned
> for the end of August), and if it still fails, reopen this bug, and attach
> suitable (ideally minimal) PDF jobs which illustrate the issue.

Did you try this on openSUSE 11.2 64 bit without X-Windows?
Comment 5 Chris Liddell (chrisl) 2010-08-18 09:52:34 UTC
(In reply to comment #4)

> Did you try this on openSUSE 11.2 64 bit without X-Windows?

I don't have an OpenSUSE setup. I tried it on 64 bit Ubuntu 9.10 on a build done with "configure --without-x".
Comment 6 r.gardner 2010-09-29 12:45:22 UTC
I found out what was causing my Problems and Updated my Ghostscript.