Hi, Michael... thanks again for your continued support. :)
Michael Koch schrieb: > On Mon, Sep 28, 2009 at 03:57:58PM +0200, Christoph Haas wrote: >> Then I was feeding that into the "gs" call like: >> >> $> cat /tmp/foo | gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE >> -sPAPERSIZE=letter -g4960x7015 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN >> -dMaxBitmap=500000000 -sOutputFile=|cat 1>&3 /tmp/icc.usecie.ps -_ | cat > >> /tmp/foo2 >> >> The result: >> >> zsh: 3: bad file descriptor > > That is because the " around 'cat 1>&3' are missing. They are in the original > wrapper code. Oops, you are right. I have reinstalled the original wrapper script now. Probably an effect from too much toying around. :( > I tries this locally and got: > > cat foo | gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter > -g4960x7015 -r600x600 -sDEVICE=bitcmyk -dCOLORSCREEN -dMaxBitmap=500000000 > -sOutputFile="|cat 1>&3" /tmp/icc.usecie.ps -_ > foo2 > GPL Ghostscript 8.70: Unrecoverable error, exit code 1 > > So your input seem to trigger a ghostscript segfault. > > Can you confirm this? Yes, I can. This is my output: pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' pcache: unable to open '/root/.ghostscript/cache/gs_cache' zsh: broken pipe cat /tmp/foo | zsh: segmentation fault gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=letter -g4960x7015 Thank you for your analysis. I'll bug the ghostscript maintainer instead. Christoph -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

