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

            Bug ID: 375998
           Summary: kdenlive project monitor plays audio only for 2-4
                    seconds then crashes
           Product: kdenlive
           Version: 16.08.2
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: ray.we...@googlemail.com
  Target Milestone: ---

Application: kdenlive (16.08.2)

Qt Version: 5.7.1
Frameworks Version: 5.29.0
Operating System: Linux 4.9.6-200.fc25.x86_64 x86_64
Distribution: "Fedora release 25 (Twenty Five)"

-- Information about the crash:
- What I was doing when the application crashed:
I was playing a clip in the project monitor, trying to see if a transition
looked right. This was entirely useless (as always) because the monitor skipped
over the section I was interested in, playing audio with a still image.

I tried again, clicking in area in the timeline before the transition I want to
see, and then pressed play again. The audio started playing nearly a minute
later in the clip, but neither the project monitor window nor the current
position indicator moved. After 3-4 seconds, the application exited.

On restart, it complains that 1 clip is missing its proxy clip, and one clip
could not be found. The path shown for that clip was relative to my home
directory, not the project folder. I used "search recursively", selecting the
project folder, and it found the clip.
On playing in the project monitor (in the same place or a different place) it
crashes again (playing 2-3 seconds of audio from a different part of the
project and then exiting). Usually takes 15-20 restarts before it starts
working properly again; a full reboot or opening a different project makes no
difference.

Quite often, one of these crashes is followed by a "clip not found" report when
the same project is opened. Once a clip has been not found (and then found
using "Search Recursively") the same file will be not found the next 4-8 times
I open that project, even if I save the project file after it's found it.
Sometimes the displayed paths are relative to the project folder, sometimes to
my home directory. The clips in question had all loaded correctly when the
project was previously edited, and were not near the current position at the
time of the crash. So I'm not sure if these issues are related or not.

The crash can be reproduced sometimes.

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

