Summary: | SEGV in psdcmyk on 258-01.ps | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Alex Cherepanov <alex> |
Component: | Other Driver | Assignee: | Ray Johnston <ray.johnston> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Alex Cherepanov
2010-02-27 13:52:39 UTC
I haven't double checked but based on the svn regression report the following files also generate a seg fault with the psdcmyk device: 246-01.ps 272-01.ps Reproduced, and as expected, this is a 'compressed color list' issue. Probably the other devices that use compressed color list also fail (tiffsep, tiffsep1). Turning on -Z? shows the subtable that is still (somehow yet unknown) referenced, but that is "not in any chunk" (i.e. has been freed). The psdcmyk seg fault was caused by the gdevdevn.c compressed_color_list logic not using 'stable_memory' so a restore would free objects pointed to by the sub_level_ptrs array entries. Both the 'init' and 'add' functions are changed to use stable memory as of rev. 10905 As far as the other pseudo-random problems reported by Alex with other devices, if these still occur then one or more new, more specific bugs can be opened. |