[Ffmpeg-devel] weird snow segfaults on amd64

Michael Niedermayer michaelni
Sun Apr 17 16:21:40 CEST 2005


Hi

On Sunday 17 April 2005 16:00, Michael Niedermayer wrote:
> Hi
>
> On Sunday 17 April 2005 04:39, Corey Hickey wrote:
> > Hello,
> >
> > Mencoder is segfaulting most of the times I try to use snow. The odd
> > part is that it's not 100% reproducible. Actually, it's 0% reproducible.
> > Every time I run mencoder the output is different; most of the time it
> > segfaults on the first few frames, and about 5% of the time it gets to
> > around the 85th frame before segfaulting anyway.
> >
> > I built an i386 mencoder and ran it under my i386 chroot, and that used
> > snow without any problems, so I'm pretty sure the problem isn't my
> > machine being a whole lot more flaky than I thought. :)
> >
> > The command I'm using is:
> > mencoder snow-segfault.vob -nosound -ofps 24000/1001 -ovc lavc \
> > -lavcopts vcodec=snow:vstrict=-1
> >
> > The source file doesn't seem to matter (it even happens with
> > /dev/urandom). I've uploaded a 1MB clip to:
> > ftp://ftp.mplayerhq.hu/MPlayer/incoming/snow-amd64/
> > --and--
> > http://fatooh.org/files/mpbug/snow-amd64/
> >
> > There's also a sample 'mencoder -v' log, a gdb log, and the text of this
> > email (the two logs are attached, too).
> >
> > ======================================================================
> > Here's the system I'm using:
> >
> > MEncoder dev-CVS-050416-15:14-3.4.4 (C) 2000-2005 MPlayer Team
> >
> > Debian-amd64 "Pure64 Sid"
> >
> > Linux bugfood 2.6.11.6 #1 Fri Apr 1 12:04:37 PST 2005 x86_64 GNU/Linux
> >
> > libc6 version 2.3.2
> >
> > gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-12)
> >
> > GNU ld version 2.15
> >
> > GNU assembler 2.15
> >
> > =======================================================================
> >
> > Please tell me if there's anything more I can do; I'd be happy to assist.
>
> there are no line numbers in the gdb output ...

btw, maybe try to disable the START/STOP_TIMER macros (a trivial #if ... -> 
#if 0 change in common.h), i think gcc misscompiles them on AMD64 

[...]

-- 
Michael

"nothing is evil in the beginning. Even Sauron was not so." -- Elrond





More information about the ffmpeg-devel mailing list