[gs-bugs] [Bug 692234] Floating point exception with <8 bit/component CMYK devices and pspcl6

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue Jul 19 21:32:44 UTC 2011


James Cloos <cloos at jhcloos.com> changed:

           What    |Removed                     |Added
            Summary|Floating point exception    |Floating point exception
                   |with the x11cmyk device     |with <8 bit/component CMYK
                   |                            |devices and pspcl6

--- Comment #14 from James Cloos <cloos at jhcloos.com> 2011-07-19 21:32:42 UTC ---
That patch did not stop the div0 error.

With this .gdbinit in the ghostpdl top level dir:

break gx_render_device_DeviceN
break gx_imager_dev_ht_install


gdb --args ./language_switch/obj/pspcl6 -sDEVICE=x11cmyk

first breaks at gx_imager_dev_ht_install() with the null DEVICE.  continuing
breaks at gx_render_device_DeviceN() with dev->color_info.num_components == 4,
but with pdht->num_comp == pdht->num_dev_comp == 1.  So the bug is still there.

Note that this only occurs (in my testing) with the language switch build. 
gs(1) avoids calling gx_imager_dev_ht_install() with the null DEVICE.

Note also that this bug is not limited to x11cmyk.  It also hits the new cmyk
plane device plank (planc is OK because it uses 8 bits per plane) and every
other one, two or four bit/component cmyk device.

I changed the summary to point out those.

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