Stress testing with the recent movit commits: crash when moving matte transition around
I also have multi threading active, if it's worth doing... it's worth overdoing! :-D
Thread 256 "RenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff57ff7700 (LWP 20731)]
yuv422_to_yuv422p (height=32767, width=1920, yuv422p=0x7ffd364e5e70 "\243\243\243\243\243\243\243\243\001", yuv422=0x0) at filter_movit_convert.cpp:44
warning: Source file is more recent than executable.
44 *Y++ = *yuv422++;
(gdb) backtrace
#0 0x00007fffb0ef9d10 in yuv422_to_yuv422p (height=32767, width=1920, yuv422p=0x7ffd364e5e70 "\243\243\243\243\243\243\243\243\001", yuv422=0x0)
at filter_movit_convert.cpp:44
#1 0x00007fffb0ef9d10 in make_input_copy(mlt_image_format, uint8_t*, int, int) (format=mlt_image_yuv422, image=<optimized out>, width=width@entry=1920, height=height@entry=1080) at filter_movit_convert.cpp:505
#2 0x00007fffb0efbd78 in convert_image(mlt_frame, uint8_t**, mlt_image_format*, mlt_image_format) (frame=0x7ffd5bc5afd0, image=0x7fff57ff66e8, format=0x7fff68540bbc, output_format=mlt_image_glsl) at filter_movit_convert.cpp:545
#3 0x00007ffff371a84e in mlt_frame_get_image (self=0x7ffd5bc5afd0, buffer=0x7fff57ff66e8, format=0x7fff68540bbc, width=0x7fff57ff6bd4, height=0x7fff57ff6bd8, writable=0) at mlt_frame.c:626
#4 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffd5bc5afd0, buffer=buffer@entry=0x7fff57ff66e8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#5 0x00007fffb0f0413f in get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (a_frame=a_frame@entry=0x7ffd5bc5afd0, image=image@entry=0x7fff57ff67f8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0)
at transition_movit_overlay.cpp:49
#6 0x00007ffff371a7ef in mlt_frame_get_image (self=0x7ffd5bc5afd0, buffer=0x7fff57ff67f8, format=0x7fff68540bbc, width=0x7fff57ff6bd4, height=0x7fff57ff6bd8, writable=0) at mlt_frame.c:620
#7 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffd5bc5afd0, buffer=buffer@entry=0x7fff57ff67f8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#8 0x00007fffb0f0413f in get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (a_frame=a_frame@entry=0x7ffd5bc5afd0, image=image@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0)
at transition_movit_overlay.cpp:49
#9 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffd5bc5afd0, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#10 0x00007ffff3730e79 in producer_get_image (self=self@entry=0x7ffebccd9420, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_tractor.c:371
#11 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffebccd9420, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#12 0x00007fffb0f01541 in get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (frame=frame@entry=0x7ffebccd9420, image=image@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0)
at filter_movit_lift_gamma_gain.cpp:56
#13 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffebccd9420, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#14 0x00007fffb0f03248 in get_image(mlt_frame, uint8_t**, mlt_image_format*, int*, int*, int) (frame=frame@entry=0x7ffebccd9420, image=image@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0)
at filter_movit_white_balance.cpp:62
#15 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffebccd9420, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#16 0x00007fffaa2ca150 in filter_get_image (frame=frame@entry=0x7ffebccd9420, image=image@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=---Type <return> to continue, or q <return> to quit---
width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at filter_frei0r.c:32
#17 0x00007ffff371a7ef in mlt_frame_get_image (self=self@entry=0x7ffebccd9420, buffer=buffer@entry=0x7fff57ff6be8, format=format@entry=0x7fff68540bbc, width=width@entry=0x7fff57ff6bd4, height=height@entry=0x7fff57ff6bd8, writable=writable@entry=0) at mlt_frame.c:620
#18 0x00007ffff372e335 in consumer_read_ahead_thread (arg=<optimized out>) at mlt_consumer.c:907
#19 0x0000555555b3dea5 in RenderThread::run() (this=0x7ffec8000b40) at /home/bruno/build/kdenlive/src/monitor/glwidget.cpp:1460
#20 0x00007fffef69f7ec in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fffead086db in start_thread (arg=0x7fff57ff7700) at pthread_create.c:463
#22 0x00007fffeeb9f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
```![Screenshot_20200408_133749](/uploads/55e559d4c4520f73ba86d155352c721a/Screenshot_20200408_133749.png)
Edited by Bruno Santos