[FFmpeg-devel] [PATCH ffmpeg] Try to fix kdenlive crash

Mikko Rapeli mikko.rapeli at iki.fi
Wed Sep 28 22:44:21 CEST 2011


On Wed, Sep 28, 2011 at 10:39:38PM +0200, Michael Niedermayer wrote:
> On Wed, Sep 28, 2011 at 10:42:01PM +0300, Mikko Rapeli wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 0x557feb70 (LWP 21733)]
> > 0xb052d0fd in avcodec_decode_video2 (avctx=0x172c3e40, picture=0x174217a0,
> [...]
> > Quit
> > (gdb) print avctx
> > $1 = (AVCodecContext *) 0x172c3e40
> > (gdb) print avctx->codec
> > $2 = (struct AVCodec *) 0x0
> 
> wild guess, you call avcodec_decode_video2() before opening the codec
> or after closing it.
> 
> Is this what you want to do ?

Propably :}

Maybe Dan can have a comment on this -- original mail with full gdb trace
attached.

I dont even claim to understand what kdenlive and mlt do, or fail to do
properly. But while trying to edit some videos I come up with various
crashes which I desperately try to fix so I can continue editing the
damn videos. And I sent out the patches I've hacked together and run
for a week now.

-Mikko
-------------- next part --------------
An embedded message was scrubbed...
From: Mikko Rapeli <mikko.rapeli at iki.fi>
Subject: [PATCH ffmpeg] Try to fix kdenlive crash
Date: Wed, 28 Sep 2011 22:42:01 +0300
Size: 8869
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110928/022b6790/attachment.mht>


More information about the ffmpeg-devel mailing list