[gs-bugs] [Bug 692811] pdf server crash

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Apr 5 17:16:08 UTC 2012


http://bugs.ghostscript.com/show_bug.cgi?id=692811

--- Comment #1 from Henry Stiles <henry.stiles at artifex.com> 2012-04-05 17:16:07 UTC ---
gs -Z? -sDEVICE=pdfwrite -o out-%d.pdf ~/postscript/plrm.pdf


The following is triggered during a restore:


GPL Ghostscript GIT PRERELEASE 9.06: ./psi/ilocate.c(541): Reference to free
object 0x1028684a8(304), in chunk 0x101730740!

in the debugger the object of interest seems to a cached pdf character:

p *pre->d.o.t.type
$7 = {
  ssize = 56, 
  sname = 0x1006324d4 "pdf_font_cache_elem_t", 
  shared = 0x0, o
  clear_marks = 0, 
  enum_ptrs = 0x100544458 <basic_enum_ptrs>, 
  reloc_ptrs = 0x10054466f <basic_reloc_ptrs>, 
  finalize = 0, 
  proc_data = 0x10083e9c0
}

So I thought perhaps there is something special that needs to be done with the
pdfwrite font cache to prevent the bad reference which should have been
included with Ray's changes to close the device per page, but that's a guess.

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list