Kdenlive 0.8.2 crashes when trying to open a project or clips with Lucid Lynx

After updating Kdenlive yesterday from version 0.8 to 0.8.2 it crashes when trying to open a project or clips.
Nothing helps! it crashes every time. Unusable!
I'm runnung Kubuntu 10.04 Lucid!

Forums:

Here is the crash report:-
Application: kdenlive (0.8.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-35-generic x86_64
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f51e10d07a0 (LWP 3967))]

Thread 4 (Thread 0x7f51c260e700 (LWP 3968)):
#0 0xffffffffff60017b in ?? ()
#1 0x00007f51c260da60 in ?? ()
#2 0x00007fff7e3ff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f51c0e01700 (LWP 3969)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00007f51e0df1350 in mlt_consumer_get_frame () from /usr/lib/libmlt.so.4
#2 0x00007f51e0df253e in mlt_consumer_rt_frame () from /usr/lib/libmlt.so.4
#3 0x00007f51c6d3901c in ?? () from /usr/lib/mlt/libmltsdl.so
#4 0x00007f51decc89ca in start_thread (arg=) at pthread_create.c:300
#5 0x00007f51db44b70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f51bbfff700 (LWP 3970)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f51c6d38921 in ?? () from /usr/lib/mlt/libmltsdl.so
#2 0x00007f51decc89ca in start_thread (arg=) at pthread_create.c:300
#3 0x00007f51db44b70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f51e10d07a0 (LWP 3967)):
[KCrash Handler]
#5 QBasicAtomicInt::ref (this=0x7fff7e318510, n=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#6 QDomNode (this=0x7fff7e318510, n=...) at dom/qdom.cpp:2035
#7 0x00007f51df94a48f in KBookmarkManager::internalDocument (this=0x3a09660) at ../../kio/bookmarks/kbookmarkmanager.cc:340
#8 0x00007f51df94a4d3 in KBookmarkManager::root (this=0x3a60060) at ../../kio/bookmarks/kbookmarkmanager.cc:465
#9 0x00007f51df94a58d in KBookmarkMap::update (this=0x3919b80) at ../../kio/bookmarks/kbookmarkmanager.cc:101
#10 0x00007f51df9499f5 in KBookmarkManager::parse (this=0x3cd06c0) at ../../kio/bookmarks/kbookmarkmanager.cc:394
#11 0x00007f51df94a476 in KBookmarkManager::internalDocument (this=0x3cd06c0) at ../../kio/bookmarks/kbookmarkmanager.cc:337
#12 0x00007f51df94a4d3 in KBookmarkManager::root (this=0x3a60060) at ../../kio/bookmarks/kbookmarkmanager.cc:465
#13 0x00007f51c03c6eeb in KFilePlacesModel (this=0x39433b0, parent=) at ../../kfile/kfileplacesmodel.cpp:99
#14 0x00007f51c03ba37e in KFileWidget (this=0x368b0c0, _startDir=, parent=) at ../../kfile/kfilewidget.cpp:338
#15 0x00007f51c0e94f14 in KFileModule::createFileWidget (this=, startDir=..., parent=0x7fff7e319590) at ../../kfile/kfilemodule.cpp:37
#16 0x00007f51df96fd72 in KFileDialog (this=0x7fff7e319590, startDir=..., filter=..., parent=, customWidget=) at ../../kio/kfile/kfiledialog.cpp:269
#17 0x00007f51df9711c8 in KFileDialogPrivate::getOpenUrl (startDir=..., filter=..., parent=, caption=..., selectedFilter=0x0) at ../../kio/kfile/kfiledialog.cpp:570
#18 0x00007f51df9713ec in KFileDialog::getOpenUrl (startDir=..., filter=..., parent=0x0, caption=...) at ../../kio/kfile/kfiledialog.cpp:558
#19 0x0000000000489324 in MainWindow::openFile (this=0x1a67120) at /build/buildd/kdenlive-0.8.2/src/mainwindow.cpp:1986
#20 0x000000000048cdad in MainWindow::qt_metacall (this=0x1a67120, _c=QMetaObject::InvokeMetaMethod, _id=8164848, _a=0x7fff7e3199a0)
at /build/buildd/kdenlive-0.8.2/obj-x86_64-linux-gnu/src/cmake_bindir/mainwindow.moc:397
#21 0x00007f51e0408e3f in QMetaObject::activate (sender=0x2da32d0, m=, local_signal_index=, argv=0x0) at kernel/qobject.cpp:3293
#22 0x00007f51dc04e032 in QAction::triggered (this=0x7fff7e318510, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00007f51dc0500ab in QAction::activate (this=0x2da32d0, event=) at kernel/qaction.cpp:1255
#24 0x00007f51dc40a6ca in QAbstractButtonPrivate::click (this=0x39282f0) at widgets/qabstractbutton.cpp:528
#25 0x00007f51dc40a97c in QAbstractButton::mouseReleaseEvent (this=0x1f5abc0, e=0x7fff7e31a300) at widgets/qabstractbutton.cpp:1121
#26 0x00007f51dc4d68ca in QToolButton::mouseReleaseEvent (this=0x7fff7e318510, e=0x3a60060) at widgets/qtoolbutton.cpp:721
#27 0x00007f51dc0aa582 in QWidget::event (this=0x1f5abc0, event=0x7fff7e31a300) at kernel/qwidget.cpp:7998
#28 0x00007f51dc05422c in QApplicationPrivate::notify_helper (this=0x19927f0, receiver=0x1f5abc0, e=0x7fff7e31a300) at kernel/qapplication.cpp:4300
#29 0x00007f51dc05aecb in QApplication::notify (this=0x7fff7e31b000, receiver=0x1f5abc0, e=0x7fff7e31a300) at kernel/qapplication.cpp:3865
#30 0x00007f51dfe72a16 in KApplication::notify (this=0x7fff7e31b000, receiver=0x1f5abc0, event=0x7fff7e31a300) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00007f51e03f606c in QCoreApplication::notifyInternal (this=0x7fff7e31b000, receiver=0x1f5abc0, event=0x7fff7e31a300) at kernel/qcoreapplication.cpp:704
#32 0x00007f51dc05a0ae in QCoreApplication::sendEvent (receiver=0x1f5abc0, event=0x7fff7e31a300, alienWidget=0x1f5abc0, nativeWidget=0x3924c90, buttonDown=,
lastMouseReceiver=, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x1f5abc0, event=0x7fff7e31a300, alienWidget=0x1f5abc0, nativeWidget=0x3924c90, buttonDown=,
lastMouseReceiver=, spontaneous=true) at kernel/qapplication.cpp:2965
#34 0x00007f51dc0d9f65 in QETWidget::translateMouseEvent (this=0x3924c90, event=) at kernel/qapplication_x11.cpp:4368
#35 0x00007f51dc0d88ac in QApplication::x11ProcessEvent (this=, event=0x7fff7e31ac20) at kernel/qapplication_x11.cpp:3501
#36 0x00007f51dc104882 in x11EventSourceDispatch (s=0x19965b0, callback=, user_data=) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007f51da55e8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007f51da562748 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007f51da5628fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007f51e041f513 in QEventDispatcherGlib::processEvents (this=0x1978de0, flags=) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007f51dc10446e in QGuiEventDispatcherGlib::processEvents (this=0x7fff7e318510, flags=) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f51e03f4992 in QEventLoop::processEvents (this=, flags=) at kernel/qeventloop.cpp:149
#43 0x00007f51e03f4d6c in QEventLoop::exec (this=0x7fff7e31af50, flags=) at kernel/qeventloop.cpp:201
#44 0x00007f51e03f8aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x000000000045eec5 in main (argc=, argv=) at /build/buildd/kdenlive-0.8.2/src/main.cpp:89

