[CinCV TNG] Debugging motion blur

Nicola Ferralis feranick at hotmail.com
Mon Apr 6 20:06:38 CEST 2015


Upon further testing with gdb (and further confirmed by adding debugging 
strings), it seems the crash takes places here in 
plugins/motionblur/motionblur.C, lines 356-360, in calling get_camera.
Among the *blur plugins, motionblur seems to be the only one using it.

Nicola



On 4/3/15 4:22 PM, Johannes Sixt wrote:
> Am 03.04.2015 um 06:05 schrieb Nicola Ferralis:
>> Hi, I am checking if there is any clue from the coverity scan that can
>> suggest why motion blur doesn't work. One interesting bit comes from:
>>
>> plugins/blur/blur.C, line 377:
>>
>> void BlurEngine::run()
>> {
>>          int i, j, k, l;
>>          int strip_size;
>>      while(1)
>>      {
>>          input_lock.lock();
>>          ...
>>
>>     lock: lock locks this->input_lock.mutex.
>>     CID 57861 (#1 of 1): Double lock (LOCK)322. double_lock: lock locks
>> this->input_lock.mutex twice.
>>
>> Essentially, there might be an issue with the lock leading to a program
>> hang...
>>
>> Not sure here, thoughts?
>
> Indeed, that looks wrong. It looks like these objects should not be
> Mutex, but Conditional. That does not explain why some of the blur
> plugins that use BlurEngine work, though.
>
> -- Hannes
>
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra




More information about the Cinelerra mailing list