Bug 691827

Summary: Segmentation fault when joining serveral PDF files into one
Product: Ghostscript Reporter: Musikolo <musikolo>
Component: RegressionAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alex
Priority: P4    
Version: 9.00   
Hardware: PC   
OS: Linux   
URL: https://bugs.archlinux.org/task/22006
Customer: Word Size: ---

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