[MPlayer-dev-eng] [PATCH] dynamic font generation

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Mon Aug 26 21:47:20 CEST 2002


On Mon, Aug 26, 2002 at 06:32:13PM +0200, Jindrich Makovicka wrote:
> > 
> > > > anywya i've just applied your patches and it's still sig11ing for me (with
> > > > ft 2.0, the unicode routine using first/netxchat removed)
> > > 
> > > maybe fixed, but unless you send me the line where it crashed, I cannot be
> > > sure. sorry for the trouble but I wouldn't send this code if I didn't use it
> > > about a week without problems :)
> > 
> > yes, and sorry for that. i promised i'll look at it this weekend but was
> > busy with realaudio hacking and other things...
> > 
> > just tested this patch and still sig11's as soon as it wants to display any
> > osd:
> > 
> > ... blah blah ...
> 
> this could be a clue, let's see.

Ugh, well, I am afraid I am running out of ideas now. It would be useful
to add some printfs to see the suspicious vars. Certainly, 'increment' (and
probably newsize too) is bogus which causes realloc to fail. This may mean
that either freetype itself returns bogus charwidth or charheight (in
check_font) or something (charwidth, charheight, current_alloc) is
overwriten. If you could trace these variables a bit, it would be a great
help.

-- 
Jindrich Makovicka



More information about the MPlayer-dev-eng mailing list