Thread 19 (Thread 0x7f1383375700 (LWP 3751)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13b736b38d in video_thread () from /usr/lib64/mlt/libmltsdl.so
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7f1398f28700 (LWP 3750)):
#0  0x00007f13fceb1923 in do_write () from
/usr/lib64/pulseaudio/libpulsecommon-10.0.so
#1  0x00007f13fceb271d in do_pstream_read_write () from
/usr/lib64/pulseaudio/libpulsecommon-10.0.so
#2  0x00007f13fceb2ac9 in srb_callback () from
/usr/lib64/pulseaudio/libpulsecommon-10.0.so
#3  0x00007f13fceb334a in srbchannel_rwloop () from
/usr/lib64/pulseaudio/libpulsecommon-10.0.so
#4  0x00007f140006a74c in pa_mainloop_dispatch () from /lib64/libpulse.so.0
#5  0x00007f140006ab4c in pa_mainloop_iterate () from /lib64/libpulse.so.0
#6  0x00007f13d798307d in PULSE_WaitAudio () from /lib64/libSDL-1.2.so.0
#7  0x00007f13d795620f in SDL_RunAudio () from /lib64/libSDL-1.2.so.0
#8  0x00007f13d795e938 in SDL_RunThread () from /lib64/libSDL-1.2.so.0
#9  0x00007f13d79a1a59 in RunThread () from /lib64/libSDL-1.2.so.0
#10 0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#11 0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7f139b72d700 (LWP 3749)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1413d935b5 in consumer_worker_thread () from /lib64/libmlt.so.6
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f1399729700 (LWP 3748)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1413d935b5 in consumer_worker_thread () from /lib64/libmlt.so.6
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f1399f2a700 (LWP 3747)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1413d935b5 in consumer_worker_thread () from /lib64/libmlt.so.6
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f139a72b700 (LWP 3746)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1413d935b5 in consumer_worker_thread () from /lib64/libmlt.so.6
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f139af2c700 (LWP 3745)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13b736bc3e in consumer_thread () from /usr/lib64/mlt/libmltsdl.so
#2  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#3  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f13a88fc700 (LWP 3722)):
[KCrash Handler]
#6  0x00007f140c070bf3 in fetchUntransformed(unsigned int*, Operator const*,
QSpanData const*, int, int, int) () from /lib64/libQt5Gui.so.5
#7  0x00007f140c074409 in blend_untransformed_generic(int, QT_FT_Span_ const*,
void*) () from /lib64/libQt5Gui.so.5
#8  0x00007f140c0a8d14 in fillRect_normalized(QRect const&, QSpanData*,
QRasterPaintEnginePrivate*) () from /lib64/libQt5Gui.so.5
#9  0x00007f140c0ad962 in QRasterPaintEngine::drawImage(QPointF const&, QImage
const&) () from /lib64/libQt5Gui.so.5
#10 0x00007f140c0cad3b in QPainter::drawImage(QPointF const&, QImage const&) ()
from /lib64/libQt5Gui.so.5
#11 0x00007f13b6f3bc41 in get_image(mlt_frame_s*, unsigned char**,
mlt_image_format*, int*, int*, int) () from /usr/lib64/mlt/libmltqt.so
#12 0x00007f1413d80cf7 in mlt_frame_get_image () from /lib64/libmlt.so.6
#13 0x00007f1413d96d99 in producer_get_image () from /lib64/libmlt.so.6
#14 0x00007f1413d80cf7 in mlt_frame_get_image () from /lib64/libmlt.so.6
#15 0x00007f1413b6175d in Mlt::Frame::get_image(mlt_image_format&, int&, int&,
int) () from /lib64/libmlt++.so.3
#16 0x0000561f52933427 in FrameRenderer::showFrame(Mlt::Frame) ()
#17 0x0000561f52a8354c in FrameRenderer::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) [clone .part.418] ()
#18 0x00007f140bbc4879 in QObject::event(QEvent*) () from
/lib64/libQt5Core.so.5
#19 0x00007f140e9c7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#20 0x00007f140e9cf671 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#21 0x00007f140bb9c7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#22 0x00007f140bb9ee90 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib64/libQt5Core.so.5
#23 0x00007f140bbea6a3 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#24 0x00007f1405b2fe42 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#25 0x00007f1405b301c0 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#26 0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#27 0x00007f140bbea71f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#28 0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#29 0x00007f140b9f85f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#30 0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#31 0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#32 0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f13a90fd700 (LWP 3721)):
#0  0x00007f1405b757f9 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f1405b2f1c4 in g_main_context_release () from
/lib64/libglib-2.0.so.0
#2  0x00007f1405b3010a in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#3  0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00007f140bbea73b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#5  0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#6  0x00007f140b9f85f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f13aaffe700 (LWP 3719)):
#0  0x00007f1405b75814 in g_mutex_unlock () from /lib64/libglib-2.0.so.0
#1  0x00007f1405b2f68c in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#2  0x00007f1405b3007b in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#3  0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00007f140bbea73b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#5  0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#6  0x00007f140b9f85f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f140f1a44e5 in QQmlThreadPrivate::run() () from
/lib64/libQt5Qml.so.5
#8  0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#9  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#10 0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f13b0a2c700 (LWP 3717)):
#0  0x00007f1405b2f687 in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#1  0x00007f1405b3007b in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#2  0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x00007f140bbea73b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#4  0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#5  0x00007f140b9f85f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f140f1a44e5 in QQmlThreadPrivate::run() () from
/lib64/libQt5Qml.so.5
#7  0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f13deb71700 (LWP 3716)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13e886bc4b in util_queue_thread_func () from
/usr/lib64/dri/radeonsi_dri.so
#2  0x00007f13e886baa7 in impl_thrd_routine () from
/usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f13df372700 (LWP 3715)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13e886bc4b in util_queue_thread_func () from
/usr/lib64/dri/radeonsi_dri.so
#2  0x00007f13e886baa7 in impl_thrd_routine () from
/usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f13dfb73700 (LWP 3714)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13e886bc4b in util_queue_thread_func () from
/usr/lib64/dri/radeonsi_dri.so
#2  0x00007f13e886baa7 in impl_thrd_routine () from
/usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f13e0374700 (LWP 3713)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13e886bc4b in util_queue_thread_func () from
/usr/lib64/dri/radeonsi_dri.so
#2  0x00007f13e886baa7 in impl_thrd_routine () from
/usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f13e0b75700 (LWP 3712)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f13e886bc4b in util_queue_thread_func () from
/usr/lib64/dri/radeonsi_dri.so
#2  0x00007f13e886baa7 in impl_thrd_routine () from
/usr/lib64/dri/radeonsi_dri.so
#3  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f13eaf15700 (LWP 3711)):
#0  0x00007f140adf3faf in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f140adda012 in poll () from /lib64/libc.so.6
#2  0x00007f1405b30156 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#3  0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00007f140bbea73b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#5  0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#6  0x00007f140b9f85f3 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f1414e6b739 in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#8  0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#9  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#10 0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f13f0cf5700 (LWP 3710)):
#0  0x00007f140adda01d in poll () from /lib64/libc.so.6
#1  0x00007f1408509d10 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f140850baa9 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f13f3d31d69 in QXcbEventReader::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f140b9fc9da in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f1407a9d6ca in start_thread () from /lib64/libpthread.so.0
#6  0x00007f140ade5f7f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1413719940 (LWP 3707)):
#0  0x00007f1407aa3460 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f1408509f87 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f140850b7cf in wait_for_reply () from /lib64/libxcb.so.1
#3  0x00007f140850b8e2 in xcb_wait_for_reply () from /lib64/libxcb.so.1
#4  0x00007f13f3d30e5a in QXcbConnection::sync() () from
/lib64/libQt5XcbQpa.so.5
#5  0x00007f13f3d4fc30 in QXcbShmImage::preparePaint(QRegion const&) () from
/lib64/libQt5XcbQpa.so.5
#6  0x00007f13f3d4fd0a in QXcbBackingStore::beginPaint(QRegion const&) () from
/lib64/libQt5XcbQpa.so.5
#7  0x00007f140c03ac49 in QBackingStore::beginPaint(QRegion const&) () from
/lib64/libQt5Gui.so.5
#8  0x00007f140e9d80c1 in QWidgetBackingStore::doSync() () from
/lib64/libQt5Widgets.so.5
#9  0x00007f140e9d847f in QWidgetBackingStore::sync() () from
/lib64/libQt5Widgets.so.5
#10 0x00007f140e9f73df in QWidgetPrivate::syncBackingStore() () from
/lib64/libQt5Widgets.so.5
#11 0x00007f140ea0f858 in QWidget::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#12 0x00007f140eb0f01b in QMainWindow::event(QEvent*) () from
/lib64/libQt5Widgets.so.5
#13 0x00007f1411dd7737 in KMainWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#14 0x00007f1411e1c1c5 in KXmlGuiWindow::event(QEvent*) () from
/lib64/libKF5XmlGui.so.5
#15 0x00007f140e9c7ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt5Widgets.so.5
#16 0x00007f140e9cf671 in QApplication::notify(QObject*, QEvent*) () from
/lib64/libQt5Widgets.so.5
#17 0x00007f140bb9c7aa in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt5Core.so.5
#18 0x00007f140bb9ee90 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /lib64/libQt5Core.so.5
#19 0x00007f140bbea6a3 in postEventSourceDispatch(_GSource*, int (*)(void*),
void*) () from /lib64/libQt5Core.so.5
#20 0x00007f1405b2fe42 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#21 0x00007f1405b301c0 in g_main_context_iterate.isra () from
/lib64/libglib-2.0.so.0
#22 0x00007f1405b3026c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#23 0x00007f140bbea71f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#24 0x00007f140bb9b73a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#25 0x00007f140bba323c in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#26 0x0000561f5269a01a in main ()

Report to https://bugs.kde.org/

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

Reply via email to