I am trying to use GPL ghostscript 8.15 on Alpha Server with OS Tru64 5.1A/B. After compiling gs seems to work fine. But after I add some Chinese true type fonts in cidfmap file, gs got a "core dump" when I try to open a ps file with Chinese fonts. I used "dbx" to find where the bug comes from but only got such lines: -------- signal Floating point exception Possible Integer Divide by Zero at >*[_OtsRemainder64Unsigned, 0x3ff801db320] ret zero, (ra), 1 -------- I have used ESP ghostscript 7.07 with the same ps files and Chinese true type font, everything is ok. So I think the bug is not from ps files or font. Any help is appreciated.
Please try the latest released version - 8.51 and the current CVS version. There was a bug in 64-bit code fixed recently. GS developers can also test the current version of Ghostscript but we need the following: (1) The sample file (2) The font file (3) Your cidfmap file
Created attachment 1541 [details] cidfmap file in lib directory
Created attachment 1542 [details] tar file contains CMap CIDFont Font in Resource directory
Created attachment 1543 [details] fonts.dir in the same directory as font file In my system the font directory is /users/ems/open2000e/data/NariFont/ttf/
Created attachment 1544 [details] true type font file in /users/ems/open2000e/data/NariFont/ttf/
Created attachment 1545 [details] sample ps file
Created attachment 1546 [details] another sample ps file
I have tried ghostscript 8.51 but got the same core dump. So I would like to show my configuration files and sample files. Hope these could make some hint. Thanks.
Comment on attachment 1541 [details] cidfmap file in lib directory file name is cidfmap
Comment on attachment 1542 [details] tar file contains CMap CIDFont Font in Resource directory file name is f.tar.gz
Comment on attachment 1543 [details] fonts.dir in the same directory as font file file name is fonts.dir
Comment on attachment 1544 [details] true type font file file name is NariSong.ttf.gz
Comment on attachment 1545 [details] sample ps file file name is dbi.ps
Comment on attachment 1546 [details] another sample ps file file name is ge.ps
I found a bug #688047 seems to have the same problem. So I followed the instructions described in that bug report. GS works now. Thanks.
*** This bug has been marked as a duplicate of 688047 ***