This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kdenlive crashes at startup

Tags: None
(comma "," separated)
ruuds
Registered Member
Posts
1
Karma
0

Kdenlive crashes at startup

Fri May 08, 2015 9:58 am
Kdenlive continues to crash on startup. I have read the posts on multiple MLT files, that is not the case in this instance. It says segmentation fault
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kdenlive crashes at startup

Fri May 08, 2015 10:59 am
ruuds wrote:Kdenlive continues to crash on startup. I have read the posts on multiple MLT files, that is not the case in this instance. It says segmentation fault

Probably a Qt4/Qt5 conflict?

If you use the latest (KF5 based) kdenlive 15.04 but libmlt is built against Qt4, kdenlive will crash on startup because of that conflict.
frei0r-plugins might be built against Qt4 too, which causes the same crash.
User avatar
Steve Guilford
Registered Member
Posts
207
Karma
0

Re: Kdenlive crashes at startup

Fri May 08, 2015 2:32 pm
ruuds wrote:Kdenlive continues to crash on startup. I have read the posts on multiple MLT files, that is not the case in this instance. It says segmentation fault



Run Kdenlive from the command line and post what it spits out upon crashing...
User avatar
pedrorodriguez
Registered Member
Posts
115
Karma
0
OS

Re: Kdenlive crashes at startup

Fri May 08, 2015 8:05 pm
Same problem here. Terminal output:

segmentation fault (core dumped) kdenlive

It started happening with the latest nvidia 349.16-1 update on arch. If I roll back to a previous version it works.
User avatar
pedrorodriguez
Registered Member
Posts
115
Karma
0
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 10:13 am
pedrorodriguez wrote:Terminal output:

segmentation fault (core dumped) kdenlive

It started happening with the latest nvidia 349.16-1 update on arch.


Bump? It is still crashing with nvidia 349.16-2 and 349.16-3. Is it an Nvidia or a Kdenlive issue?
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 11:23 am
pedrorodriguez wrote:
pedrorodriguez wrote:Bump? It is still crashing with nvidia 349.16-2 and 349.16-3. Is it an Nvidia or a Kdenlive issue?

I have no idea, I don't use nvidia.

But the problem I wrote about (Qt4/Qt5 clash) is real, although I don't know whether Arch is affected.
Btw, this crash also happens the other way round: if you use the old KDE4-based kdenlive 0.9.10 but libmlt is built against Qt5, it will crash on startup as well.

Maybe run kdenlive in gdb and post the backtrace.
User avatar
pedrorodriguez
Registered Member
Posts
115
Karma
0
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 4:54 pm
Reading symbols from /usr/bin/kdenlive...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe01f3700 (LWP 9572)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffeb8bb150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007fffeb8bb150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
#1 0x00007fffd12ad12c in ?? () from /usr/lib/libEGL.so.1
#2 0x00007fffd123f8c2 in ?? () from /usr/lib/libEGL.so.1
#3 0x00007fffffffb4f0 in ?? ()
#4 0x00007fffd12be831 in ?? () from /usr/lib/libEGL.so.1
#5 0x00007fffffffb4f0 in ?? ()
#6 0x00007ffff7def2a6 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
User avatar
pedrorodriguez
Registered Member
Posts
115
Karma
0
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 5:24 pm
Turns out it was partly a microcode update. I got it to start, and after I closed it, it crashes again, although it let's me see the window briefly (before it didn't). Here is the backtrace:

