Bug 688217 - core dump on tru64 when using true type font
Summary: core dump on tru64 when using true type font
Status: RESOLVED DUPLICATE of bug 688047
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Font API (show other bugs)
Version: 8.15
Hardware: DEC OSF/1
: P3 major
Assignee: Stefan Kemper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 01:56 UTC by Xu Manjiang
Modified: 2007-12-13 12:55 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
cidfmap file in lib directory (1.22 KB, application/octet-stream)
2005-07-19 19:53 UTC, Xu Manjiang
Details
tar file contains CMap CIDFont Font in Resource directory (2.48 MB, application/octet-stream)
2005-07-19 19:57 UTC, Xu Manjiang
Details
fonts.dir in the same directory as font file (823 bytes, application/octet-stream)
2005-07-19 20:04 UTC, Xu Manjiang
Details
true type font file (5.54 MB, application/octet-stream)
2005-07-19 20:12 UTC, Xu Manjiang
Details
sample ps file (61.85 KB, application/octet-stream)
2005-07-19 20:13 UTC, Xu Manjiang
Details
another sample ps file (1.44 MB, application/octet-stream)
2005-07-19 20:15 UTC, Xu Manjiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xu Manjiang 2005-07-19 01:56:20 UTC
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.
Comment 1 Alex Cherepanov 2005-07-19 09:03:35 UTC
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
Comment 2 Xu Manjiang 2005-07-19 19:53:40 UTC
Created attachment 1541 [details]
cidfmap file in lib directory
Comment 3 Xu Manjiang 2005-07-19 19:57:44 UTC
Created attachment 1542 [details]
tar file contains CMap CIDFont Font in Resource directory
Comment 4 Xu Manjiang 2005-07-19 20:04:57 UTC
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/
Comment 5 Xu Manjiang 2005-07-19 20:12:28 UTC
Created attachment 1544 [details]
true type font file

in /users/ems/open2000e/data/NariFont/ttf/
Comment 6 Xu Manjiang 2005-07-19 20:13:27 UTC
Created attachment 1545 [details]
sample ps file
Comment 7 Xu Manjiang 2005-07-19 20:15:17 UTC
Created attachment 1546 [details]
another sample ps file
Comment 8 Xu Manjiang 2005-07-19 20:17:08 UTC
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 9 Xu Manjiang 2005-07-19 20:19:10 UTC
Comment on attachment 1541 [details]
cidfmap file in lib directory

file name is cidfmap
Comment 10 Xu Manjiang 2005-07-19 20:19:36 UTC
Comment on attachment 1542 [details]
tar file contains CMap CIDFont Font in Resource directory

file name is f.tar.gz
Comment 11 Xu Manjiang 2005-07-19 20:20:01 UTC
Comment on attachment 1543 [details]
fonts.dir in the same directory as font file

file name is fonts.dir
Comment 12 Xu Manjiang 2005-07-19 20:20:23 UTC
Comment on attachment 1544 [details]
true type font file

file name is NariSong.ttf.gz
Comment 13 Xu Manjiang 2005-07-19 20:20:40 UTC
Comment on attachment 1545 [details]
sample ps file

file name is dbi.ps
Comment 14 Xu Manjiang 2005-07-19 20:20:57 UTC
Comment on attachment 1546 [details]
another sample ps file

file name is ge.ps
Comment 15 Xu Manjiang 2005-07-21 00:59:24 UTC
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.
Comment 16 Alex Cherepanov 2005-07-21 03:43:38 UTC

*** This bug has been marked as a duplicate of 688047 ***