Summary: | Segmentation fault when using dPDFSETTINGS | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Violeta <alba.rickman> |
Component: | PDF Writer | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sphinx.pinastri |
Priority: | P4 | ||
Version: | 9.26 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Violeta
2020-09-08 11:40:45 UTC
Please attach your PDF file. Also, I request that you test with the 9.53.0 release candidate available at https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/tag/ghostpdl-9.53.0rc2 If it works with that release, we've already fixed it (probably the case). Hi, Unfortunately I can't provide the PDF as it has private information. Is there anything else I could do instead? I have installed 9.53.0 and it still segfaults: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=Meeting_Brief_20200813_small-gs9.53.0.pdf Meeting_Brief_20200813.pdf GPL Ghostscript RELEASE CANDIDATE 2 9.53.0 (2020-08-27) Copyright (C) 2020 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. Processing pages 1 through 6. Page 1 Page 2 Page 3 Segmentation fault (core dumped) (In reply to Violeta from comment #3) > Unfortunately I can't provide the PDF as it has private information. Is > there anything else I could do instead? There are basically three options: 1) If you're prepared to share the file, just not publicly, send it to one of us. You can either email it (not exactly secure) or place it on a secure site and tell us (by email) how to retrieve it. You may find it easier to discuss this with us in real-time. You can talk to us in the #ghostscript IRC channel on freenode. Best time is UK office hours but there can be developers there more or less any time. 2) You can find another problem file which you can share, or redact/remove the private information from the original file (making sure it still fails afterwards, obviously). We can't work on your problem in the dark, we need the file and command line to find and solve the bug. 3) You could debug the problem yourself, we're open to accepting patches form the community, though we would need at least some explanation of the problem. I found a file that fails with -dPDFSETTINGS=/ebook but runs to completion without -dPDFSETTINGS. This happens on the current development version in debug and release builds. The file is too big to attach but can be downloaded here http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf Commit 89ff7003acfdc52e3d3bcca930de6961f33ae927 fixes this problem. While working on it I uncovered a different issue (which is unlikely ever to cause a real-world problem) and this is tracked in bug 702885 |