[CinCV TNG] Debugging motion blur

Nicola Ferralis feranick at hotmail.com
Mon Apr 13 14:43:21 CEST 2015

I have not modified the plugin in any way. Using, for example (it 
happens on any file I use):


the crash happens as follow:

1. Open the above file.
2. select all or a particular segment of the video
3. Run MotionBlur
4. the plugin panel opens. Leave settings as they appear (quicktime is 
5. As soon as you select OK, cinelerra crashes.

typical core dump:
signal_entry: got SIGSEGV my pid=6117 execution table size=16:
     trackcanvas.C: button_press_event: 5337
     bchash.C: copy_from: 276
     bchash.C: copy_from: 279
     bchash.C: copy_from: 288
     trackcanvas.C: button_press_event: 5348
     bchash.C: copy_from: 276
     bchash.C: copy_from: 279
     bchash.C: copy_from: 288
     vrender.C: run: 437
     vrender.C: run: 576
     bchash.C: copy_from: 276
     bchash.C: copy_from: 279
     bchash.C: copy_from: 288
     bchash.C: copy_from: 276
     bchash.C: copy_from: 279
     bchash.C: copy_from: 288
signal_entry: lock table size=18
     0x3f00d40 CWindowTool::input_lock CWindowTool::run
     0x2bd6cf0 BC_Synchronous::next_command BC_Synchronous::run
     0x42e6b20 TransportQue::output_lock PlaybackEngine::run
     0x42e7430 MainIndexes::input_lock MainIndexes::run 1
     0x4500640 ResourceThread::draw_lock ResourceThread::run
     0x4036340 TransportQue::output_lock PlaybackEngine::run
     0x7facfc854990 LoadClient::input_lock LoadClient::run
     0x7facfc854af0 LoadClient::input_lock LoadClient::run
     0x4600d20 BC_Repeater::pause_lock BC_Repeater::run
     0x3b42e30 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x41a8f20 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x40389b0 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x4603340 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x3dd1680 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x7fad1c2fea30 FileThread::output_lock FileThread::run 1
     0x42ea2a0 BC_WindowBase::event_condition BC_WindowBase::get_event
     0x7fad1c01d5b0 LoadClient::input_lock LoadClient::run
     0x7fad1c2ed5a0 LoadServer::client_lock LoadClient::run *
BC_Signals::dump_buffers: buffer table size=0
BC_Signals::delete_temps: deleting 0 temp files
SigHandler::signal_handler total files=1
Closing /home/feranick/Desktop/tiff.tif
Aborted (core dumped)


On 4/13/15 5:03 AM, Einar R√ľnkaru wrote:
> On 12 April 2015 at 23:07, Nicola Ferralis <feranick at hotmail.com
> <mailto:feranick at hotmail.com>> wrote:
>     Hi Einar,
>     Thanks much for following up. For me, motionblur crashes cinelerra
>     consistently, with any piece of video (or a tiff), regardless of the
>     format I select for the output. The easiest way is to use any tiff
>     and output as tiff. I tracked the problem down to pluginserver.C:1014:
>     plugin->track->automation->__get_camera(x, y, z, position, direction);
>     If you comment out this call, the plugin doesn't crash, but it
>     doesn't seem to do anything.
>     The issues seems to be in the plugin->track pointer. As cinelerra is
>     trying to access it, it crashes. You can check it out by trying to
>     print plugin->track (for example within void PluginServer::get_camera).
> track should point to track the plugin is attached to. How did you
> manage to create a plugin without valid track pointer? Track exists
> before user creates a plugin - the pointer should never be empty.
> Can you describe how exactly you reach to the crash?
> Einar

More information about the Cinelerra mailing list