Reading symbols from /bin/kdenlive...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
kf5.kxmlgui: Registering action "edit_select_all" under new name "select_all_tracks"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/pedro/.cache/ksycoca5"
Calling notify on "Sound"
[New Thread 0x7fffbfab7700 (LWP 2589)]
[New Thread 0x7fffc02b8700 (LWP 2588)]
[New Thread 0x7fffc8c45700 (LWP 2587)]
[New Thread 0x7fffe01f3700 (LWP 2586)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffb74c33fc in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0 0x00007fffb74c33fc in ?? () from /usr/lib/libQtGui.so.4
#1 0x00007ffff7dea1fa in call_init.part () from /lib64/ld-linux-x86-64.so.2
#2 0x00007ffff7dea30b in _dl_init () from /lib64/ld-linux-x86-64.so.2
#3 0x00007ffff7dee797 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4 0x00007ffff7dea0a4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5 0x00007ffff7dede53 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6 0x00007fffebac6fc9 in ?? () from /usr/lib/libdl.so.2
#7 0x00007ffff7dea0a4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#8 0x00007fffebac7599 in ?? () from /usr/lib/libdl.so.2
#9 0x00007fffebac7061 in dlopen () from /usr/lib/libdl.so.2
#10 0x00007fffbd68d24f in ?? () from /usr/lib/libvlccore.so.8
#11 0x00007fffbd671eeb in ?? () from /usr/lib/libvlccore.so.8
#12 0x00007fffbd672218 in ?? () from /usr/lib/libvlccore.so.8
#13 0x00007fffbd672174 in ?? () from /usr/lib/libvlccore.so.8
#14 0x00007fffbd6726f4 in ?? () from /usr/lib/libvlccore.so.8
#15 0x00007fffbd672cc1 in ?? () from /usr/lib/libvlccore.so.8
#16 0x00007fffbd5f8e7d in libvlc_InternalInit () from /usr/lib/libvlccore.so.8
#17 0x00007fffbd3c9e1b in libvlc_new () from /usr/lib/libvlc.so.5
#18 0x00007fffbd91c6ab in ?? () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#19 0x00007fffbd8fd0b8 in ?? () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#20 0x00007fffbd920348 in qt_plugin_instance () from /usr/lib/qt5/plugins/phonon4qt5_backend/phonon_vlc.so
#21 0x00007ffff0ffe15f in QPluginLoader::instance() () from /usr/lib/libQt5Core.so.5
#22 0x00007fffefd1f268 in ?? () from /usr/lib/libphonon4qt5.so.4
#23 0x00007fffefd20523 in ?? () from /usr/lib/libphonon4qt5.so.4
#24 0x00007fffefd228d1 in ?? () from /usr/lib/libphonon4qt5.so.4
#25 0x00007fffefd2321d in Phonon::Factory::backend(bool) () from /usr/lib/libphonon4qt5.so.4
#26 0x00007fffefd23833 in ?? () from /usr/lib/libphonon4qt5.so.4
---Type <return> to continue, or q <return> to quit---
#27 0x00007fffefd191a4 in ?? () from /usr/lib/libphonon4qt5.so.4
#28 0x00007fffefd1680e in ?? () from /usr/lib/libphonon4qt5.so.4
#29 0x00007ffff7206352 in ?? () from /usr/lib/libKF5Notifications.so.5
#30 0x00007ffff71e46ce in ?? () from /usr/lib/libKF5Notifications.so.5
#31 0x00007ffff71e19c8 in KNotification::sendEvent() () from /usr/lib/libKF5Notifications.so.5
#32 0x00007ffff1045d5a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#33 0x00007ffff1cef3dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff1cf4820 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff10149eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#36 0x00007ffff1016a2b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#37 0x00007ffff106c9f3 in ?? () from /usr/lib/libQt5Core.so.5
#38 0x00007fffe92f79fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007fffe92f7ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007fffe92f7d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007ffff106cde7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#42 0x00007ffff1012482 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#43 0x00007ffff1eee5f5 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff39b10ad in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) ()
from /usr/lib/libKF5WidgetsAddons.so.5
#45 0x00007ffff39b15d6 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) ()
from /usr/lib/libKF5WidgetsAddons.so.5
#46 0x00007ffff39b1ab7 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#47 0x00007ffff39b1e22 in KMessageBox::questionYesNo(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libKF5WidgetsAddons.so.5
#48 0x00000000005ad688 in ProjectManager::checkForBackupFile(QUrl const&) ()
#49 0x00000000005b104c in ProjectManager::openFile(QUrl const&) ()
#50 0x000000000091c359 in ?? ()
#51 0x00007ffff1044ff9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#52 0x00007ffff3c7f882 in KRecentFilesAction::urlSelected(QUrl const&) () from /usr/lib/libKF5ConfigWidgets.so.5
#53 0x00007ffff3c80568 in ?? () from /usr/lib/libKF5ConfigWidgets.so.5
#54 0x00007ffff1044ff9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#55 0x00007ffff399936f in KSelectAction::triggered(QAction*) () from /usr/lib/libKF5WidgetsAddons.so.5
#56 0x00007ffff399a1d7 in KSelectAction::actionTriggered(QAction*) () from /usr/lib/libKF5WidgetsAddons.so.5
#57 0x00007ffff399d3f8 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#58 0x00007ffff1044ff9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#59 0x00007ffff1ce869f in QActionGroup::triggered(QAction*) () from /usr/lib/libQt5Widgets.so.5
#60 0x00007ffff1ce9249 in ?? () from /usr/lib/libQt5Widgets.so.5
#61 0x00007ffff1044ff9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#62 0x00007ffff1ce5032 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#63 0x00007ffff1ce7698 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#64 0x00000000005b0e60 in ProjectManager::openLastFile() ()
#65 0x000000000091c295 in ?? ()
#66 0x00007ffff1044ff9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#67 0x00007ffff1052b8b in ?? () from /usr/lib/libQt5Core.so.5
#68 0x00007ffff1045d13 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#69 0x00007ffff1cef3dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#70 0x00007ffff1cf4820 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#71 0x00007ffff10149eb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#72 0x00007ffff106bcdd in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#73 0x00007ffff106c121 in ?? () from /usr/lib/libQt5Core.so.5
#74 0x00007fffe92f79fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#75 0x00007fffe92f7ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#76 0x00007fffe92f7d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#77 0x00007ffff106cde7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#78 0x00007ffff1012482 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#79 0x00007ffff1019e5c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#80 0x00000000004d83cc in main ()
(gdb)
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 5:49 pm
pedrorodriguez wrote:(gdb) bt
#0 0x00007fffeb8bb150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
#1 0x00007fffd12ad12c in ?? () from /usr/lib/libEGL.so.1
#2 0x00007fffd123f8c2 in ?? () from /usr/lib/libEGL.so.1
#3 0x00007fffffffb4f0 in ?? ()
#4 0x00007fffd12be831 in ?? () from /usr/lib/libEGL.so.1
#5 0x00007fffffffb4f0 in ?? ()
#6 0x00007ffff7def2a6 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Well, this indeed seems to be related to the nvidia driver (libEGL), it's definitely no Qt4/Qt5 clash.

Your backtrace looks like the one here, maybe that link there will help you too:
https://bbs.archlinux.org/viewtopic.php?id=197100

So unlikely a kdenlive issue.
Both 0.9.10 and 15.04.1 work fine here on openSUSE with intel and radeon, btw (if the correct libmlt is installed).
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 5:54 pm
pedrorodriguez wrote:Turns out it was partly a microcode update.

As suspected... ;)

