[CinCV TNG] Debugging motion blur

Nicola Ferralis feranick at hotmail.com
Fri Apr 10 17:02:56 CEST 2015


Thanks very much, Petter! Yes, it's the track pointer that causes the 
issue. Valgrind report below.

==3180== Invalid read of size 8
==3180==    at 0x65FB5E: PluginServer::get_camera(float*, float*, 
float*, long, int) (in /usr/bin/cinelerra)
==3180==    by 0x2CD4FBDB: MotionBlurMain::process_realtime(VFrame*, 
VFrame*) (in /usr/lib/cinelerra/motionblur.so)
==3180==    by 0x66242A: PluginVClient::process_buffer(VFrame*, long, 
double) (in /usr/bin/cinelerra)
==3180==    by 0x65E79F: PluginServer::process_buffer(VFrame**, long, 
double, long, int) (in /usr/bin/cinelerra)
==3180==    by 0x657BC5: PluginArray::run_plugins() (in /usr/bin/cinelerra)
==3180==    by 0x60DD86: MenuEffectThread::run() (in /usr/bin/cinelerra)
==3180==    by 0x52365B5: Thread::entrypoint(void*) (in 
/usr/lib/libguicast.so.1.0.0)
==3180==    by 0x9F12181: start_thread (pthread_create.c:312)
==3180==    by 0xA73F00C: clone (clone.S:111)
==3180==  Address 0x458 is not stack'd, malloc'd or (recently) free'd
==3180==
signal_entry: got SIGSEGV my pid=3180 execution table size=16:
     mainerror.C: show_error_local: 176


Thanks,
Nicola


On 4/10/15 12:29 AM, Petter Reinholdtsen wrote:
> [Nicola Ferralis]
>> I am not sure how to proceed from here. I hope Hannes and Einar would
>> have some comments/suggestions.
>
> Try running using valgrind.  Try printing all the pointers before
> calling plugin->track->automation->get_camera(), ie print plugin,
> plugin->track, plugin->track->automation to see if any of the pointers
> are bogus.
>




More information about the Cinelerra mailing list