Bug 354493 - Crash in an old file with Composite transition
Summary: Crash in an old file with Composite transition
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 10:23 UTC by aslanex
Modified: 2016-07-31 19:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aslanex 2015-10-28 10:23:29 UTC
Trying to edit an render a file with Composite transition. Made in some previous Kdenlive version, and now crashes every time when i move cursor to the transition, as well as when I render it.
Using version 15.08.1
It won't happen when changed the transition to something another and back, but I am not able to read the old values and thus change it.

Reproducible: Always

Steps to Reproduce:
1. Open some old file with Composite transition
2. Move the cursor to the transition
3. Kdenlive crashes



This is the problematic file part: http://imgur.com/tT5MZW4

Backtrace generated using GDB:

Thread 25 (Thread 0x7fff8ced7700 (LWP 13220)):
#0  0x00007fffae2e6a16 in scale_luma (invert=65535, src_height=0, src_width=0, src_buf=0x0, dest_height=1080, dest_width=1920, dest_buf=0x7fff7cc0e712)
    at transition_composite.c:599
#1  get_luma (height=1080, width=1920, properties=0x657fb40, self=0x657fb40) at transition_composite.c:745
#2  transition_get_image (a_frame=a_frame@entry=0x7fffb8056c10, image=image@entry=0x7fff8ced6d98, format=format@entry=0x27f586c, width=width@entry=0x7fff8ced6d84, 
    height=height@entry=0x7fff8ced6d88, writable=writable@entry=0) at transition_composite.c:1222
#3  0x00007ffff6fde9a7 in mlt_frame_get_image (self=self@entry=0x7fffb8056c10, buffer=buffer@entry=0x7fff8ced6d98, format=format@entry=0x27f586c, 
    width=width@entry=0x7fff8ced6d84, height=height@entry=0x7fff8ced6d88, writable=writable@entry=0) at mlt_frame.c:585
#4  0x00007ffff6ff47b9 in producer_get_image (self=self@entry=0x7fffb8002700, buffer=buffer@entry=0x7fff8ced6d98, format=format@entry=0x27f586c, 
    width=width@entry=0x7fff8ced6d84, height=height@entry=0x7fff8ced6d88, writable=writable@entry=0) at mlt_tractor.c:370
#5  0x00007ffff6fde9a7 in mlt_frame_get_image (self=self@entry=0x7fffb8002700, buffer=buffer@entry=0x7fff8ced6d98, format=format@entry=0x27f586c, 
    width=width@entry=0x7fff8ced6d84, height=height@entry=0x7fff8ced6d88, writable=writable@entry=0) at mlt_frame.c:585
#6  0x00007ffff6ff2024 in consumer_read_ahead_thread (arg=0x27e6760) at mlt_consumer.c:824
#7  0x000000000073a56d in RenderThread::run (this=0x7fff90000c40) at ../../src/monitor/glwidget.cpp:1121
#8  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff0a506aa in start_thread (arg=0x7fff8ced7700) at pthread_create.c:333
#10 0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7fffc77fe700 (LWP 13219)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff6ff22a3 in mlt_consumer_rt_frame (self=self@entry=0x27e6760) at mlt_consumer.c:1569
#2  0x00007fffc594a070 in consumer_thread (arg=0x27e6760) at consumer_sdl_audio.c:521
#3  0x00007ffff0a506aa in start_thread (arg=0x7fffc77fe700) at pthread_create.c:333
#4  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7fffa2af7700 (LWP 13217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff6ca8114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ffff6ca8159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ffff0a506aa in start_thread (arg=0x7fffa2af7700) at pthread_create.c:333
#4  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fff8edfd700 (LWP 13216)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffff2528496 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff2524003 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff0a506aa in start_thread (arg=0x7fff8edfd700) at pthread_create.c:333
#5  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7fff8f7fe700 (LWP 13215)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffff2528496 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff2524003 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff0a506aa in start_thread (arg=0x7fff8f7fe700) at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7fff8ffff700 (LWP 13132)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff275e27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff270475a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff25223d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff0a506aa in start_thread (arg=0x7fff8ffff700) at pthread_create.c:333
#8  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7fffa0a8d700 (LWP 13131)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff252855b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff68c5b3e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007ffff68c63c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffa0a8d700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7fffa128e700 (LWP 13130)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff275e29b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff270475a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff25223d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff0a506aa in start_thread (arg=0x7fffa128e700) at pthread_create.c:333
#8  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fffa1ce7700 (LWP 13129)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff252855b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007ffff68c5b3e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#3  0x00007ffff68c63c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#4  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffa1ce7700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7fffa462c700 (LWP 13124)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff275e27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff270475a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff25223d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff06e2f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff0a506aa in start_thread (arg=0x7fffa462c700) at pthread_create.c:333
#9  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fffa56f6700 (LWP 13123)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff275e27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff270475a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff25223d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff06e2f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff0a506aa in start_thread (arg=0x7fffa56f6700) at pthread_create.c:333
#9  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fffc7fff700 (LWP 13120)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffb4e5b12c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007ffff0a506aa in start_thread (arg=0x7fffc7fff700) at pthread_create.c:333
#3  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffd717f700 (LWP 13116)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd882128d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fffee718965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffd717f700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffd7bc0700 (LWP 13115)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f2572 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffdb6054c6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fffee718965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffd7bc0700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffd83c1700 (LWP 13114)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffee6f21ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3  0x00007fffee6f2339 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fffee718965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffd83c1700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffe1bea700 (LWP 13109)):
#0  0x00007ffff1b2c8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fffec9dabd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffec9dc74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe4983a39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007ffff25272be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff0a506aa in start_thread (arg=0x7fffe1bea700) at pthread_create.c:333
#6  0x00007ffff1b37eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fffe5113800 (LWP 13105)):
#0  0x00007ffff2749d43 in QVariant::QVariant(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007ffff3546951 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#2  0x00007ffff355f2f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007ffff34dbcf1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff34de7da in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff33a1cbf in QLayoutPrivate::doResize(QSize const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007ffff33a3b08 in QLayout::activate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007ffff3382b5e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff3388230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff2706f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff2709057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff275de73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fffee6f1ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffee6f2250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fffee6f22fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff275e27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff270475a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff270c2cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x0000000000518472 in main (argc=1, argv=<optimized out>) at ../../src/main.cpp:118
Comment 1 Wegwerf 2016-07-31 09:03:15 UTC
Aslanex, can you please try with a recent stable version 16.04.2 of Kdenlive, as well as a recent MLT 6.2.0+? If the bug has been fixed, I would like to ask you to be so kind as to close this bug report. Thank you very much for your cooperation!
Comment 2 aslanex 2016-07-31 19:35:36 UTC
I am sorry, but I do not have the problematic files anymore, so I can't be sure the bug has been resolved. Following Steps to reproduce does not produce any crash, so I'm marking as it has been fixed.