https://bugs.kde.org/show_bug.cgi?id=381401
Bug ID: 381401 Summary: crash when restarting kdenlive after switching from RtAudio to SDL audio Product: kdenlive Version: 17.04.2 Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Installation Assignee: vpi...@kde.org Reporter: rjvber...@gmail.com Target Milestone: --- Application: kdenlive (17.04.2) (Compiled from sources) Qt Version: 5.8.0 Frameworks Version: 5.35.0 Operating System: Linux 4.9.30-ck1-mainline-core2-rjvb x86_64 Distribution: Ubuntu 14.04.5 LTS -- Information about the crash: - What I was doing when the application crashed: I noticed saccadic playback when using RtAudio output linked to terminal warnings (scrolled off my history, sadly) so I decided to try Pulseaudio output via the SDL module. KDenlive crashed after restarting. About the backtrace: m_consumer->stop() is Mlt::Consumer:stop() which calls the C function `mlt_consumer_stop( get_consumer())`, where `get_consumer() != m_consumer` but `m_consumer->instance` (and that member variable is indeed NULL). -- 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 0x7f38b71e0780 (LWP 384))] Thread 8 (Thread 0x7f389aec0700 (LWP 387)): #0 0x00007f38af5bb84d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f38a73a5b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007f38a73a764f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007f389db4c549 in QXcbEventReader::run (this=0x296f990) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1345 #4 0x00007f38aff72cf9 in QThreadPrivate::start (arg=0x296f990) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qthread_unix.cpp:368 #5 0x00007f38ad605184 in start_thread (arg=0x7f389aec0700) at pthread_create.c:312 #6 0x00007f38af5c8bed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 7 (Thread 0x7f388deeb700 (LWP 388)): #0 0x00007ffd9e574b55 in ?? () #1 0x00007f38880069a0 in ?? () #2 0x00000000b0190700 in ?? () #3 0x00007f3888002ed0 in ?? () #4 0x00007f3888002ed0 in ?? () #5 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3866fb7700 (LWP 389)): #0 0x00007f38af5bb84d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f3868f31031 in linux_udev_event_thread_main () from /opt/local/lib/libusb-1.0.so.0 #2 0x00007f38ad605184 in start_thread (arg=0x7f3866fb7700) at pthread_create.c:312 #3 0x00007f38af5c8bed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 5 (Thread 0x7f3862c73700 (LWP 391)): #0 0x00007ffd9e574b55 in ?? () #1 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f38610a8700 (LWP 393)): #0 0x00007ffd9e574b55 in ?? () #1 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3852a27700 (LWP 396)): #0 0x00007f38a7c7372d in g_main_context_prepare (context=context@entry=0x7f384c000990, priority=priority@entry=0x7f3852a26d28) at gmain.c:3538 #1 0x00007f38a7c74213 in g_main_context_iterate (context=context@entry=0x7f384c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3897 #2 0x00007f38a7c743ec in g_main_context_iteration (context=0x7f384c000990, may_block=may_block@entry=1) at gmain.c:3978 #3 0x00007f38b019059b in QEventDispatcherGlib::processEvents (this=0x7f384c0008c0, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425 #4 0x00007f38b013c17a in QEventLoop::exec (this=this@entry=0x7f3852a26e50, flags=..., flags@entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qeventloop.cpp:212 #5 0x00007f38aff6e2ab in QThread::exec (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qthread.cpp:507 #6 0x00007f38aff72cf9 in QThreadPrivate::start (arg=0x7211240) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/thread/qthread_unix.cpp:368 #7 0x00007f38ad605184 in start_thread (arg=0x7f3852a27700) at pthread_create.c:312 #8 0x00007f38af5c8bed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7f3852226700 (LWP 397)): #0 0x00007ffd9e574b55 in ?? () #1 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f38b71e0780 (LWP 384)): [KCrash Handler] #6 mlt_consumer_stop (self=0x0) at mlt_consumer.c:1635 #7 0x0000000000791d39 in GLWidget::resetProfile (this=0x3cc6da0, profile=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/monitor/glwidget.cpp:1072 #8 0x0000000000799198 in Monitor::resetProfile (this=0x3b95740, profile=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/monitor/monitor.cpp:1490 #9 0x00000000007a5e3c in MonitorManager::resetProfiles (this=0x321eb30, profile=..., tc=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/monitor/monitormanager.cpp:298 #10 0x00000000004c0ab7 in KdenliveDoc::updateProjectProfile (this=this@entry=0x2fbff90, reloadProducers=reloadProducers@entry=false) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/doc/kdenlivedoc.cpp:1528 #11 0x00000000004c3d2a in KdenliveDoc::loadDocumentProperties (this=this@entry=0x2fbff90) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/doc/kdenlivedoc.cpp:1513 #12 0x00000000004c9523 in KdenliveDoc::KdenliveDoc (this=0x2fbff90, url=..., projectFolder=..., undoGroup=<optimized out>, profileName=..., properties=..., metadata=..., tracks=..., render=0x3d95330, notes=0x2fb8440, openBackup=0x7ffd9e50f22e, parent=0x2fa7e10) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/doc/kdenlivedoc.cpp:244 #13 0x0000000000539f19 in ProjectManager::doOpenFile (this=this@entry=0x2faa2a0, url=..., stale=stale@entry=0x0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/project/projectmanager.cpp:532 #14 0x000000000053ea8c in ProjectManager::openFile (this=0x2faa2a0, url=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/project/projectmanager.cpp:506 #15 0x000000000090dc41 in ProjectManager::qt_static_metacall (_o=0x2faa2a0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/build/src/kdenlive_autogen/QV7S676PVK/moc_projectmanager.cpp:197 #16 0x00007f38b0168fb9 in QMetaObject::activate (sender=sender@entry=0x2fb54b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f4e0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3740 #17 0x00007f38b01698c7 in QMetaObject::activate (sender=sender@entry=0x2fb54b0, m=m@entry=0x7f38b40a8e60 <KRecentFilesAction::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f4e0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3602 #18 0x00007f38b3e84442 in KRecentFilesAction::urlSelected (this=this@entry=0x2fb54b0, _t1=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build/src/KF5ConfigWidgets_autogen/include/moc_krecentfilesaction.cpp:206 #19 0x00007f38b3e84f23 in _k_urlSelected (action=0x4816850, this=0x2fb6cc0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/kconfigwidgets-5.35.0/src/krecentfilesaction.cpp:99 #20 KRecentFilesAction::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build/src/KF5ConfigWidgets_autogen/include/moc_krecentfilesaction.cpp:95 #21 0x00007f38b0168fb9 in QMetaObject::activate (sender=sender@entry=0x2fb54b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f650) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3740 #22 0x00007f38b01698c7 in QMetaObject::activate (sender=sender@entry=0x2fb54b0, m=m@entry=0x7f38b330e280 <KSelectAction::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f650) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3602 #23 0x00007f38b305d79f in KSelectAction::triggered (this=this@entry=0x2fb54b0, _t1=<optimized out>, _t1@entry=0x4816850) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build/src/KF5WidgetsAddons_autogen/include/moc_kselectaction.cpp:288 #24 0x00007f38b305db71 in KSelectAction::actionTriggered (this=0x2fb54b0, action=0x4816850) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/kwidgetsaddons-5.35.0/src/kselectaction.cpp:345 #25 0x00007f38b016932e in call (a=0x7ffd9e50f7c0, r=0x2fb54b0, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #26 QMetaObject::activate (sender=0x2fbb340, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f7c0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3723 #27 0x00007f38b01698c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f38b18f8d80 <QActionGroup::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd9e50f7c0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3602 #28 0x00007f38b1240c5f in QActionGroup::triggered (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qactiongroup.cpp:243 #29 0x00007f38b1240e18 in QActionGroupPrivate::_q_actionTriggered (this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/widgets/kernel/qactiongroup.cpp:91 #30 0x00007f38b1241819 in QActionGroup::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qactiongroup.cpp:119 #31 0x00007f38b0168fb9 in QMetaObject::activate (sender=sender@entry=0x4816850, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd9e50f940) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3740 #32 0x00007f38b01698c7 in QMetaObject::activate (sender=sender@entry=0x4816850, m=m@entry=0x7f38b18f8ca0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd9e50f940) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:3602 #33 0x00007f38b123d752 in QAction::triggered (this=this@entry=0x4816850, _t1=<optimized out>) at .moc/moc_qaction.cpp:371 #34 0x00007f38b123fc30 in QAction::activate (this=0x4816850, event=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/widgets/kernel/qaction.cpp:1159 #35 0x000000000053e71d in trigger (this=0x4816850) at /opt/local/include/qt5/QtWidgets/qaction.h:184 #36 ProjectManager::openLastFile (this=0x2faa2a0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/project/projectmanager.cpp:416 #37 0x000000000053ee07 in ProjectManager::slotLoadOnOpen (this=0x2faa2a0) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/project/projectmanager.cpp:93 #38 0x00007f38b0175106 in call (a=0x7ffd9e50fa50, r=<optimized out>, this=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/kernel/qobject_impl.h:101 #39 QSingleShotTimer::timerEvent (this=0x4b436f0) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qtimer.cpp:317 #40 0x00007f38b016a0db in QObject::event (this=0x4b436f0, e=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qobject.cpp:1285 #41 0x00007f38b12438ac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x4b436f0, e=0x7ffd9e50fd20) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/widgets/kernel/qapplication.cpp:3745 #42 0x00007f38b124ab21 in QApplication::notify (this=0x7ffd9e510050, receiver=0x4b436f0, e=0x7ffd9e50fd20) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/widgets/kernel/qapplication.cpp:3502 #43 0x00007f38b013e018 in QCoreApplication::notifyInternal2 (receiver=0x4b436f0, event=event@entry=0x7ffd9e50fd20) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qcoreapplication.cpp:995 #44 0x00007f38b018f31e in sendEvent (event=0x7ffd9e50fd20, receiver=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #45 QTimerInfoList::activateTimers (this=0x2990530) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:643 #46 0x00007f38b018fac1 in timerSourceDispatch (source=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:182 #47 0x00007f38a7c740f7 in g_main_dispatch (context=0x7f38940016f0) at gmain.c:3191 #48 g_main_context_dispatch (context=context@entry=0x7f38940016f0) at gmain.c:3844 #49 0x00007f38a7c74348 in g_main_context_iterate (context=context@entry=0x7f38940016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3917 #50 0x00007f38a7c743ec in g_main_context_iteration (context=0x7f38940016f0, may_block=may_block@entry=1) at gmain.c:3978 #51 0x00007f38b019057f in QEventDispatcherGlib::processEvents (this=0x29ab530, flags=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #52 0x00007f38b013c17a in QEventLoop::exec (this=this@entry=0x7ffd9e50ff50, flags=..., flags@entry=...) at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qeventloop.cpp:212 #53 0x00007f38b0144524 in QCoreApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/corelib/kernel/qcoreapplication.cpp:1268 #54 0x00007f38b06a8b8c in QGuiApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/gui/kernel/qguiapplication.cpp:1661 #55 0x00007f38b1243805 in QApplication::exec () at /opt/local/var/lnxports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.8.0/qtbase/src/widgets/kernel/qapplication.cpp:2921 #56 0x0000000000490c23 in main (argc=<optimized out>, argv=<optimized out>) at /opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdenlive/kf5-kdenlive/work/kdenlive-17.04.2/src/main.cpp:158 Report to https://bugs.kde.org/ -- You are receiving this mail because: You are watching all bug changes.