[Kdenlive-devel] kthumb crash? (was Re: [PATCH mlt] Clear audio and video context to NULL)

Dan Dennedy dan at dennedy.org
Fri Oct 28 17:33:30 UTC 2011


On Thu, Oct 27, 2011 at 10:51 PM, Mikko Rapeli <mikko.rapeli at iki.fi> wrote:
> Loading an older project with latest mlt and kdenlive I get:
>
> Starting program: /usr/bin/kdenlive /home/mcfrisk/video/20110116_syöte_putskua/freeride_tiiseri_2011_03.kdenlive
[...]
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xacac4b70 (LWP 18720)]
> 0xad9f314c in filter_get_audio (frame=0x8546f60, buffer=0xacac417c,
>    format=0xacac4274, frequency=0x95e7250, channels=0x95e7254,
>    samples=0xacac4270) at filter_audiochannels.c:87
> 87                                              new_buffer[ ( i * *channels ) + j ]     = ((int16_t*)(*buffer))[ ( i * channels_avail ) + j ];
[...]
>        channels_avail = 1953853535

The filter received an insane amount of audio channels from its
producer (probably avformat), but I have no idea how it happened -
that is the problem with backtraces. Sure, one can add some validation
around this variable, but it is not going to fix the root cause. It
will just fail somewhere else on the next test run.

-- 
+-DRD-+




More information about the Kdenlive mailing list