Bug 346413 - 15.04.0 Freezes when trying to save project
Summary: 15.04.0 Freezes when trying to save project
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 347369 351711 353027 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-20 21:27 UTC by Unknown
Modified: 2016-07-04 09:23 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2015-04-20 21:27:02 UTC
When I hit CTRL+S to save or go to "File>Save" or "File>Save As" Kdenlive opens the save dialogue box, but then the program freezes up. I can control the top window bar to move the window, minimize Kdenlive, Maximize the save dialogue window, but the red X/close does nothing. I have to terminate the program with xkill. When it reboots, it asks me if I want to recover my last project that was active when it froze and forced me to terminate it. The window sizes and positions are also not remembered upon restarting the program.

Reproducible: Always

Steps to Reproduce:
1.Open Kdenlive
2.Hit CTRL+S or go to "File>Save As"
3.The save dialogue box comes up, but the entire program freezes and becomes unresponsive.

Actual Results:  
Program freezes, forcing me to close via xkill command.

Expected Results:  
Provided an interactive dialog box that I could use to save my project.

Running Kubuntu 15.04 beta 2 x64 with kdenlive-svn ppa. Bug discovered on 2015.04.20. This has been replicated on multiple machines of various types all running Kubuntu 15.04 beta 2.
Comment 1 Jean-Baptiste Mardelle 2015-04-20 22:22:57 UTC
I also have this problem on Ubuntu 15.04. I think it is related to the kdeframeworks problem reported and fixed a few days ago, see:
https://git.reviewboard.kde.org/r/123335/diff/#index_header

However I have not yet been able to confirm that the patch fixes the problem... 
Will investigate asap but have no time in the next 2 days...
Comment 2 Unknown 2015-04-20 22:33:28 UTC
No problem. Appreciate the reply sir!
Comment 3 Antonio Rojas 2015-04-21 09:14:54 UTC
We have the patch in Arch Linux but it doesn't fix the problem
Comment 4 vlad 2015-04-21 09:47:16 UTC
kdenlive 15.04.0-1

terminal output:
kf5.kxmlgui: Registering action "edit_select_all" under new name "select_all_tracks"
Removing cache at "/home/svicer/.cache/kdenlive-thumbs.kcache"
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7717, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7809, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7822, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7847, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7880, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7901, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7911, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7921, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7931, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7941, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7951, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 7961, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9274, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9300, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9325, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9353, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9363, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9689, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9714, resource id: 60817758, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9730, resource id: 60817758, major code: 130 (Unknown), minor code: 3
kf5.kservice.sycoca: Trying to open ksycoca from "/home/user/.cache/ksycoca5"
QXcbConnection: XCB error: 3 (BadWindow), sequence: 11709, resource id: 46176338, major code: 15 (QueryTree), minor code: 0

Steps to reproduce: "save" or "save as" projeсt

I open kwrite and open save dialog. I can save project in kdenlive.
Comment 5 vlad 2015-04-21 11:14:17 UTC
I built kdenlive from source(git checkout v15.04.0). After starting from user space (without installation) this error is no more. But now freeze open dialog(sometimes) and add media dialog (only button)
Comment 6 Antonio Rojas 2015-04-24 12:09:29 UTC
With the frameworkintegration patch the freeze only happens occasionally (when opening the save or open dialogs). Backtrace:

Program received signal SIGINT, Interrupt.
0x00007ffff19ab4ed in poll () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff19ab4ed in poll () from /usr/lib/libc.so.6
#1  0x00007fffeb5e9c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fffeb5e9d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffff27811b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#4  0x00007ffff2726852 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffff320dd15 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#6  0x00007fffe2d150af in ?? () from /usr/lib/qt/plugins/platformthemes/KDEPlatformTheme.so
#7  0x00007ffff320dbca in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff321f845 in QFileDialog::getOpenFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /usr/lib/libQt5Widgets.so.5
#9  0x00000000005b0313 in ProjectManager::openFile() ()
#10 0x0000000000916aa5 in ?? ()
#11 0x00007ffff27593c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff3004722 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff3006d88 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff318844a in ?? () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff318de64 in ?? () from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff3192a9e in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff3051e08 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff31932b3 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff300eacc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff30147d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff2728dbb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#22 0x00007ffff30132ea in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff306a253 in ?? () from /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff306c643 in ?? () from /usr/lib/libQt5Widgets.so.5
#25 0x00007ffff300eacc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff3013f10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff2728dbb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#28 0x00007ffff2a56752 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
   from /usr/lib/libQt5Gui.so.5
