Bug 373436

Summary: Crash while title transform reproduction
Product: [Applications] kdenlive Reporter: Dany <drrn>
Component: Video Effects & TransitionsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: wegwerf-1-2-3
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dany 2016-12-08 19:37:44 UTC
Application: kdenlive (16.08.3)

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.4.36-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I was playing some clips in timeline. It crash always in the same point/frame. In that mean it is a title with trasform transition.

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb7e9218140 (LWP 1388))]

Thread 14 (Thread 0x7fb77125e700 (LWP 1413)):
#0  0x00007fb7df66310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb7af6636dd in  () at /usr/lib/mlt/libmltsdl.so
#2  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fb7732f5700 (LWP 1411)):
#0  0x00007fb7e13c44ed in read () at /usr/lib/libc.so.6
#1  0x00007fb7d2c02f81 in pa_read () at /usr/lib/pulseaudio/libpulsecommon-9.0.so
#2  0x00007fb7d8fdd50e in pa_mainloop_prepare () at /usr/lib/libpulse.so.0
#3  0x00007fb7d8fddf80 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fb7af3f9eed in  () at /usr/lib/libSDL-1.2.so.0
#5  0x00007fb7af3cd800 in  () at /usr/lib/libSDL-1.2.so.0
#6  0x00007fb7af3d5fe8 in  () at /usr/lib/libSDL-1.2.so.0
#7  0x00007fb7af4178a9 in  () at /usr/lib/libSDL-1.2.so.0
#8  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fb7722f3700 (LWP 1410)):
[KCrash Handler]
#6  0x00007fb7e136ceb3 in __memmove_sse2_unaligned_erms () at /usr/lib/libc.so.6
#7  0x00007fb79ffe9b49 in drawKdenliveTitle () at /usr/lib/mlt/libmltqt.so
#8  0x00007fb79ffdc862 in  () at /usr/lib/mlt/libmltqt.so
#9  0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#10 0x00007fb7b2f77021 in  () at /usr/lib/mlt/libmltxine.so
#11 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#12 0x00007fb7afed0c07 in  () at /usr/lib/mlt/libmltcore.so
#13 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#14 0x00007fb7afecf7ce in  () at /usr/lib/mlt/libmltcore.so
#15 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#16 0x00007fb7afed4dec in  () at /usr/lib/mlt/libmltcore.so
#17 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#18 0x00007fb7afed530a in  () at /usr/lib/mlt/libmltcore.so
#19 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#20 0x00007fb79ffecfdb in  () at /usr/lib/mlt/libmltqt.so
#21 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#22 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#23 0x00007fb79ffec772 in  () at /usr/lib/mlt/libmltqt.so
#24 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#25 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#26 0x00007fb79ffec7c0 in  () at /usr/lib/mlt/libmltqt.so
#27 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#28 0x00007fb7e82eb1e9 in  () at /usr/lib/libmlt.so.6
#29 0x00007fb7e82d5197 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#30 0x00007fb7e82e887f in  () at /usr/lib/libmlt.so.6
#31 0x000000000074a16d in  ()
#32 0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#33 0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#34 0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fb772af4700 (LWP 1409)):
#0  0x00007fb7df66310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb7af663f4e in  () at /usr/lib/mlt/libmltsdl.so
#2  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fb77bfff700 (LWP 1400)):
#0  0x00007fb7d94a0dd4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fb7d945af89 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb7d945b6f8 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb7e1fee72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb7e1dbb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fb78ca5b700 (LWP 1399)):
#0  0x00007fb7df66310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb7e1dc0c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fb7e7578395 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007fb7e7578c8a in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fb78e25c700 (LWP 1398)):
#0  0x00007fb7d94a0dd4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fb7d945a6de in g_main_context_acquire () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb7d945b635 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb7e1fee72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb7e1dbb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fb78ea5d700 (LWP 1397)):
#0  0x00007fb7df66310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb7e1dc0c2b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fb7e7578395 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007fb7e7578c8a in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fb79ccf5700 (LWP 1395)):
#0  0x00007fb7e1dbec1d in  () at /usr/lib/libQt5Core.so.5
#1  0x00007fb7e1fede7a in  () at /usr/lib/libQt5Core.so.5
#2  0x00007fb7d945ac89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb7d945b6ab in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb7e1fee72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb7e1dbb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fb7e39b52d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fb79ec84700 (LWP 1393)):
#0  0x00007fb7d94a0dd4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007fb7d945ac7c in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb7d945b6ab in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb7e1fee72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb7e1dbb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007fb7e39b52d5 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fb79f54e700 (LWP 1392)):
#0  0x00007fb7e13a0ffd in nanosleep () at /usr/lib/libc.so.6
#1  0x00007fb7e13ca874 in usleep () at /usr/lib/libc.so.6
#2  0x00007fb7be1a4d00 in  () at /usr/lib/xorg/modules/dri//fglrx_dri.so
#3  0x00007fb7bd8a5332 in  () at /usr/lib/xorg/modules/dri//fglrx_dri.so
#4  0x00007fb7bd8a5385 in  () at /usr/lib/xorg/modules/dri//fglrx_dri.so
#5  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fb7c7fff700 (LWP 1390)):
#0  0x00007fb7e13c44ed in read () at /usr/lib/libc.so.6
#1  0x00007fb7d949fa10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb7d945b235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb7d945b724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb7e1fee72b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb7e1dbb0f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fb7e4448e55 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fb7ce351700 (LWP 1389)):
#0  0x00007fb7e13c848d in poll () at /usr/lib/libc.so.6
#1  0x00007fb7d8b968e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fb7d8b98679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fb7d08c5449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fb7e1dbfd78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fb7df65d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb7e13d17df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb7e9218140 (LWP 1388)):
#0  0x00007fb7df66310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb7d8b96b57 in  () at /usr/lib/libxcb.so.1
#2  0x00007fb7d8b9839f in  () at /usr/lib/libxcb.so.1
#3  0x00007fb7d8b984b2 in xcb_wait_for_reply () at /usr/lib/libxcb.so.1
#4  0x00007fb7d08c462a in QXcbConnection::sync() () at /usr/lib/libQt5XcbQpa.so.5
#5  0x00007fb7d08e2d50 in  () at /usr/lib/libQt5XcbQpa.so.5
#6  0x00007fb7d08e2e2a in  () at /usr/lib/libQt5XcbQpa.so.5
#7  0x00007fb7e267c469 in QBackingStore::beginPaint(QRegion const&) () at /usr/lib/libQt5Gui.so.5
#8  0x00007fb7e2ff2ee9 in  () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fb7e2ff3287 in  () at /usr/lib/libQt5Widgets.so.5
#10 0x00007fb7e30120ef in QWidgetPrivate::syncBackingStore() () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fb7e3029fc8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007fb7e312848b in QMainWindow::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fb7e65e7e6a in KMainWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#14 0x00007fb7e6639875 in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#15 0x00007fb7e2fe2e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fb7e2fea581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fb7e1f99de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007fb7e1f9c56d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007fb7e1fee303 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007fb7d945b587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007fb7d945b7f0 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007fb7d945b89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007fb7e1fee70f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007fb7e1f9823a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007fb7e1fa073c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x000000000048ac2a in  ()
#27 0x00007fb7e1309291 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000000000048b4da in _start ()

Reported using DrKonqi
Comment 1 Dany 2016-12-08 19:43:19 UTC
The transform title transition has a affine transition too (inserted by default). Deleting affine transition Kdenlive don't crash.
Comment 2 Wegwerf 2017-02-12 14:22:24 UTC
Can you please check with recent Kdenlive 16.12.1 (or .2 if that should be already available), as well as recent MLT? There were some fixed with respect to the titler and some transitions.

I notice that, unfortunately, your description in itself is not too helpful. As you can trigger the crash reproducibly, it would help us to attach a minimized version of your Kdenlive project that triggers this crash. For the moment, please first retest with recent versions and report back.

Thank you very much for your cooperation.
Comment 3 Dany 2017-02-13 11:34:06 UTC
I tested it today on Kdenlive 16.12.1 a lot of time (I have Mint repository and Kdenlive PPA but .2 is still not present).
Only first test it has crashed, from second test has worked well.
Comment 4 Dany 2017-02-13 12:45:16 UTC
Sorry, my bug report was on Manjaro OS. I tested now on Manjaro too. It works well and don't crash.