Bug 691333

Summary: ufst build broken
Product: GhostPCL Reporter: norbert.janssen
Component: PCL fontsAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: NOTIFIED FIXED    
Severity: normal CC: henry.stiles, marcos.woehrmann
Priority: P1    
Version: master   
Hardware: PC   
OS: Windows XP   
Customer: 661 Word Size: ---

Description norbert.janssen 2010-05-21 14:33:33 UTC
make udebug COMPILE_INITS=1
(compiled with cygwin on windows pc).

in main: ufst-debugobj/pcl6 -sDEVICE=jpg -sOutputFile=page%d.jpg anytestfile

this crashed in fontinitialization.
the fopen(/usr/local/fontdata5.0/mtfonts/pcl45/plug__xi.fco) call ends up in gs/base/strmio.c::sfopen()
Because the mem==0 provided in sfopen there is a sigsegv.

I tried this with both COMPILE_INITS 0 and 1

I did not have time yet to dig into this further. But the PL_SCALER=afs is ok.
Comment 1 Henry Stiles 2010-05-21 15:26:40 UTC
Yes, sorry Norbert the ufst build configuration should be properly regression tested, we'll try to address this shortcoming.
Comment 2 Henry Stiles 2010-05-25 16:01:15 UTC
P1 for crash.
Comment 3 Chris Liddell (chrisl) 2010-05-25 16:27:53 UTC
I *strongly* suspect that this is because of changes we had to make to work around some of the global variable elimination work being undertaken. Unfortunately, some changes were needed in the UFST code, which I think is what is missing in this case.

I will email the update UFST file directly.
Comment 4 norbert.janssen 2010-05-27 11:40:28 UTC
This is indeed the case. Compiled in with the modified file. And it's ok.
Bug can be closed.
Comment 5 Chris Liddell (chrisl) 2010-05-27 12:13:53 UTC
(In reply to comment #4)
> This is indeed the case. Compiled in with the modified file. And it's ok.
> Bug can be closed.

Thanks!
Comment 6 Marcos H. Woehrmann 2011-09-18 21:46:42 UTC
Changing customer bugs that have been resolved more than a year ago to closed.