Bug 375900 - Crash when applying slide transition
Summary: Crash when applying slide transition
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: HI grave
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-02 15:52 UTC by farid
Modified: 2018-11-18 18:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description farid 2017-02-02 15:52:00 UTC
Apply a transition and switch it to Slide. Then try to control the direction of the slide transition.

(gdb) thread apply all bt

Thread 950 (Thread 0x7fff9d0f1700 (LWP 4387)):
#0  0x00007fffede5b10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffb65916dd in  () at /usr/lib/mlt/libmltsdl.so
#2  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 949 (Thread 0x7fff6c95e700 (LWP 4386)):
#0  0x00007fffefe16551 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fffe78f779d in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#2  0x00007fffe78f7d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#3  0x00007fffb6327eed in  () at /usr/lib/libSDL-1.2.so.0
#4  0x00007fffb62fb800 in  () at /usr/lib/libSDL-1.2.so.0
#5  0x00007fffb6303fe8 in  () at /usr/lib/libSDL-1.2.so.0
#6  0x00007fffb63458a9 in  () at /usr/lib/libSDL-1.2.so.0
#7  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 948 (Thread 0x7fff727fc700 (LWP 4385)):
#0  0x00007fffefe62750 in __memcpy_ssse3 () at /usr/lib/libc.so.6
#1  0x00007fffa2b8d4c6 in composite_line_yuv_sse2_simple () at /usr/lib/mlt/libmltcore.so
#2  0x00007fffa2b859d1 in composite_line_yuv () at /usr/lib/mlt/libmltcore.so
#3  0x00007fffa2b86c04 in  () at /usr/lib/mlt/libmltcore.so
#4  0x00007fffa2b87860 in  () at /usr/lib/mlt/libmltcore.so
#5  0x00007ffff6fe9217 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#6  0x00007ffff6fff289 in  () at /usr/lib/libmlt.so.6
#7  0x00007ffff6fe9217 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#8  0x00007ffff6ffc8ff in  () at /usr/lib/libmlt.so.6
#9  0x000000000075a5bd in RenderThread::run() (this=0x7fff5007e540)
    at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/monitor/glwidget.cpp:1291
