Bug 118205 - segfault in ghostscript
Summary: segfault in ghostscript
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: ConsoleApps (show other bugs)
Version: RC 4
Hardware: All All
: P5 - None : Normal
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 12:12 UTC by Reinhard Max
Modified: 2005-09-23 14:42 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
The file that makes gs segfault (63.63 KB, application/postscript)
2005-09-21 12:16 UTC, Reinhard Max
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reinhard Max 2005-09-21 12:12:41 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...
Comment 1 Reinhard Max 2005-09-21 12:16:16 UTC
Created attachment 50537 [details]
The file that makes gs segfault
Comment 2 Reinhard Max 2005-09-21 12:24:19 UTC
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.
Comment 3 Dr. Werner Fink 2005-09-21 13:01:18 UTC
10, 9.3 are gs 8.15 based
9.2 is gs 7.07 based
Comment 4 Dr. Werner Fink 2005-09-22 15:33:12 UTC
Fixed
Comment 5 Dr. Werner Fink 2005-09-23 14:42:33 UTC
Fixed