Report to http://kdenlive.org/mantis

Same here. I converted from the svn version to 0.8.2 when it was announced and now it crashes every time I open a recent file. I tried to submit a bug report but it said there was no useful information in it.

Ubuntu Lucid 10.04

No problem.
Just install last release of kdebase for Lucid.

sudo add-apt-repository ppa:kubuntu-ppa/backports
sudo apt-get update
sudo apt-get install kdebase

Hi lorenzo,

Thanks for the tip!
It does work and upgrades KDE from 4.4.5 to KDE 4.5.3.
Of course KDE gets the new look and the system tray looks different.
Your command "sudo apt-get install kdebase" did not do anything the result was "kdebase is already the latest version". I then started "synaptic pakage manager" -> "reload" -> "mark all upgrades" -> "apply".
Over 270 new files were installed. Virtuoso asked for a new Password!
I have tested most of my programs and they do run normally.
"Kontact" and "Kmail" didn't run anymore so I installed:-
libakonadi-contact4
libkontactinterface4.

I haven't finished testing everything.

My advice to other users is:-
1. If you want to stay with the normal Kubuntu Lucid versions DON'T install the ppa KDE 4.5.3 version.
2. If you install from the backport ppa make a clonezilla image of your current Lucid installation and then install.

My experience with the upgrade to ppa:kubuntu-ppa/backports.