#10 0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 947 (Thread 0x7fff6ffff700 (LWP 4384)):
#0  0x00007fffede5b10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffb65920c0 in  () at /usr/lib/mlt/libmltsdl.so
---Type <return> to continue, or q <return> to quit---
#2  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 794 (Thread 0x7fff6d15f700 (LWP 4216)):
#0  0x00007fffede5b4b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff080f4c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffff080abc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 198 (Thread 0x7fff72ffd700 (LWP 2766)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fff6d1674bd in  () at /usr/lib/gio/modules/libdconfsettings.so
#4  0x00007fffe7b950d5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 19 (Thread 0x7fff70dfa700 (LWP 2387)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff0809a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7fff71ffb700 (LWP 2386)):
#0  0x00007fffede5b10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff080f58b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffff6254665 in  () at /usr/lib/libQt5Quick.so.5
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff6254f72 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7fff737fe700 (LWP 2383)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff0809a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fff73fff700 (LWP 2382)):
#0  0x00007fffede5b10f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff080f58b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffff6254665 in  () at /usr/lib/libQt5Quick.so.5
#3  0x00007ffff6254f72 in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fff96b7c700 (LWP 2371)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7905ee1 in  () at /usr/lib/libpulse.so.0
#2  0x00007fffe78f76f1 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007fffe78f7d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fffe78f7e40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007fffe7905e29 in  () at /usr/lib/libpulse.so.0
#6  0x00007fffde729fe8 in  () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#7  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 9 (Thread 0x7fff97fff700 (LWP 2369)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff0809a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff243a025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fff9e0f2700 (LWP 2367)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff0809a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff243a025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffaa2fb700 (LWP 2357)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffb0838d51 in  () at /usr/lib/libusb-1.0.so.0
#2  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffcd80d700 (LWP 2353)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff0809a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff2ecd125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffcf8b5700 (LWP 2352)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6db12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fffd252c316 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fffe7b950d5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fffd00b6700 (LWP 2351)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fffe7b6d8e1 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fffe7b950d5 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fffd9c42700 (LWP 2350)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe74b08e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fffe74b2679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fffdc5c8239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6  0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff7ebad80 (LWP 2345)):
#0  0x00007fffefe1648d in poll () at /usr/lib/libc.so.6
#1  0x00007fffe7b6d786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fffe7b6d89c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff0a3e44f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#4  0x00007ffff09e7c9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007ffff09f01e4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#6  0x000000000048fbc6 in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/main.cpp:160
Comment 1 farid 2017-02-02 15:58:02 UTC
Upgrading the importance of this since kdenlive won't work unless you remove the transition from the timeline.
Comment 2 Wegwerf 2017-02-19 16:20:29 UTC
I can't see where the crash actually is, because "bt all" is soo evil and floods everything. It might be thread #948, but unfortunately you didn't include the gdb output when the crash happened, just before your "bt all". Seems to be a crash in MLT, so which version are your using, Farid?
Comment 3 Wegwerf 2017-02-19 16:25:37 UTC
Probably pouring salt into wounds here: I can't reproduce on Windows ;) Albeit the "invert" parameter doesn't work correctly, when checked: then only the lower clips is always shown.
Comment 4 farid 2017-02-21 14:40:35 UTC
(In reply to Wegwerf from comment #2)
> I can't see where the crash actually is, because "bt all" is soo evil and
> floods everything. It might be thread #948, but unfortunately you didn't
> include the gdb output when the crash happened, just before your "bt all".
> Seems to be a crash in MLT, so which version are your using, Farid?

Sorry for the mess I thought the all spits more info, at least that is how it is suggested in the wiki to report. I am using mlt-git and kdenlive-git from archlinux.

Here is a more concise bt:

Thread 45 "RenderThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff72b20700 (LWP 1859)]
0x00007fffb209ad85 in ?? () from /usr/lib/libswscale.so.4
(gdb) backtrace 
#0  0x00007fffb209ad85 in  () at /usr/lib/libswscale.so.4
#1  0x00007fffb20535c3 in  () at /usr/lib/libswscale.so.4
#2  0x00007fffb20880b8 in  () at /usr/lib/libswscale.so.4
#3  0x00007fffb208956e in sws_scale () at /usr/lib/libswscale.so.4
#4  0x00007fffbf8c394a in  () at /usr/lib/mlt/libmltavformat.so
#5  0x00007ffff6fe9268 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#6  0x00007ffff6fe9217 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#7  0x00007fffc62847d2 in  () at /usr/lib/mlt/libmltqt.so
#8  0x00007ffff6fe9217 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#9  0x00007ffff6fff289 in  () at /usr/lib/libmlt.so.6
#10 0x00007ffff6fe9217 in mlt_frame_get_image () at /usr/lib/libmlt.so.6
#11 0x00007ffff6ffc8ff in  () at /usr/lib/libmlt.so.6
#12 0x000000000075a5bd in RenderThread::run() (this=0x7fff68368770)
    at /tmp/yaourt-tmp-frd/aur-kdenlive-git/src/kdenlive/src/monitor/glwidget.cpp:1291
#13 0x00007ffff080e6d8 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007fffede55454 in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007fffefe1f7df in clone () at /usr/lib/libc.so.6
Comment 5 Wegwerf 2017-02-21 14:43:46 UTC
Many thank, Farid! Albeit I did not want to prove my point on purpose, I actually misinterpreted the full bt all stacktrace and was looking at the wrong thread. :) So it seems to hint at the scaler lib...(?)
Comment 6 emohr 2018-11-18 18:33:31 UTC
I cannot reproduce this crash with version 18.08.2 anymore. 
It seems the problem is solved. I closed this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.