Summary: | Ghostscript 9.51 - SIGFPE when -dFirstPage or -dLastPage is set | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | James R Barlow <jim> |
Component: | PDF Interpreter | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | MacOS X | ||
Customer: | Word Size: | --- | |
Attachments: | file that triggered issue |
This should be fixed by this commit: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=aaf5edb15fceaae962569bae30eb4633480c1d15 I checked before and after with the supplied file and could reproduce the problem before, it did not reproduce afterwards. |
Created attachment 18993 [details] file that triggered issue Observed in Ghostscript 9.51, both Debian sid version and macOS Homebrew version. The command: gs -q -dSAFER -dBATCH -dNOPAUSE -sDEVICE=png16m -dFirstPage=1 -o out.png -f vector.pdf causes a SIGFPE, unlike Ghostscript 9.50 and all older versions. If `-dFirstPage=1` is removed, there is no issue.