https://bugs.kde.org/show_bug.cgi?id=375713

            Bug ID: 375713
           Summary: Kdenlive crashes if GPU processing (Movit library) is
                    enabled
           Product: kdenlive
           Version: 16.12.1
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Video Display & Export
          Assignee: j...@kdenlive.org
          Reporter: j...@gsmlandia.com
  Target Milestone: ---

Application: kdenlive (16.12.1)

Qt Version: 5.7.1
Frameworks Version: 5.30.0
Operating System: Linux 4.9.5-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

Trying to play timeline from the project monitor

- Custom settings of the application:

It only happens when "Use GPU processing (Movit library)" option is enabled in
the playback settings. If I don't enable that option playback works (but very
choppy)

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f219cd2b780 (LWP 22834))]

Thread 17 (Thread 0x7f211639c700 (LWP 31750)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f2146ffd700 (LWP 31749)):
[KCrash Handler]
#6  0x00007f21967ab1e8 in raise () from /lib64/libc.so.6
#7  0x00007f21967ac63a in abort () from /lib64/libc.so.6
#8  0x00007f21794656a9 in movit::abort_gl_error(unsigned int, char const*, int)
() from /usr/lib64/libmovit.so.5
#9  0x00007f21796eae40 in GlslManager::render_frame_rgba (this=<optimized out>,
chain=chain@entry=0x7f213835df20, frame=frame@entry=0x7f213826b6b0,
width=width@entry=3840, height=height@entry=2160,
image=image@entry=0x7f2146ffcb70) at filter_glsl_manager.cpp:443
#10 0x00007f21796ebcc9 in movit_render (chain=0x7f213835df20,
frame=0x7f213826b6b0, format=0x3b984ac, output_format=mlt_image_rgb24a,
width=3840, height=2160, image=0x7f2146ffcb70) at filter_movit_convert.cpp:454
#11 0x00007f21796edc81 in convert_image (frame=0x7f213826b6b0,
image=0x7f2146ffcb70, format=<optimized out>, output_format=mlt_image_rgb24a)
at filter_movit_convert.cpp:573
#12 0x00007f219bf10193 in mlt_frame_get_image (self=self@entry=0x7f213826b6b0,
buffer=buffer@entry=0x7f2146ffcb70, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffcb58, height=height@entry=0x7f2146ffcb5c,
writable=writable@entry=0) at mlt_frame.c:591
#13 0x00007f2171744b5d in filter_get_image (this=this@entry=0x7f213826b6b0,
image=image@entry=0x7f2146ffcb70, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffcb58, height=height@entry=0x7f2146ffcb5c,
writable=writable@entry=0) at filter_frei0r.c:32
#14 0x00007f219bf10140 in mlt_frame_get_image (self=self@entry=0x7f213826b6b0,
buffer=buffer@entry=0x7f2146ffcb70, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffcb58, height=height@entry=0x7f2146ffcb5c,
writable=writable@entry=0) at mlt_frame.c:585
#15 0x00007f219bf23eb3 in get_image_b (b_frame=b_frame@entry=0x7f213826b6b0,
image=image@entry=0x7f2146ffcb70, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffcb58, height=height@entry=0x7f2146ffcb5c,
writable=writable@entry=0) at mlt_transition.c:366
#16 0x00007f219bf10140 in mlt_frame_get_image (self=self@entry=0x7f213826b6b0,
buffer=buffer@entry=0x7f2146ffcb70, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffcb58, height=height@entry=0x7f2146ffcb5c,
writable=writable@entry=0) at mlt_frame.c:585
#17 0x00007f21710e30f5 in get_image (a_frame=a_frame@entry=0x7f213833cb50,
image=image@entry=0x7f2146ffce18, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffce04, height=height@entry=0x7f2146ffce08,
writable=writable@entry=0) at transition_qtblend.cpp:146
#18 0x00007f219bf10140 in mlt_frame_get_image (self=self@entry=0x7f213833cb50,
buffer=buffer@entry=0x7f2146ffce18, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffce04, height=height@entry=0x7f2146ffce08,
writable=writable@entry=0) at mlt_frame.c:585
#19 0x00007f219bf24a6e in producer_get_image (self=self@entry=0x7f2138250c30,
buffer=buffer@entry=0x7f2146ffce18, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffce04, height=height@entry=0x7f2146ffce08,
writable=writable@entry=0) at mlt_tractor.c:370
#20 0x00007f219bf10140 in mlt_frame_get_image (self=self@entry=0x7f2138250c30,
buffer=buffer@entry=0x7f2146ffce18, format=format@entry=0x3b984ac,
width=width@entry=0x7f2146ffce04, height=height@entry=0x7f2146ffce08,
writable=writable@entry=0) at mlt_frame.c:585
#21 0x00007f219bf2200f in consumer_read_ahead_thread (arg=0x403aab0) at
mlt_consumer.c:825
#22 0x000000000072845d in RenderThread::run() ()
#23 0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#24 0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#25 0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f2129150700 (LWP 31731)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f2145ffb700 (LWP 31730)):
#0  0x00007f2194cf5fff in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f219bf23030 in mlt_consumer_rt_frame (self=self@entry=0x403aab0) at
mlt_consumer.c:1576
#2  0x00007f216ff60825 in consumer_thread (arg=0x403aab0) at
consumer_sdl_audio.c:531
#3  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f2116b9d700 (LWP 23989)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f21477fe700 (LWP 23699)):
#0  0x00007f2191e2e69c in g_ptr_array_set_size () from
/usr/lib64/libglib-2.0.so.0
#1  0x00007f2191e59b70 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f2191e5a60b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2191e5a7ec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f21974c894b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#5  0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#6  0x00007f21972addfb in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f2147fff700 (LWP 23624)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f2154e12700 (LWP 23623)):
#0  0x00007f2194cf5fff in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21972b3f4a in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x00007f219b7e3ccd in ?? () from /usr/lib64/libQt5Quick.so.5
#3  0x00007f219b7e45a5 in ?? () from /usr/lib64/libQt5Quick.so.5
#4  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f2155613700 (LWP 23605)):
#0  0x00007f2196856a3d in poll () from /lib64/libc.so.6
#1  0x00007f2191e5a6dc in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2191e5a7ec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f21974c894b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f21972addfb in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#7  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f2155e14700 (LWP 23505)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f2156615700 (LWP 23503)):
#0  0x00007f2194cf5fff in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21972b3f4a in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQt5Core.so.5
#2  0x00007f219b7e3ccd in ?? () from /usr/lib64/libQt5Quick.so.5
#3  0x00007f219b7e45a5 in ?? () from /usr/lib64/libQt5Quick.so.5
#4  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f2164f7e700 (LWP 23204)):
#0  0x00007f2191ea0514 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2191e5a7f6 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f21974c894b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#3  0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007f21972addfb in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#5  0x00007f2197f9d325 in ?? () from /usr/lib64/libQt5Qml.so.5
#6  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#7  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f21669c2700 (LWP 23160)):
#0  0x00007f2196856a3d in poll () from /lib64/libc.so.6
#1  0x00007f2191e5a6dc in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2191e5a7ec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f21974c894b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f21972addfb in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f2197f9d325 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f21813b4700 (LWP 22898)):
#0  0x00007f2194cf63a8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f218166cdc4 in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#2  0x00007f217afd5cd4 in ?? () from /usr/lib64/libnvidia-glcore.so.378.09
#3  0x00007f218166c0ac in ?? () from
/usr/lib64/opengl/nvidia/lib/libGLX_nvidia.so.0
#4  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2189169700 (LWP 22861)):
#0  0x00007f2196856a3d in poll () from /lib64/libc.so.6
#1  0x00007f2191e5a6dc in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2191e5a7ec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f21974c894b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#4  0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f21972addfb in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f219cdca835 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f218b763700 (LWP 22847)):
#0  0x00007f2196856a3d in poll () from /lib64/libc.so.6
#1  0x00007f21917c68f2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f21917c86f7 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f218e2fafb9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f21972b382d in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x00007f2194cf0444 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f219685fabd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f219cd2b780 (LWP 22834)):
#0  0x00007f2194cf5fff in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f21917c6b49 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f21917c8437 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f21917c8541 in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#4  0x00007f218e2fa0aa in QXcbConnection::sync() () from
/usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f218e318de0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007f218e318eba in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#7  0x00007f21979283b1 in QBackingStore::beginPaint(QRegion const&) () from
/usr/lib64/libQt5Gui.so.5
#8  0x00007f2198724ee4 in ?? () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007f21987252bd in ?? () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007f2198743e8f in QWidgetPrivate::syncBackingStore() () from
/usr/lib64/libQt5Widgets.so.5
#11 0x00007f219875bfd8 in QWidget::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#12 0x00007f219885981b in QMainWindow::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#13 0x00007f219a8bc847 in KMainWindow::event(QEvent*) () from
/usr/lib64/libKF5XmlGui.so.5
#14 0x00007f219a901935 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib64/libKF5XmlGui.so.5
#15 0x00007f219871504c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f219871c9f6 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#17 0x00007f219747133a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#18 0x00007f219747403f in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#19 0x00007f21974c88b3 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f2191e5a4e7 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#21 0x00007f2191e5a740 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f2191e5a7ec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#23 0x00007f21974c892f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#24 0x00007f219746f9ba in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#25 0x00007f219747861c in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#26 0x000000000048a8f1 in main ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to