It always crashes when no binary nvidia driver is installed. After I install the driver, it does not crash. It also occurs on fedora 23. Reproducible: Always Steps to Reproduce: 1. Install a clean ubuntu 16.04 2. Install kdenlive from kdenlive-test 3. Launch it Actual Results: Crash immediately Expected Results: Normal launch
Hi there! Thanks for choosing kdenlive, and sorry to hear of your troubles with it. Unfortunately, your bug report is not very helpful, as kdenlive starts up all the time for the rest of us. So there has to be something special about your setup that triggers this bug. What you can do to help is to follow the steps outlined in: https://kdenlive.org/bug-reports If none of the steps work, you can try and get a backtrace, and paste that here. If something does fix your problem, please come back and close this ticket. Kind regards, Evert
Yueqi, after installing: is the problem still present? Or does Kdenlive start correctly? If yes, then this is a distro packager problem. It may be that your distro packagers didn't package the required OpenGL drivers when you don't install the binary drivers. This looks much like a problem the Kdenlive project can't help you with.
I switched to Ubuntu. The problem still persists if I use open-source driver . Removing cache at "/home/leo/.cache/kdenlive-thumbs.kcache" // / processing file open // / processing file open: validate OpenGL vendor: "Intel Open Source Technology Center" OpenGL renderer: "Mesa DRI Intel(R) Haswell Mobile " OpenGL ARG_SYNC: true OpenGL OpenGLES: false Segmentation fault (core dumped) If I use nvidia driver. It works on nvidia binary driver.
Can you please provide us with a backtrace of that segfault? Instructions on how to do so are here: https://kdenlive.org/bug-reports -Evert-
Removing cache at "/home/leo/.cache/kdenlive-thumbs.kcache" // / processing file open // / processing file open: validate klauncher not running... launching kdeinit kdeinit5: preparing to launch 'libkdeinit5_klauncher' kdeinit5: Launched KLauncher, pid = 2422, result = 0 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit5: opened connection to :0 kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' OpenGL vendor: "Intel Open Source Technology Center" OpenGL renderer: "Mesa DRI Intel(R) Haswell Mobile " OpenGL ARG_SYNC: true OpenGL OpenGLES: false [New Thread 0x7fffa2cd7700 (LWP 2425)] Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault. 0x00007ffff2457630 in QOpenGLContext::shareGroup() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe2cb5700 (LWP 2411)] [New Thread 0x7fffd997c700 (LWP 2412)] [New Thread 0x7fffd917b700 (LWP 2413)] [New Thread 0x7fffd897a700 (LWP 2414)] [New Thread 0x7fffcbfff700 (LWP 2415)] [Thread 0x7fffd897a700 (LWP 2414) exited] [New Thread 0x7fffd897a700 (LWP 2416)] [New Thread 0x7fffab0f6700 (LWP 2417)] [New Thread 0x7fffaa0f5700 (LWP 2418)] [New Thread 0x7fffa9818700 (LWP 2419)] Removing cache at "/home/leo/.cache/kdenlive-thumbs.kcache" // / processing file open // / processing file open: validate klauncher not running... launching kdeinit kdeinit5: preparing to launch 'libkdeinit5_klauncher' kdeinit5: Launched KLauncher, pid = 2422, result = 0 Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) kdeinit5: opened connection to :0 kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher. kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' OpenGL vendor: "Intel Open Source Technology Center" OpenGL renderer: "Mesa DRI Intel(R) Haswell Mobile " OpenGL ARG_SYNC: true OpenGL OpenGLES: false [New Thread 0x7fffa2cd7700 (LWP 2425)] Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault. 0x00007ffff2457630 in QOpenGLContext::shareGroup() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (gdb) thread apply all bt Thread 11 (Thread 0x7fffa2cd7700 (LWP 2425)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee42531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff2135a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff20dcdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff1ef98a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff1efe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007fffefe2d6fa in start_thread (arg=0x7fffa2cd7700) at pthread_create.c:333 #8 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 10 (Thread 0x7fffa9818700 (LWP 2419)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee42531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff2135a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff20dcdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff1ef98a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff2caa3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007ffff1efe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffefe2d6fa in start_thread (arg=0x7fffa9818700) at pthread_create.c:333 #9 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 9 (Thread 0x7fffaa0f5700 (LWP 2418)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225 #1 0x00007ffff1effa26 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #2 0x00007ffff1efb4d3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #3 0x00007ffff1efe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fffefe2d6fa in start_thread (arg=0x7fffaa0f5700) at pthread_create.c:333 #5 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 8 (Thread 0x7fffab0f6700 (LWP 2417)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee42531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007ffff2135a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007ffff20dcdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007ffff1ef98a4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff2caa3c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007ffff1efe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fffefe2d6fa in start_thread (arg=0x7fffab0f6700) at pthread_create.c:333 #9 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 7 (Thread 0x7fffd897a700 (LWP 2416)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffb716964c in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0 #2 0x00007fffefe2d6fa in start_thread (arg=0x7fffd897a700) at pthread_create.c:333 #3 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 6 (Thread 0x7fffcbfff700 (LWP 2415)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007fffee469cca in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee3f9929 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffee3f9f4b in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fffee44c59a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffee44bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #6 0x00007fffefe2d6fa in start_thread (arg=0x7fffcbfff700) at pthread_create.c:333 #7 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 4 (Thread 0x7fffd917b700 (LWP 2413)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee42531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee4256a2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffe0739906 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007fffee44bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffefe2d6fa in start_thread (arg=0x7fffd917b700) at pthread_create.c:333 #6 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fffd997c700 (LWP 2412)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffee42531c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fffee425469 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fffee44bb45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fffefe2d6fa in start_thread (arg=0x7fffd997c700) at pthread_create.c:333 #6 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fffe2cb5700 (LWP 2411)): #0 0x00007ffff14ffe8d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007fffec18fc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fffec1918d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fffe5007629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #4 0x00007ffff1efe84e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fffefe2d6fa in start_thread (arg=0x7fffe2cb5700) at pthread_create.c:333 #6 0x00007ffff150bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fffe5a9d8c0 (LWP 2404)): #0 0x00007ffff2457630 in QOpenGLContext::shareGroup() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #1 0x00007ffff26fc740 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #2 0x00007ffff26fc93b in QOpenGLFunctions::initializeOpenGLFunctions() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #3 0x00000000006ed016 in ?? () #4 0x0000000000845ddd in ?? () #5 0x00007ffff210dfca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007ffff64c05fd in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #7 0x00007ffff210dfca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007ffff6475b31 in QSGRenderContext::initialize(QOpenGLContext*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #9 0x00007ffff6490cef in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #10 0x00007ffff6491aa6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #11 0x00007ffff242a2f5 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #12 0x00007ffff64cb871 in QQuickWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #13 0x00007ffff369405c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007ffff3699516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007ffff20df62b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007ffff24224ec in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #17 0x00007ffff242325d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #18 0x00007ffff2406f38 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #19 0x00007fffe5039070 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #20 0x00007fffee425127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fffee425380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007ffff2135a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00000000004be00e in ?? () #25 0x000000000050cf0a in ?? () #26 0x000000000050ee73 in ?? () #27 0x000000000082bb39 in ?? () #28 0x00007ffff210dfca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #29 0x00007ffff4c862e2 in KRecentFilesAction::urlSelected(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5 #30 0x00007ffff4c86cb8 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5 #31 0x00007ffff4c8707b in ?? () from /usr/lib/x86_64-linux-gnu/libKF5ConfigWidgets.so.5 #32 0x00007ffff210dfca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x00007ffff3e83ddf in KSelectAction::triggered(QAction*) () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5 #34 0x00007ffff3e86ebd in KSelectAction::actionTriggered(QAction*) () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5 #35 0x00007ffff210de4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #36 0x00007ffff368d95f in QActionGroup::triggered(QAction*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #37 0x00007ffff368e5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #38 0x00007ffff210dfca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #39 0x00007ffff368a412 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #40 0x00007ffff368c898 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #41 0x000000000050ec19 in ?? () #42 0x000000000050f565 in ?? () #43 0x000000000082bad5 in ?? () #44 0x00007ffff210eea1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x00007ffff369405c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #46 0x00007ffff3699516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #47 0x00007ffff20df62b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #48 0x00007ffff20e1a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #49 0x00007ffff2135673 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #50 0x00007fffee425127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #51 0x00007fffee425380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #52 0x00007fffee42542c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #53 0x00007ffff2135a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #54 0x00007ffff20dcdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #55 0x00007ffff20e4e8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #56 0x0000000000485b82 in ?? () #57 0x00007ffff1425830 in __libc_start_main (main=0x484e90, argc=1, argv=0x7fffffffdea8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffde98) at ../csu/libc-start.c:291 #58 0x00000000004861b9 in _start ()
I'm more than a little curious here. You say you are running nvidia binaries fine, but when running the free drivers you are initializing an intel chip? Does glxgears run, or also crash? -Evert-
Does glxgears run, or also crash? It works in both drivers.
This really looks like a duplicate of bug #364278
When can you fix it?
We're not sure that this is even an error with kdenlive, it could very well be with the distrobution that you are running, your specific system, or even just the setup on your system. Kdenlive runs fine for me with vbox drivers, intel drivers and nvidia drivers, both free and proprietary. My advice: use the binary nvidia drivers until the next release of kdenlive on your distribution, and be patient.