Bug 394415 - Crash with video or audio capture
Summary: Crash with video or audio capture
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 18.04.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 398118 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-18 16:38 UTC by Lars Marowsky-Bree
Modified: 2020-10-08 04:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: Translation_missing+


Attachments
New crash information added by DrKonqi (14.38 KB, text/plain)
2018-05-31 08:13 UTC, gus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Marowsky-Bree 2018-05-18 16:38:25 UTC
Navigating to Clip Monitor -> Show Record Controls -> Select Webcam and check both audio and video. Select and press the red dot to start recording.

The monitor will actually show video. (And *sometimes* also play audio.)

Press the red dot again to stop recording.

"We are sorry, kdenlive closed unexpectedly."

Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f67455753c0 (LWP 938156))]

Thread 12 (Thread 0x7f6692ffd700 (LWP 938391)):
#0  0x00007f673c1ab899 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f673e4a8dc8 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f673e4a505e in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#5  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f66c7ffe700 (LWP 938382)):
#0  0x00007f673c1ab56c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f67447d51bb in ?? () from /usr/lib64/libmlt.so.6
#2  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f66d495b700 (LWP 938381)):
#0  0x00007f673c1ab56c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f67447d51bb in ?? () from /usr/lib64/libmlt.so.6
#2  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f66d515c700 (LWP 938380)):
#0  0x00007f673c1ab56c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f67447d51bb in ?? () from /usr/lib64/libmlt.so.6
#2  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f66d6ffd700 (LWP 938379)):
#0  0x00007f673c1ab56c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f67447d51bb in ?? () from /usr/lib64/libmlt.so.6
#2  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#3  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f66f5bdf700 (LWP 938163)):
#0  0x00007f67381bee29 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6738179330 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f673817953c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f673e6d4a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f673e4a2baa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#8  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f66f63e0700 (LWP 938162)):
#0  0x00007f673e6d2d1d in QTimerInfoList::updateCurrentTime() () from /usr/lib64/libQt5Core.so.5
#1  0x00007f673e6d3295 in QTimerInfoList::timerWait(timespec&) () from /usr/lib64/libQt5Core.so.5
#2  0x00007f673e6d47de in ?? () from /usr/lib64/libQt5Core.so.5
#3  0x00007f6738178988 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f673817935b in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f673817953c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f673e6d4a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#8  0x00007f673e4a2baa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#9  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#11 0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f67049e5700 (LWP 938161)):
#0  0x00007f6738178d47 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f67381793d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f673817953c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f673e6d4a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f673e4a2baa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f673f91f115 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6706a99700 (LWP 938159)):
#0  0x00007f67381bee29 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6738178b71 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f67381793a7 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f673817953c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f673e6d4a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f673e4a2baa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007f673f91f115 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#10 0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f67223e7700 (LWP 938158)):
#0  0x00007f673da03179 in poll () from /lib64/libc.so.6
#1  0x00007f6738179429 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f673817953c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f673e6d4a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f673e4a2baa in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f674039aa35 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f672fa07700 (LWP 938157)):
#0  0x00007f673da03179 in poll () from /lib64/libc.so.6
#1  0x00007f6737894387 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f6737895faa in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f67329d40a9 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f673e4a7ba0 in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007f673c1a559b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f673da0da1f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f67455753c0 (LWP 938156)):
[KCrash Handler]
#6  0x00007f674459c5ee in Mlt::Consumer::is_stopped() () from /usr/lib64/libmlt++.so.3
#7  0x000055a757a011ec in Render::setProducer (this=0x55a75a5d29f0, producer=producer@entry=0x0, position=position@entry=-1, isActive=true) at /usr/src/debug/kdenlive-18.04.1-1.1.x86_64/src/renderer.cpp:385
#8  0x000055a7578e5459 in Monitor::slotOpenClip (this=0x55a75aa5e3a0, controller=<optimized out>, in=-1, out=-1) at /usr/src/debug/kdenlive-18.04.1-1.1.x86_64/src/monitor/monitor.cpp:1431
#9  0x000055a7578e558e in Monitor::stopCapture (this=0x55a75aa5e3a0) at /usr/src/debug/kdenlive-18.04.1-1.1.x86_64/src/monitor/monitor.cpp:2104
#10 0x000055a7578f222e in RecManager::slotRecord (this=0x55a75ab95f90, record=<optimized out>) at /usr/src/debug/kdenlive-18.04.1-1.1.x86_64/src/monitor/recmanager.cpp:206
#11 0x00007f673e6ab36c in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#12 0x00007f6740777db2 in QAction::toggled(bool) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007f674077a13c in QAction::setChecked(bool) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007f674077a228 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f674086a35b in ?? () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f674086a595 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f674093fcaa in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f67407ba338 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f674093fd34 in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f674077e01c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f674078586f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f673e67d148 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#23 0x00007f67407848bf in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007f67407d468b in ?? () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f67407d6ab1 in ?? () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f674077e01c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f6740785314 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f673e67d148 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#29 0x00007f673ebfe0cc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#30 0x00007f673ebffa15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#31 0x00007f673ebd8eab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#32 0x00007f6732a5578b in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#33 0x00007f673e67b95a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#34 0x00007f673e684494 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#35 0x000055a75762e5e5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdenlive-18.04.1-1.1.x86_64/src/main.cpp:164


I don't quite understand how Mlt::Consumer:is_stopped() can crash. :-/

This is with
kdenlive-18.04.1-1.1.x86_64
libmlt6-6.6.0+git20180502-1.1.x86_64
on openSUSE.
Comment 1 gus 2018-05-31 08:13:48 UTC
Created attachment 112977 [details]
New crash information added by DrKonqi

kdenlive (18.04.1) using Qt 5.10.1

- What I was doing when the application crashed:

Sounds very similar: both audio+video enabled, recording from webcam, stop record -> boom.

-- Backtrace (Reduced):
#6  0x00007f3ec0140f8e in Mlt::Consumer::is_stopped() () at /usr/lib/x86_64-linux-gnu/libmlt++.so.3
#7  0x0000557b79b53d1c in  ()
#8  0x0000557b79a35229 in  ()
#9  0x0000557b79a3535e in  ()
#10 0x0000557b79a41ffe in  ()
Comment 2 Patrick Silva 2018-06-16 01:27:48 UTC
maybe duplicate of bug 395183
Comment 3 Christoph Feck 2018-09-27 00:25:32 UTC
*** Bug 398118 has been marked as a duplicate of this bug. ***
Comment 4 emohr 2020-09-08 17:12:05 UTC
Video and audio grab should work with 20.08.0.

Please try with the current Kdenlive AppImage version 20.08.0 to see if there are any packaging issues https://files.kde.org/kdenlive/release/ 

If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.

WARNING: Version 20.08.0 has a new project type that is not backwards compatible... so you won't be able to use older versions to open new files.
Comment 5 Bug Janitor Service 2020-09-23 04:33:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2020-10-08 04:33:16 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!