1. open a terminal
2. Type sudo add-apt-repository ppa:kubuntu-ppa/backports
3. start "synaptic pakage manager" -> "reload" -> "mark all upgrades" -> "apply".
Over 270 new files download.
4. Virtuoso asked for a new Password! Leave it blank.
5. Every thing installs and at the end it gets stuck (trying to start Virtuoso)
6. Just reboot your computer!
7. After logging into KDE Synaptic will start-> just close it.
Open a terminal and type "sudo dpkg --configure -a"
8. Reboot again
9. Clean up your desktop and reinstate the Wallpaper & desktop as it was before the upgrade.
10. Start "synaptic pakage manager" -> "reload"
11. In the "Search" field type "libkontactinterface4" and mark it for installation.
12. In the "Search" field type "libakonadi-contact4" and mark it for installation.
13. Click on "Apply" to install.
14. Thats it!

Steps 11, 12 & 13 are necessary if you use Kontact & Kmail.
If you haven't yet installed the new kdenlive version 0.8.2 then do it now.
Everything runs normally for me after the upgrade.
I find that my startup is much faster now.

I have to create new projects and be really carefully saving all time.

Damnit... I have the exact same problem. Upgrade and cannot add a clip or it crashes immediately with "no useful information". It crashes every time.

I have waited forever, since the last upgrade fraked everything. I had kdenlive working but then it was effectively unusable. Now it is totally unusalbe - after looking forward to this forever.

Does anybody know how to find older versions... Or another video editing program that works ok in Linux?

how could I open the progran if it's my first time using it??

Hi LAWRITABEIA

Press Alt+F2 Type "kdenlive" press enter.
or
If you are using UBUNTU add it to your menu.
System -> Preferences -> Main Menu
Kubuntu you should find the program in Multimedia.

Hi genson & Anthrogue
Using UBUNTU.
Try adding the kubuntu backports ppa.
sudo add-apt-repository ppa:kubuntu-ppa/backports
start synaptics -> reload -> "mark all upgrades" -> "apply".
This will not install Kubuntu but will update your KDE used by UBUNTU.

Hi Warwec,

I'll try and post the results. Thanks for answering.

waverc: I'm in Linux Mint 8 KDE. The KDE version is 4.3.5

If I do: "adding the kubuntu backports ppa.
sudo add-apt-repository ppa:kubuntu-ppa/backports
start synaptics -> reload -> "mark all upgrades" -> "apply".

Is that likely in any way to screw the computer.. and necessitate backups, etc. Or is it pretty safe, assuming it works in Linux Mint 8 KDE?

hi Anthrogue,

As far as I know Mint is compatible with Ubuntu software repositories.
Your KDE version is very old thats why it crashes.
You should use clonezilla to make an image of your linux partition and then try.

I suggest you rather upgrade mint. Version 10 has KDE 4.6 and kdenlive should run then.
read these links:-
http://blog.linuxmint.com/?p=1676
http://community.linuxmint.com/tutorial/view/2

I've done changes required, but updated Kdenlive don't run.

I use Gnome environment.

What I can do?

The Great thing about linux is that you can use different desktops on the same computer.
I find that if you use GNOME you should also have an installation of KDE too and visa verse.
There are many programs that run more stable having both installed.

How to install Kubuntu on your UBUNTU GNOME.
If you decide to install both then be aware that your boot splash screen will change to kubuntu.
See below for a tip: to reinstate the UBUNTU splash screen!

1. sudo apt-add-repository ppa:kubuntu-ppa/backports
2. sudo apt-get update
3. sudo apt-get install kubuntu-desktop
During the installation you will be prompted to either use GDM or KDM as your login manager. It is totally up to you as to which one you pick. You will be able to get to either Gnome or KDE with either.
Select GDM to keep the login the same.
Select KDM to use the KDE login
4. After the installation REBOOT
5. you can now choose which desktop you want to use (KDE or GNOME) in your login screen.
I think it is one of the symbols at the bottom of the screen in GDM.