I got it to start, and after I closed it, it crashes again, although it let's me see the window briefly (before it didn't). Here is the backtrace:

This is a Qt4/Qt5 clash now:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffb74c33fc in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0 0x00007fffb74c33fc in ?? () from /usr/lib/libQtGui.so.4
#1 0x00007ffff7dea1fa in call_init.part () from /lib64/ld-linux-x86-64.so.2
#2 0x00007ffff7dea30b in _dl_init () from /lib64/ld-linux-x86-64.so.2
#3 0x00007ffff7dee797 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4 0x00007ffff7dea0a4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5 0x00007ffff7dede53 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6 0x00007fffebac6fc9 in ?? () from /usr/lib/libdl.so.2
#7 0x00007ffff7dea0a4 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#8 0x00007fffebac7599 in ?? () from /usr/lib/libdl.so.2
#9 0x00007fffebac7061 in dlopen () from /usr/lib/libdl.so.2
#10 0x00007fffbd68d24f in ?? () from /usr/lib/libvlccore.so.8
#11 0x00007fffbd671eeb in ?? () from /usr/lib/libvlccore.so.8
#12 0x00007fffbd672218 in ?? () from /usr/lib/libvlccore.so.8
#13 0x00007fffbd672174 in ?? () from /usr/lib/libvlccore.so.8
#14 0x00007fffbd6726f4 in ?? () from /usr/lib/libvlccore.so.8
#15 0x00007fffbd672cc1 in ?? () from /usr/lib/libvlccore.so.8
#16 0x00007fffbd5f8e7d in libvlc_InternalInit () from /usr/lib/libvlccore.so.8
#17 0x00007fffbd3c9e1b in libvlc_new () from /usr/lib/libvlc.so.5
)

You are probably still using a Qt4-based VLC, and when loading phonon-backend-vlc it loads Qt4 too and crashes.
See here https://bugs.launchpad.net/ubuntu/+sour ... ug/1328466
Workarounds: use phonon-backend-gstreamer, or generate a full VLC plugin cache with "sudo /usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins/" so that VLC does not load the Qt4 plugin on startup.

This is also unrelated to kdenlive btw, such a crash should happen with _every_ application that uses Phonon to play a sound (for a notification e.g.).
User avatar
pedrorodriguez
Registered Member
Posts
115
Karma
0
OS

Re: Kdenlive crashes at startup

Fri May 15, 2015 6:55 pm
Thank you! It worked :)


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]