Bug 407539 - Kdenlive crashes when opening a particular .kdenlive file
Summary: Kdenlive crashes when opening a particular .kdenlive file
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 19.04.1
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-14 20:07 UTC by Andrei Rybak
Modified: 2019-05-22 21:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kdenlive file which causes the crash (40.02 KB, application/x-kdenlive)
2019-05-14 20:07 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Rybak 2019-05-14 20:07:57 UTC
Created attachment 120067 [details]
Kdenlive file which causes the crash

Could not send a report using the assistant — it stayed in "sending crash report" for minutes. Below is the file generated by crash report assistant.

---------------

Application: kdenlive (17.12.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-48-generic x86_64
Distribution: Ubuntu 18.04.2 LTS

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

1. Open a particular *.kdenlive document file.

If needed I can provide both the kdenlive file, and files used in video and audio clips of that document.

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f499cbf0580 (LWP 23967))]

Thread 10 (Thread 0x7f49416b1700 (LWP 23978)):
#0  0x00007f4994e8dbf9 in __GI___poll (fds=0x7f4934003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f498d1085c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4995b749bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f499593823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f49934196db in start_thread (arg=0x7f49416b1700) at pthread_create.c:463
#8  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7f4941eb2700 (LWP 23977)):
#0  0x00007f4994e8dbf9 in __GI___poll (fds=0x7f49300049b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f498d1085c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4995b749bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f499593823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f49934196db in start_thread (arg=0x7f4941eb2700) at pthread_create.c:463
#8  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7f4943fff700 (LWP 23975)):
#0  0x00007f4994e890b4 in __GI___libc_read (fd=16, buf=0x7f4943ffea30, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f498d14d2d0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f498d1080b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f498d108570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4995b749bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f499593823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f4996db16f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f49934196db in start_thread (arg=0x7f4943fff700) at pthread_create.c:463
#11 0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f4949479700 (LWP 23974)):
#0  0x00007f499341fed9 in futex_reltimed_wait_cancelable (private=<optimized out>, reltime=0x7f4949478b00, expected=0, futex_word=0x55ebdff60470) at ../sysdeps/unix/sysv/linux/futex-internal.h:142
#1  __pthread_cond_wait_common (abstime=0x7f4949478bc0, mutex=0x55ebdff60420, cond=0x55ebdff60448) at pthread_cond_wait.c:533
#2  __pthread_cond_timedwait (cond=0x55ebdff60448, mutex=0x55ebdff60420, abstime=0x7f4949478bc0) at pthread_cond_wait.c:667
#3  0x00007f499593e468 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f499593a53d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f49934196db in start_thread (arg=0x7f4949479700) at pthread_create.c:463
#7  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f494a87a700 (LWP 23973)):
#0  0x00007f498d107cf4 in g_main_context_query () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f498d108547 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4995b749bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f499593823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f4996db16f5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f49934196db in start_thread (arg=0x7f494a87a700) at pthread_create.c:463
#9  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f496ffff700 (LWP 23972)):
#0  0x00007f498d14e664 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f498d107b18 in g_main_context_prepare () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f498d1084fb in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4995b749bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f499593823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f49986aed45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f49934196db in start_thread (arg=0x7f496ffff700) at pthread_create.c:463
#10 0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f4976148700 (LWP 23971)):
#0  0x00007f499341f9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ebde0c34c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ebde0c3478, cond=0x55ebde0c34a0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ebde0c34a0, mutex=0x55ebde0c3478) at pthread_cond_wait.c:655
#3  0x00007f49772cddcb in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f49772cdaf7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f49934196db in start_thread (arg=0x7f4976148700) at pthread_create.c:463
#6  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f497ef7f700 (LWP 23969)):
#0  0x00007f4994e8dbf9 in __GI___poll (fds=0x7f497ef7eb68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f498c82c747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f498c82e36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f4981b252a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f499593d17d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f49934196db in start_thread (arg=0x7f497ef7f700) at pthread_create.c:463
#6  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4982e4a700 (LWP 23968)):
#0  0x00007f499341f9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f4992c3d110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ebde05ae00, cond=0x7f4992c3d0e8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x7f4992c3d0e8, mutex=0x55ebde05ae00) at pthread_cond_wait.c:655
#3  0x00007f49955bf86c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f4991f7e0a7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007f4991f7e1e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007f49955c566f in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f49934196db in start_thread (arg=0x7f4982e4a700) at pthread_create.c:463
#8  0x00007f4994e9a88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f499cbf0580 (LWP 23967)):
[KCrash Handler]
#6  0x00007f4998934c48 in QDomNode::QDomNode(QDomNodePrivate*) () from /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5
#7  0x00007f499893b46e in QDomNodeList::item(int) const () from /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5
#8  0x000055ebdc54161f in QDomNodeList::at (index=-1, this=0x7fff7c615640) at /usr/include/x86_64-linux-gnu/qt5/QtXml/qdom.h:260
#9  DocumentValidator::checkOrphanedProducers (this=this@entry=0x7fff7c615b40) at ./src/doc/documentvalidator.cpp:1489
#10 0x000055ebdc54b90a in DocumentValidator::validate (this=this@entry=0x7fff7c615b40, currentVersion=currentVersion@entry=0.95999999999999996) at ./src/doc/documentvalidator.cpp:222
#11 0x000055ebdc557cd0 in KdenliveDoc::KdenliveDoc (this=0x55ebe0e427d0, url=..., projectFolder=..., undoGroup=<optimized out>, profileName=..., properties=..., metadata=..., tracks=..., render=0x55ebdfe23db0, notes=0x55ebde700620, openBackup=0x7fff7c615cee, parent=0x55ebde6fbc10) at ./src/doc/kdenlivedoc.cpp:233
#12 0x000055ebdc5bf4fb in ProjectManager::doOpenFile (this=this@entry=0x55ebde709b30, url=..., stale=stale@entry=0x0) at ./src/project/projectmanager.cpp:535
#13 0x000055ebdc5c40e6 in ProjectManager::openFile (this=this@entry=0x55ebde709b30, url=...) at ./src/project/projectmanager.cpp:509
#14 0x000055ebdc5c41bc in ProjectManager::openFile (this=this@entry=0x55ebde709b30) at ./src/project/projectmanager.cpp:394
#15 0x000055ebdc5c445a in ProjectManager::slotLoadOnOpen (this=0x55ebde709b30) at ./src/project/projectmanager.cpp:91
#16 0x00007f4995b57184 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f4995b4b18b in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f499786b83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f4997873104 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f4995b1b9e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f4995b73e3e in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f4995b74601 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f498d108417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f498d108650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f498d1086dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f4995b7499f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f4995b19a1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f4995b22ac4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x000055ebdc52661d in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:163

Report to https://bugs.kde.org/
Comment 1 alcinos 2019-05-15 02:12:16 UTC
17.12.3 is very old and will not get updated. Please try again in the latest version and open a new issue if the problem persists.
Comment 2 Andrei Rybak 2019-05-22 21:02:12 UTC
Done: https://bugs.kde.org/show_bug.cgi?id=407844