Re: [MPlayer-users] Segmentation fault in ff_fdct_sse2

mslama at email.cz mslama at email.cz
Tue Mar 6 11:13:23 CET 2007


> ------------ Původní zpráva ------------
> Od:  <mslama at email.cz>
> Předmět: Re: [MPlayer-users] Segmentation fault in ff_fdct_sse2
> Datum: 06.3.2007 10:47:15
> ----------------------------------------
> 
> > ------------ Původní zpráva ------------
> > Od: Guillaume POIRIER <poirierg at gmail.com>
> > Předmět: Re: [MPlayer-users] Segmentation fault in ff_fdct_sse2
> > Datum: 05.3.2007 17:22:44
> > ----------------------------------------
> > Hi,
> > 
> > On 3/5/07, mslama at email.cz <mslama at email.cz> wrote:
> > >
> > > > ------------ Původní zpráva ------------
> > > > Od: Guillaume POIRIER <poirierg at gmail.com>
> > > > Předmět: Re: [MPlayer-users] Segmentation fault in ff_fdct_sse2
> > > > Datum: 05.3.2007 16:33:38
> > > > ----------------------------------------
> > > > Hi,
> > > >
> > > > On 3/5/07, mslama at email.cz <mslama at email.cz> wrote:
> > > > > >
> > > > > > Looks like an unaligned mem access to me.
> > > > > >
> > > > > > Please try attached patch. It's not a proper fix I think, but It's
> the
> > > > > > best I could do within 2min of free time ;-)
> > > > > >
> > > > >
> > > > > Thanks. It does not crash now. Shall I use this patch or will there be
> > > > 'better' patch? :)
> > > >
> > > > Yeah, use the proper patch when I write it... until then ..... ;-)
> > > >
> > > > As I said, that patch was only meant to narrow down where the problem
> lies.
> > > >
> > > > I'm quite surprised that the problem didn't show up before. That code
> > > > has been there for a while.
> > > >
> > > > Could you please try compiling libavcodec/i386/fdct_mmx.c with
> > > > different levels of optimization? -00, 01, 02, 03?
> > > >
> > >
> > > Yes. Just tell me how to set it up.
> > 
> > rm libavcodec/i386/fdct_mmx.o
> > Edit OPTFLAGS, replace -04 by -00 (then 01, 02, and 03)
> > run make
> > and retry encoding.
> > 
> 
> Weird. It crashes for all options. (I edited config.mak and checked that it is
> really compiled with correct options)
> 
> I created short cut of my DV (just 5 frames it is about 700KB) and it crashes
> too even on first pass when I remove turbo option.
> Let me know where to put it or if I can send it directly to you by email. At
> this moment it will be faster/more efficient way how
> to handle it.
> 
> (Note: I do not use qdv.dll as it causes another segmentation fault during
> mencoder shutdown when it releases resource.)
> 
> Thanks
> 
> Marek
> 
> 



More information about the MPlayer-users mailing list