Description of problem: gs cores in gx_path_new at src/gxpath.c:441 for attached file, with ijsgutenprint. Version-Release number of selected component (if applicable): ghostscript-8.62-4.fc9.i386 How reproducible: always, with said sample file and args. unable to reproduce otherwise. Steps to Reproduce: 1. in shell prompt, b=/usr/bin/gs arg="-sDEVICE=ijs -sIjsServer=ijsgutenprint.5.0 -r360x360 080728.gs.cores.at.gxpath.c.441.ps" export b arg 2. $b $arg 3. gdb $b gdb> run $arg Actual results: - in step 2, got "Segmentation fault" in 1 sec. - in step 3, got Program received signal SIGSEGV, Segmentation fault. 0x05a68956 in gx_path_new (ppath=<value optimized out>) at src/gxpath.c:441 441 rc_free_path_segments_local(psegs->rc.memory, psegs, "gx_path_new"); Expected results: no core dump. Additional info: The issue was first noticed when printing using CUPS, to a Epson Stylus Color 880 printer. The attached file would not print, and in /var/log/messages this line shows up: Jul 28 22:25:59 formosa kernel: gs[19194]: segfault at 4 ip 0447c956 sp bfd62380 error 4 in libgs.so.8.62[4108000+442000]
Created attachment 312839 [details] the ps file that caused the core dump (must go with proper args)
Compiled gs with "-g"; running with gdb, got this: Program received signal SIGSEGV, Segmentation fault. 0x0833cdfc in gx_path_new (ppath=0xbfa56200) at ./src/gxpath.c:441 441 rc_free_path_segments_local(psegs->rc.memory, psegs, "gx_path_new"); (gdb) p psegs $1 = (gx_path_segments *) 0x0
ghostscript-8.63-1.fc9 has been submitted as an update for Fedora 9
Verified with ghostscript-8.63-1.fc10.i386. Worked well with sample ps file. (Haven't seen this fix in fc9 updates-testing yet; couldn't wait, used rawhide.)
ghostscript-8.63-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghostscript'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-7035
Verified in ghostscript-8.63-1.fc9. Works well. Please close ticket. Thanks for your effort.
Any plan to publish this fix? It has been 1.5 months since it was fixed.
I pushed it yesterday so it will be available shortly.
ghostscript-8.63-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.