Sit back and relax and in a short time you will have latest version KDE installed along side your Gnome desktop manager.

TIP!
To Change the splash screen back to UBUNTU.

Then run the following:
Code:

sudo apt-get remove --purge usplash*

this will remove all of the artwork for Ubuntu/Kubuntu and the usplash configuration files. It will also remove the packages kubuntu-desktop and ubuntu-desktop, but these are only meta packages and the actual desktops will not be removed, then:
Code:

sudo apt-get install usplash usplash-theme-ubuntu

this should create a new initrd.img with the correct splash theme, if not then:
Code:

sudo update-initramfs -u

or
Code:

sudo dpkg-reconfigure usplash

one of these commands will update the initrd.img file.

Where Kdenlive base packet is posted? I don't find it!

i get the same problem as far as trying to add a clip. i can open an old project file just fine (it even creates a backup putting a zero on the filename for me) and even render it BUT as soon as I go to the add clip choice from the project menu pulldown, kdenlive crashes and error log says Executable: kdenlive PID: 15415 Signal: 11 (Segmentation fault) BUT also Application: Kdenlive (kdenlive), signal: Segmentation fault

Sure enough I have KDE 4.4.5 installed on this old Ubuntu 10.04 install. What is the supposed solution? Upgrade KDE?

UPDATE: i am able to drag and drop clips from nautilus into the kdenlive window into project tree tab and it does NOT crash so that's a good thing. HUH.

The same crashes happen to me when I'm trying to check the 'project settings' or when I want to add clips, but strangely enough I noticed that àfter a crash, when you restart through 'The KDE Crash Handler' every works just well!! Opening clips or checking the setting doesn't cause any new crashes!!

Is there a linux-expert that has an answer for this?

still curious what the issue is here, i can't seem to get a useful crash report.

OK, if you follow this:

The Ubuntu 10.04 crash is a known issue. A fix has been commited last night to our new git repository, the sunab experimental repository should have the update in a few hours (packages compiling right now).

So for all ubuntu users who want to try it, you can get the sunab experimental packages:
https://launchpad.net/~sunab/+archive/kdenlive-svn

ok, i removed all existing mlt and kdenlive. removed the sunab stable ppa, and added new svn ppa which is (ppa:sunab/kdenlive-svn). installed and all is well now, it doesn't crash anymore with add clip or open BUT now when I play what I have in my timeline, the position indicator does NOT move. it's a small issue BUT obviously I need to know where I am in the timeline if I pause the video while I am playing it back within the project monitor. At least I was able to get a new video up using the svn experimental ppa.
Any thoughts OR hopefully it will get fixed with the new .8.2.1 you're going to publish.

I reported the timeline pointer issue early yesterday evening and have since received feedback that it has been fixed. I assume it will be in the next kdenlive-svn update. It's amazing how difficult it is without it, but no problem, being at this end of the software sometimes mishaps occur.

awesome, thanks for letting me know. well, I updated to the latest a minute ago and I am now running 0.8.3+git20111111.08fd8d1c-0ubuntu0~sunab~lucid1
It has fixed the position indicator not moving when playing your timeline in the project monitor BUT now when I apply a dissolve transition, it doesn't show it in my timeline. it doesn't show up in the effects list either. It does appear to have applied a dissolve between my 2 clips which is really weird. Not sure where I should submit this? I understand I am using experimental svn and there will be issues. That's all fine and what not, just want to aid in reporting bugs properly. Time is off the essence so I need to go finish my video before someone else on YT uploads it first. Lots happening on the COD YT front. LOL

UPDATE: I've had to go back to sunab stable because now that I can't see the transitions added to clips (screen for example) there is no way to edit what tracks it affects nor can I drag it so that it affects more clips to the right. Also, I need to use the affine to locate a video watermark which I can't do because I can't see the affine transition after I add it to my clips.

Yep, same here. Just issued another bug report but it's a bit vague so I'll do a little more testing on an old project.

EDIT: Discussing this here seems to be in the wrong thread.

Packages from my repositories ARE NOT compiled against KDE backports so, at some point you may experience problems.

A bugfix release is expected soon to address few problems of 0.8.2