Bugzilla – Bug 118205
segfault in ghostscript
Last modified: 2005-09-23 14:42:33 UTC
I just ran into a segfault on 10.0 (both, i386 and x86_64), when I tried to process a PostScript file with the pswrite driver. The command line looked like this: gs -q -dNOPAUSE -sPAPERSIZE=a4 -dBATCH -sDEVICE=pswrite -sOutputFile=Tuerschild.ps2 Tuerschild.ps And a backtrace on x86_64 gave me this: #0 0x000000000066a24a in gx_default_fill_path () #1 0x00000000004f069a in gx_device_bbox_bbox () #2 0x0000000000587e5a in gdev_vector_fill_path () #3 0x00000000006780a8 in gx_fill_path () #4 0x0000000000653e89 in gs_erasepage () #5 0x0000000000448b69 in type1_cis_get_metrics () #6 0x0000000000449c9b in z1_set_cache () #7 0x000000000044a052 in z1_set_cache () #8 0x000000000044a355 in z1_set_cache () #9 0x000000000044a8c2 in charstring_execchar () #10 0x00000000004a5ec1 in gs_interpret () #11 0x000000000049c560 in gs_main_outwrite () #12 0x000000000049c70e in gs_main_run_string_end () #13 0x000000000049d4a2 in gs_main_init2 () #14 0x000000000049d5e4 in gs_main_run_start () #15 0x000000000049d809 in gs_main_run_start () #16 0x000000000049f470 in gs_main_init_with_args () #17 0x000000000043cfbf in main () I'll attach the Postscript file that caused this...
Created attachment 50537 [details] The file that makes gs segfault
The segfault also happens when I downgrade the ghostscript-library package to the version from 9.3, but downgrading both, ghostscript-library and ghostscript-x11 to the 9.2 version fixes it.
10, 9.3 are gs 8.15 based 9.2 is gs 7.07 based
Fixed