Bug 691827 - Segmentation fault when joining serveral PDF files into one
Summary: Segmentation fault when joining serveral PDF files into one
Status: RESOLVED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Regression (show other bugs)
Version: 9.00
Hardware: PC Linux
: P4 normal
Assignee: Default assignee
URL: https://bugs.archlinux.org/task/22006
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-08 23:20 UTC by Musikolo
Modified: 2010-12-09 15:03 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 Musikolo 2010-12-08 23:20:12 UTC
Hi,

I've tried to join several PDF files into one by issuing the next command:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf

but I get a "Segmentation fault" message. I found the above command at http://www.linux.com/archive/feed/36815

This issue is being tracked at https://bugs.archlinux.org/task/22006 and it would be very useful to read all comments posted there.

Best regards.
Comment 1 Alex Cherepanov 2010-12-09 03:48:26 UTC
This works for me in v.9.00 and the HEAD.

Please try to rebuild your gs from the sources to exclude the problems
caused by a bad build.
Comment 2 Ray Johnston 2010-12-09 15:03:30 UTC
Another hint when rebuilding -- disable ALL use of shared libraries. Insure
that all of the following are specified in you Makefile:

SHARE_FT=0
SHARE_LCMS=0
SHARE_LIBPNG=0
SHARE_LIBTIFF=0
SHARE_JBIG2=0
SHARE_JPEG=0
SHARE_JPX=0
SHARE_ZLIB=0