[Pkg-fonts-bugs] Bug#477947: [Pkg-fonts-devel] Bug#477947: fontforge: Segm fault when saving a font

Davide Viti zinosat at tiscali.it
Tue Apr 29 19:01:42 UTC 2008


Hi Kęstutis,

On Tue, Apr 29, 2008 at 10:29:57AM +0300, Kęstutis Biliūnas wrote:
> > Loading the font from
> > 
> > http://www.interq.or.jp/www1/anzawa/bin/aoyagikouzan2otfv11.lzh
> > 
> > works, but when I try to save it into PS Type1 or PS CID fontforge
> > dies shortly after hitting the save button.
> 
> Font Generation works fine, but validation is broken for CID keyed
> fonts. Turn off font validation when using this version of fontforge. 
> 
> This bug is fixed on the pkg-fonts SVN repository and will be closed
> on the next upload. I am no longer the maintainer of this package, so
> I can't to send the 'pending' command to control at bugs.debian.org.  
> 
> New package unofficial revision can be found on my repository at
> http://kebil.ghost.lt/debian/pool/fontforge/ .
> 

I've tried to rebuild the package using a fresh checkout of the debian
repo and build goes fine (patch 022_validate.diff is applied with no
errors); I then open the otf file mentioned in the BR, but when I try
to "File -> Generate fonts... -> PS CID" FF  segfalts.

Here's a backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71c36b0 (LWP 7153)]
0xb7c63830 in SFValidate () from /usr/lib/fontforge/libfontforge.so.1
(gdb) bt
#0  0xb7c63830 in SFValidate () from /usr/lib/fontforge/libfontforge.so.1
#1  0x08163ec6 in DoSave (d=0xbf9dec70, path=0x8465c48) at savefontdlg.c:1464
#2  0x08164d86 in GFD_doesnt (gio=0x845c7f0) at savefontdlg.c:1580
#3  0xb7a8b602 in _GIO_reporterror () from /usr/lib/fontforge/libgdraw.so.3
#4  0xb7a8b934 in ?? () from /usr/lib/fontforge/libgdraw.so.3
#5  0x0845c7f0 in ?? ()
#6  0x00000002 in ?? ()
#7  0xbf9db384 in ?? ()
#8  0xbf9db388 in ?? ()
#9  0xb72617ed in malloc () from /lib/libc.so.6
#10 0xb7a8bcfa in _GIO_localDispatch () from /usr/lib/fontforge/libgdraw.so.3
#11 0xb7a8b3bb in ?? () from /usr/lib/fontforge/libgdraw.so.3
#12 0x0845c7f0 in ?? ()
#13 0xb7ac1233 in ?? () from /usr/lib/fontforge/libgdraw.so.3
#14 0x0845c740 in ?? ()
#15 0xb7ac1233 in ?? () from /usr/lib/fontforge/libgdraw.so.3
#16 0x0845c7f0 in ?? ()
#17 0xb7f1cc50 in ?? () from /lib/ld-linux.so.2
#18 0x08164f88 in _GFD_SaveOk (d=0xb7ac7564) at savefontdlg.c:1633
Backtrace stopped: frame did not save the PC

Im I missing anything?

regards,
Davide






More information about the Pkg-fonts-bugs mailing list