From mplayer-users Sun Feb 10 21:32:51 2008 From: "Wesley S." Date: Sun, 10 Feb 2008 21:32:51 +0000 To: mplayer-users Subject: Re: [MPlayer-users] Bug in libssa: memory leak and faulty rendering Message-Id: <8c2431840802101332v5e1db30fl8d5649869ad734d5 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=mplayer-users&m=120267918410874 2008/2/10, Wesley S. : > > 2008/2/10, Evgeniy Stepanov : > > > > On Sunday 10 February 2008 01:36:13 Wesley S. wrote: > > > Hi, a friend informed me of a bug in the current mplayer svn version. > > I > > > took a closer look at it and found out that a huge memleak is caused > > by > > > libssa. libssa will start eating away all the ram when the following > > line > > > gets processed, and mplayer will freeze: > > > "Dialogue: 0,0:01:39.09,0:01:44.04,f.o. > > > > > [GitS],,0000,0000,0000,,{\move(530,400,440,220)}{\frx-20}{\fry-50}{\frz-65} > > >{\fscy110}{\fscx120}{\fs55}{\1c&H376C56&\bord0\shad0.6}Niihama > > Prefectural > > > Police" > > > The culprit is the "fry"-function. When I set the fry-value higher > > mplayer > > > doesn't freeze. > > > > > > Probably related: a lot of things are dislocated on the screen when > > the > > > text is 'transformed'. I compared the libssa rendering with how > > VSFilter > > > renders everything, and there's a big difference. > > > There should probably be some extra error checking code somewhere to > > > prevent memleaks like this. > > > > Works fine here. I'd like to see the whole subtitle file (at least, > > headers) > > and font that is used in this line. > > > > Here's the full subtitle file: http://www.pastebin.ca/raw/899082 Excuse me, that was not the right subtitle file, it had the wrong thing commented, try this one: http://www.pastebin.ca/raw/899092 -- Wesley Stessens Human Knowledge Belongs To The World - Antitrust (2001) http://wesley.debianbox.be _______________________________________________ MPlayer-users mailing list MPlayer-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users