-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Processing of some input files causes segmentation fault on x86_64 Linux #1540
Comments
CUPS.org User: mike What options did you use with the configure script? What Linux distribution are you using? What version of GCC are you using? |
CUPS.org User: bel I run configure script without options. This bug was reported to AFPL Ghostscript v. 8.51 as Bug# 688252. http://bugs.ghostscript.com/show_bug.cgi?id=688252 The bug is resolved in AFPL Ghostscript v. 8.52 and above. I beleive the syncronization with their changes would be |
CUPS.org User: mike That's fine, except when I compile on an AMD64 system running RHEL4 using GCC 3.4.3, both of your test files work just fine... Can you run your tests in a debugger and show me the backtrace ("where")? |
CUPS.org User: bel I have installed RHEL4 Workstation X86_64 and tested ESP Ghostscript 8.15.1 There is the session transcript with some snips: --- Session transcript begin --- cat /etc/issueRed Hat Enterprise Linux WS release 4 (Nahant) gcc -vReading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs md5sum espgs-8.15.1-source.tar.gz80e86a300c2e3f3c9fc9a707c2212743 espgs-8.15.1-source.tar.gz zcat espgs-8.15.1-source.tar.gz | tar -xf -cd espgs-8.15.1./configure8-< --- snip --- snip --- snip --- snip --- snip --- snip --- snip --- >-8 make8-< --- snip --- snip --- snip --- snip --- snip --- snip --- snip --- >-8 make install8-< --- snip --- snip --- snip --- snip --- snip --- snip --- snip --- >-8 ls -l /usr/local/bin/gs-rwxr-xr-x 1 root root 5245783 Apr 26 13:29 /usr/local/bin/gs /usr/local/bin/gs -vESP Ghostscript 8.15.1 (2005-09-22) cd ..md5sum full_file.ps0d609d5324afefc20c2b125f25c73ea2 full_file.ps cat full_file.ps | /usr/local/bin/gs -sOutputFile=- -sDEVICE=bitcmyk -r600x600 > res.binSegmentation fault gdb /usr/local/bin/gsGNU gdb Red Hat Linux (6.1post-1.20040607.62rh) (gdb) r -sOutputFile=- -sDEVICE=bitcmyk -r600x600 > res.bin < full_file.ps --- Session transcript end --- I have tried ESP Ghostscript 8.15.2, released 11:01 Apr 25, 2006 also. Unpack ... ./configure ... make ... make install -- as above. /usr/local/bin/gs -vESP Ghostscript 8.15.2 (2006-04-19) cat full_file.ps | /usr/local/bin/gs -sOutputFile=- -sDEVICE=bitcmyk -r600x600 > res.binSegmentation fault Backtrace for 8.15.2 follows: i.e. the same stack. Please see description and resolution of this bug at: http://bugs.ghostscript.com/show_bug.cgi?id=688642 |
CUPS.org User: mike Unable to reproduce... |
Version: 8.15.1
CUPS.org User: bel
CUPS test page beeing processed with cms color correction tables,
resolution 150 dpi and above and device=bitcmyk causes segmentation fault
on x86_64 Linux (SuSE 9.3 and Mandriva 2005 LE).
Commands caused segmentation fault:
cat full_file.ps | gs -sOutputFile=- -sDEVICE=bitcmyk -r600x600 > res.bin
cat small_file.ps | gs -sOutputFile=- -sDEVICE=bitcmyk -r1200x600 > res.bin
Files full_file.ps and small_file.ps are attached
The text was updated successfully, but these errors were encountered: