Bug 703783

Summary: Segmentation fault with named ANN pdfmark
Product: Ghostscript Reporter: Alexander Grahn <a.grahn>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED FIXED    
Severity: normal CC: evan.cooch
Priority: P4    
Version: 9.54.0   
Hardware: PC   
OS: All   
Customer: Word Size: ---
Attachments: Example input file for ps2pdf

Description Alexander Grahn 2021-04-12 21:37:22 UTC
Created attachment 20923 [details]
Example input file for ps2pdf

ps2pdfwr device stops with `Command terminated' on Linux when it processes a named ANN pdfmark (key /_objdef {...}).

This used to work up to version 9.53.3 and it allowed more key-value pairs to be post-added to the annotation dictionary.
Comment 1 Alexander Grahn 2021-04-13 14:28:39 UTC
It seems that the bug was introduced with commit 

6a1f7167cf45d23c4e1faec3ef37fb4b9e5d7a53

on Wed, 23rd Sep. (Found by bisecting commit history)
Comment 2 Ken Sharp 2021-04-19 09:59:52 UTC
Fixed in commit 50dd527e638463fe036fec4b38915151aab9f940
Comment 3 Ken Sharp 2021-09-11 11:13:23 UTC
*** Bug 704351 has been marked as a duplicate of this bug. ***