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

Dan Dennedy dan at dennedy.org
Fri Oct 14 20:31:24 UTC 2011


On Fri, Oct 14, 2011 at 1:00 PM, jb <jb at kdenlive.org> wrote:
> On Wednesday 12 October 2011 21:17:32 Mikko Rapeli wrote:
>> On Wed, Oct 12, 2011 at 10:25:57AM -0700, Dan Dennedy wrote:
>> > On Tue, Oct 11, 2011 at 11:02 PM, Mikko Rapeli <mikko.rapeli at iki.fi>
> wrote:
>> > > On Tue, Oct 11, 2011 at 03:32:57PM -0700, Dan Dennedy wrote:
>> > >> Can you please test with this experiment?
>> > >> put a return on the first line within
>> > >> mlt_service.c:mlt_service_cache_set_size() and change
>> > >> mlt_cache.c:DEFAULT_CACHE_SIZE to 100
>
> Hi!
>
> I wanted to let you know that I rewrote thread handling in Kdenlive. Now, we
> use a maximum of 3 concurrent threads (to create the audio / video thumbnails
> and query a clip's info).

great!

> I also just added a check in Kdenlive that will dynamically increase the cache
> size for avformat_producer to the number of tracks + 4, so we should hopefully
> be safe on that side.

I was thinking to do something like that in mlt_multitrack where I am
currenty setting that value, but I had not yet decided on whether to
add a constant or use double the track count or other.

> Mikko, I would be interested to know if these changes have an influence on the
> crashes you experienced.

I was really curious about that huge stack of invalid clip dialogs.
What do you think is going on there?

-- 
+-DRD-+




More information about the Kdenlive mailing list