#29 0x00007ffff2a58305 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff2a3d1ef in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Gui.so.5
#31 0x00007fffe52791b0 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#32 0x00007fffeb5e99fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007fffeb5e9ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007fffeb5e9d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007ffff27811b7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#36 0x00007ffff2726852 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007ffff272e22c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#38 0x00000000004d7491 in main ()
Comment 7 Unknown 2015-04-27 18:42:46 UTC
Interesting development: I just installed Ubuntu GNOME 15.04, installed Kdenlive 15.04.0, and amazingly, the save dialog box doesn't freeze up! I can (supposedly) save projects. However, when I close Kdenlive, re-open, and try to open the project I saved, it gives an error saying "File /home/travlr/kdenlive/4k test 1 is not a Kdenlive project file". Looks like it will save projects using a distro running GNOME, but it won't open the saved projects.
Comment 8 vlad 2015-04-30 06:54:18 UTC
(In reply to Jesse from comment #7)
> Interesting development: I just installed Ubuntu GNOME 15.04, installed
> Kdenlive 15.04.0, and amazingly, the save dialog box doesn't freeze up! I
> can (supposedly) save projects. However, when I close Kdenlive, re-open, and
> try to open the project I saved, it gives an error saying "File
> /home/travlr/kdenlive/4k test 1 is not a Kdenlive project file". Looks like
> it will save projects using a distro running GNOME, but it won't open the
> saved projects.
rename project filename to filename.kdenlive and kdenlive can open project. In gnome dialog not used auto add .kdenlive to project filename..
Comment 9 Jean-Baptiste Mardelle 2015-05-02 18:43:12 UTC
Git commit 2192b44573508d84a44012842f3669ca9443876c by Jean-Baptiste Mardelle.
Committed on 02/05/2015 at 18:42.
Pushed by mardelle into branch 'Applications/15.04'.

Somehow we forgot to re-enable the mimetype update, causing error in save dialogs

M  +2    -2    data/CMakeLists.txt
M  +1    -0    src/mainwindow.cpp

http://commits.kde.org/kdenlive/2192b44573508d84a44012842f3669ca9443876c
Comment 10 Jasem Mutlaq 2015-06-10 07:42:34 UTC
I'm getting this freeze in all file dialogs (open/save/select folder...etc). It seems that the freeze is somehow caused if the dialog function is called with NULL pointer for parent, but this used to work fine in KDE for years. For example:

QFileDialog::getExistingDirectory(0, xi18n("FITS Save Directory"), fitsDir->text());

Causes a freeze, replacing this with 'this' or a global application instance does not result in the freeze. This is definitely a regression bug of some sort. I'm on 15.04 with latest updates.
Comment 11 h.k.ghost 2015-08-10 00:48:43 UTC
This might be related, but mine was working fine a few days ago on a new project. Then, about 2 days ago, it started to freeze for no apparent reason. I first noticed when I was trying to remove clips I had already added. (This is after I had already added over 150+ clips and organized the project without issues...)

It was able to open dialogs just fine, but then after it started to freeze it became unusable and can do almost nothing with it...

Here's hoping for a patch/fix soon.
Comment 12 h.k.ghost 2015-08-10 00:54:11 UTC
Also noticed that I don't need to open a dialog for it to crash.. If I go into a folder and try to remove a clip by pressing the "Delete" key on the keyboard, it crashes at some point.

For this example, I selected the a clip in a folder, pressed Delete, and it was removed. When I did this on the 2nd clip, it crashed with the console output below. Sometimes, it just crashes on the first attempt using the same procedure, and in other instances, it allows me to remove, say, 4 clips, and then crashes on the 5th.

The crash itself seems almost guaranteed to happen, but the steps to reproduce it seem a bit more elusive...

-----------------------------------------
% kdenlive
kf5.kiconthemes: "Theme tree: (Breeze)"
kf5.kxmlgui: Registering action  "edit_select_all"  under new name  "select_all_tracks"
Removing cache at "/home/ray/.cache/kdenlive-thumbs.kcache"
Removing cache at "/home/ray/.cache/kdenlive-thumbs.kcache"
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8536, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8691, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 8889, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9061, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9100, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9133, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9209, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9258, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9283, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9297, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9311, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9325, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9347, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 9360, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11396, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11418, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11437, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11698, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11720, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 11745, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12122, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12145, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12236, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12267, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12548, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12570, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12595, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12652, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12668, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 12841, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13342, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13497, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13993, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 14475, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 14952, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 15429, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 15906, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 16383, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 16860, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 17337, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 17814, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 18291, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 18768, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 19245, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 19722, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 20194, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 20670, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 21142, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 21618, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 22096, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 22576, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 23053, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 23530, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 24002, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 24479, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 24956, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 25432, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 26153, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 26302, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 26788, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 27485, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 27973, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 28471, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 28493, resource id: 123732297, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 28509, resource id: 123732297, major code: 130 (Unknown), minor code: 3
[1]    29530 segmentation fault (core dumped)  kdenlive
Comment 13 h.k.ghost 2015-08-13 08:20:43 UTC
Is anyone aware of any practical workarounds that would allow us to keep working on our projects without freezing/crashing every time we need to perform a basic operation, at least while the critical bug gets fixed?

It's been almost 4 months since the original report. Is someone actively working on this? :c
Comment 14 h.k.ghost 2015-08-14 04:39:58 UTC
For those in need of a workaround, I've found (improved, but limited) success running kdenlive while using GDM + Gnome3 instead of SDDM + Plasma.

It still crashes from time to time and there seems to be no reliable way to reproduce it, but it's definitely more usable than the alternative. Remember to save often...

Hope this helps others in the meantime.
Comment 15 Dainius Masiliūnas 2015-09-07 20:41:07 UTC
Happens on openSUSE too, and also when using 15.08. It's not always reproducible though.
Comment 16 Jean-Baptiste Mardelle 2015-09-10 15:21:31 UTC
Git commit 56573c123b7575922c236966145b4c854453535f by Jean-Baptiste Mardelle.
Committed on 10/09/2015 at 15:20.
Pushed by mardelle into branch 'Applications/15.08'.

Fix crash when deleting folders / clips that were parents

M  +61   -22   src/bin/bin.cpp
M  +12   -0    src/bin/projectclip.cpp
M  +3    -0    src/bin/projectclip.h
M  +0    -1    src/bin/projectfolder.cpp
M  +5    -0    src/doc/kdenlivedoc.cpp
M  +4    -6    src/project/clipmanager.cpp

http://commits.kde.org/kdenlive/56573c123b7575922c236966145b4c854453535f
Comment 17 Jean-Baptiste Mardelle 2015-09-11 06:59:35 UTC
Some update on this issue. This is a KF5 problem, not happening on all versions, still trying to figure it out. As a workaround, when you try to open a dialog and the application seems to freeze, you can press "Esc" to get back to the normal application state. Trying to open the file dialog 2-3 times usually makes it appear after some time. This is still a high priority issue, will keep you posted.
Comment 18 Jean-Baptiste Mardelle 2015-09-11 19:11:09 UTC
*** Bug 351711 has been marked as a duplicate of this bug. ***
Comment 19 Dan Farcaș 2015-09-11 19:35:27 UTC
(In reply to Jean-Baptiste Mardelle from comment #17)
> Some update on this issue. This is a KF5 problem, not happening on all
> versions, still trying to figure it out. As a workaround, when you try to
> open a dialog and the application seems to freeze, you can press "Esc" to
> get back to the normal application state. Trying to open the file dialog 2-3
> times usually makes it appear after some time. This is still a high priority
> issue, will keep you posted.

This issue happens in SMPlayer and Kate as well, when trying to open a file - tried creating a new user but the issue persists. The workaround is fine for the moment. Is it the same issue, should I open a separate report?

Thanks
Comment 20 Unknown 2015-09-17 06:53:52 UTC
This issue seems to have been resolved and fixed in Kdenlive versions 15.08.0 and the development version in 15.09.0. I haven't had an issue saving projects. With that, unless specified otherwise, I'm marking this issue as fixed.
Comment 21 John 2015-09-19 22:47:17 UTC
I'm still having this issue in arch linux.
Comment 22 Dainius Masiliūnas 2015-09-20 07:08:54 UTC
Yea, it's still an issue in 15.08.1 on openSUSE Tumbleweed as well. Happens less often now, but still happens.
Comment 23 Jasem Mutlaq 2015-09-20 10:50:31 UTC
I am still getting this problem in KF5 for ALL applications when I either want to open a file or save one. I have to hit "Esc" to keep the application from freezing. Is there a KF5 bug for this?
Comment 24 Jean-Baptiste Mardelle 2015-09-30 09:45:55 UTC
This is not fixed. The problem is between Qt and KF5. More details here:
https://git.reviewboard.kde.org/r/125208/

I hope we can get the patch accepted for Kde frameworks 5.15
Comment 25 Jean-Baptiste Mardelle 2015-09-30 09:46:30 UTC
*** Bug 347369 has been marked as a duplicate of this bug. ***
Comment 26 Jean-Baptiste Mardelle 2015-09-30 09:47:04 UTC
*** Bug 353027 has been marked as a duplicate of this bug. ***
Comment 27 Dainius Masiliūnas 2015-09-30 14:29:01 UTC
Perhaps this bug should have "depends on" bug #350758 then?
Comment 28 Wegwerf 2015-10-09 17:32:43 UTC
(In reply to Jasem Mutlaq from comment #23)
> I have to hit "Esc" to keep the application
> from freezing. Is there a KF5 bug for this?

Jasem, you are my hero ... I didn't know I could bail out using ESC without having to kill Kdenlive. Since I need to extract a lot of still frames in my projects, this KF5 bug was really a pain in the backside. Thank you for pointing out this neat little trick.
Comment 29 Côme Chilliet 2015-10-20 17:11:41 UTC
I have a crash with the same error, not sure it’s the same one.
It’s using 15.08.2-1, working on a project started with a previous version.
I can start kdenlive fine, but it crashes when closing:
$ kdenlive
                            
No LADSPA plugins were found!

Check your LADSPA_PATH environment variable.
Invalid playlist
Removing cache at "/home/mcmic/.cache/kdenlive-thumbs.kcache"
Invalid playlist
QXcbConnection: XCB error: 8 (BadMatch), sequence: 3947, resource id: 98566305, major code: 154 (Unknown), minor code: 11
fish: 'kdenlive' terminated by signal SIGSEGV (Erreur de frontière d'adresse)

If I open my project, it works until I clic on the timeline, at this moment it freezes with the errors posted earlier:
QXcbConnection: XCB error: 8 (BadMatch), sequence: 17814, resource id: 123732297, major code: 130 (Unknown), minor code: 3
A lot of these lines appears with only the sequence and resource id changing.

Is there any workaround? I need to work on this project…
Comment 30 Côme Chilliet 2015-10-20 17:44:19 UTC
Hum, using the git version it does not freeze anymore despite having the same errors in the output…
At least I can work now.
Comment 31 Dainius Masiliūnas 2015-10-20 18:11:21 UTC
Hm, yes, after the last Tumbleweed Packman update (15.18.2 indeed) I get this issue too. Clicking on anything in the timeline freezes Kdenlive. Downgrading to 15.08.1 works around it, too. However, I think this bug is unrelated to the one that was discussed previously.
Comment 32 Wegwerf 2015-11-29 17:40:25 UTC
With Kubuntu 15.10 also come upgraded Qt and KF5 packages. So far, I have not seen this "dialog-does-not-open" bug anymore. If this is in fact an upstream bug, can we please CLOSE WONTFIX it, as there is nothing Kdenlive can do about it? This would also prevent from unrelated bug reports getting pured into this one.
Comment 33 Unknown 2015-11-29 20:25:50 UTC
My technical knowledge has an end user is pretty limited. JBM, I'll leave it up to the expert's discretion how to mark this bug's status.
Comment 34 Jean-Baptiste Mardelle 2015-11-29 21:09:02 UTC
This bug was definitely closed with the KDE Frameworks 5.15.0 release.
The freeze described by Dainius and Côme is a different problem that affects the 15.08.2 version, which causes lots of freezes. It is due to a regression and was fixed in Kdenlive 15.08.3.
Comment 35 asdfaaf3 2016-07-04 09:18:01 UTC
This does not work as described above on Fedora 23 using Mate.
Comment 36 asdfaaf3 2016-07-04 09:19:57 UTC
This does not work as described above on Fedora 23 using Mate.
Comment 37 asdfaaf3 2016-07-04 09:23:36 UTC
This does not work as described above on Fedora 23 using Mate.(In reply to Jean-Baptiste Mardelle from comment #34)
> This bug was definitely closed with the KDE Frameworks 5.15.0 release.
> The freeze described by Dainius and Côme is a different problem that affects
> the 15.08.2 version, which causes lots of freezes. It is due to a regression
> and was fixed in Kdenlive 15.08.3.

this is broken for me I did install kf5-ki* which didn't help.