https://bugs.kde.org/show_bug.cgi?id=440065

--- Comment #6 from Mitten Orvan <mitte...@gmail.com> ---
I tried to make producer_avformat_close hold the video_mutex, but I of course
had to make it conditional on is_mutex_init, and the mutexes are not inited
until producer_open, and the sequence of events seems to be.

1. Producer is created and added to the cache.
2. Something else is put to the cache, which causes this producer to be
   closed with producer_avformat_close.
3. producer_open is called on this producer.

So the mutexes are not available yet in the crashing case. As mentioned, this
occurs with nested projects. Could the stack of projects be filling the cache
such that not all the necessary producers fit in it at the same time, or
something? I have little understanding of this code base, that's just what came
to mind from the "object is expelled from cache before being created" + "occurs
with nested projects". Is the child project a producer? And do it's clips get
loaded as new producers during its initialization, such that it could be the
one being expelled like this? Can I increase the size of the cache somehow?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to