Crash when moving many clips
Got a crash. I added 3 video clips and 2 audio clips on separate tracks and edited the parts I wanted. Afterwards I selected everything and shift + drag selected all the clips to move them to the beginning of the timeline and the crash happened. Didn't get any GDB log though.
This is how the timeline looked like before the crash:
I am unable to reproduce. (Using MLT master.)
qml: +++++++++++++++++++ DRAG CLICKED +++++++++++++ ----- // SHOW KEYFRAMES: true MUTEX LOCK!!!!!!!!!!!! setmodel MUTEX UNLOCK!!!!!!!!!!!! setmodel MUTEX LOCK!!!!!!!!!!!! loadEffects: ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 ===================================================== Requested rowCount QModelIndex(-1,-1,0x0,QObject(0x0)) 1 MUTEX UNLOCK!!!!!!!!!!!! loadEffects MUTEX LOCK!!!!!!!!!!!! adjustdelegate: 76 MUTEX UNLOCK!!!!!!!!!!!! adjustdelegate ================================================================= ==3543==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60700131249c at pc 0x55fcf25c36fc bp 0x7ffdc109ae90 sp 0x7ffdc109ae88 READ of size 4 at 0x60700131249c thread T0 #0 0x55fcf25c36fb (/usr/bin/kdenlive+0x1bb66fb) #1 0x55fcf25c70eb (/usr/bin/kdenlive+0x1bba0eb) #2 0x55fcf25c2043 (/usr/bin/kdenlive+0x1bb5043) #3 0x55fcf25c04d4 (/usr/bin/kdenlive+0x1bb34d4) #4 0x55fcf25bf749 (/usr/bin/kdenlive+0x1bb2749) #5 0x55fcf241b3ad (/usr/bin/kdenlive+0x1a0e3ad) #6 0x55fcf23f5474 (/usr/bin/kdenlive+0x19e8474) #7 0x55fcf23f26e1 (/usr/bin/kdenlive+0x19e56e1) #8 0x55fcf23f1257 (/usr/bin/kdenlive+0x19e4257) #9 0x55fcf23fa9e3 (/usr/bin/kdenlive+0x19ed9e3) #10 0x55fcf14ad0f8 (/usr/bin/kdenlive+0xaa00f8) #11 0x55fcf14a577f (/usr/bin/kdenlive+0xa9877f) #12 0x55fcf14a5470 (/usr/bin/kdenlive+0xa98470) #13 0x7fb89d2e093d (/usr/lib/libQt5Qml.so.5+0x2dc93d) #14 0x7fb89d1cf56d (/usr/lib/libQt5Qml.so.5+0x1cb56d) #15 0x7fb89d1d1a4b (/usr/lib/libQt5Qml.so.5+0x1cda4b) #16 0x7fb89d1d2a58 (/usr/lib/libQt5Qml.so.5+0x1cea58) #17 0x7fb89d25e1e5 (/usr/lib/libQt5Qml.so.5+0x25a1e5) #18 0x7fb88f11d2b1 (/memfd:JITCode:/usr/lib/libQt5Qml.so.5 (deleted)+0x22b1) 0x60700131249c is located 4 bytes to the left of 72-byte region [0x6070013124a0,0x6070013124e8) allocated by thread T0 here: #0 0x55fcf10f8049 (/usr/bin/kdenlive+0x6eb049) #1 0x55fcf13370eb (/usr/bin/kdenlive+0x92a0eb) #2 0x55fcf1337018 (/usr/bin/kdenlive+0x92a018) #3 0x55fcf1336a1f (/usr/bin/kdenlive+0x929a1f) #4 0x55fcf25bd410 (/usr/bin/kdenlive+0x1bb0410) #5 0x55fcf241ada5 (/usr/bin/kdenlive+0x1a0dda5) #6 0x55fcf23f51ff (/usr/bin/kdenlive+0x19e81ff) #7 0x55fcf23f26e1 (/usr/bin/kdenlive+0x19e56e1) #8 0x55fcf23f1257 (/usr/bin/kdenlive+0x19e4257) #9 0x55fcf23fa9e3 (/usr/bin/kdenlive+0x19ed9e3) #10 0x55fcf14ad0f8 (/usr/bin/kdenlive+0xaa00f8) #11 0x55fcf14a577f (/usr/bin/kdenlive+0xa9877f) #12 0x55fcf14a5470 (/usr/bin/kdenlive+0xa98470) #13 0x7fb89d2e093d (/usr/lib/libQt5Qml.so.5+0x2dc93d) SUMMARY: AddressSanitizer: heap-buffer-overflow (/usr/bin/kdenlive+0x1bb66fb) Shadow bytes around the buggy address: 0x0c0e8025a440: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa 00 00 0x0c0e8025a450: 00 00 00 00 00 00 00 fa fa fa fa fa fa fa fa fa 0x0c0e8025a460: fa fa fa fa fa fa fa fa fa fa fd fd fd fd fd fd 0x0c0e8025a470: fd fd fd fd fa fa fa fa fa fa fa fa fa fa fa fa 0x0c0e8025a480: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c0e8025a490: fa fa fa[fa]00 00 00 00 00 00 00 00 00 fa fa fa 0x0c0e8025a4a0: fa fa 00 00 00 00 00 00 00 00 00 fa fa fa fa fa 0x0c0e8025a4b0: 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa fa 0x0c0e8025a4c0: fa fa fa fa fa fa fa fa fa fa fa fa 00 00 00 00 0x0c0e8025a4d0: 00 00 00 00 00 fa fa fa fa fa 00 00 00 00 00 00 0x0c0e8025a4e0: 00 00 00 fa fa fa fa fa 00 00 00 00 00 00 00 00 Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb Shadow gap: cc ==3543==ABORTING [farid@wakti build]$
Edited by Farid Abdelnour