Bug 362923 - Kdenlive 16.04.1 segfaults when stopping webcam record
Summary: Kdenlive 16.04.1 segfaults when stopping webcam record
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-05-11 06:37 UTC by José JORGE
Modified: 2017-02-05 10:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José JORGE 2016-05-11 06:37:52 UTC
Application: kdenlive (16.04.1)

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.6.0-desktop-0.rc6.2.mga6 x86_64
Distribution: "Mageia 6"

-- Information about the crash:
- What I was doing when the application crashed:
1. open kdenlive
2. record video through USB camera at 640x480 30fps
3. click again in record button to stop the record
4. it segfaults the 3 times I have tried

The crash can be reproduced every time.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f1dd010c800 (LWP 28704))]

Thread 8 (Thread 0x7f1d8cac6700 (LWP 28717)):
#0  0x00007ffe66a94c3f in clock_gettime ()
#1  0x00007f1dc99e2b66 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f1d8cac5b70) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1dca461926 in qt_clock_gettime (ts=0x7f1d8cac5b70, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f1dca5cd379 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7928b90) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1dca5cd8c5 in QTimerInfoList::timerWait (this=0x7928b90, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f1dca5cec3e in timerSourcePrepareHelper (timeout=0x7f1d8cac5c24, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f1d8cac5c24) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f1dc68a49dd in g_main_context_prepare (context=context@entry=0x7926930, priority=priority@entry=0x7f1d8cac5ca8) at gmain.c:3442
#10 0x00007f1dc68a52e3 in g_main_context_iterate (context=context@entry=0x7926930, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#11 0x00007f1dc68a54bc in g_main_context_iteration (context=0x7926930, may_block=may_block@entry=1) at gmain.c:3901
#12 0x00007f1dca5cf70b in QEventDispatcherGlib::processEvents (this=0x64e6b70, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7f1d8cac5dd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1dca3b597c in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x64d4820) at thread/qthread_unix.cpp:340
#16 0x00007f1dc82d565d in start_thread (arg=0x7f1d8cac6700) at pthread_create.c:334
#17 0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f1d8dac8700 (LWP 28715)):
#0  g_mutex_unlock (mutex=0x7f1d80000990) at gthread-posix.c:1347
#1  0x00007f1dc68a49d0 in g_main_context_prepare (context=context@entry=0x7f1d80000990, priority=priority@entry=0x7f1d8dac7ca8) at gmain.c:3440
#2  0x00007f1dc68a52e3 in g_main_context_iterate (context=context@entry=0x7f1d80000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#3  0x00007f1dc68a54bc in g_main_context_iteration (context=0x7f1d80000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f1dca5cf70b in QEventDispatcherGlib::processEvents (this=0x7f1d800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7f1d8dac7dd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1dca3b597c in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x50a4dc0) at thread/qthread_unix.cpp:340
#8  0x00007f1dc82d565d in start_thread (arg=0x7f1d8dac8700) at pthread_create.c:334
#9  0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f1d8ffff700 (LWP 28711)):
#0  0x00007ffe66a94c3f in clock_gettime ()
#1  0x00007f1dc99e2b66 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f1d8fffeb50) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1dca461926 in qt_clock_gettime (ts=0x7f1d8fffeb50, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f1dca5cd379 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f1d84002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1dca5cd8c5 in QTimerInfoList::timerWait (this=0x7f1d84002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f1dca5cec3e in timerSourcePrepareHelper (timeout=0x7f1d8fffec04, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f1d8fffec04) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f1dc68a49dd in g_main_context_prepare (context=context@entry=0x7f1d84000990, priority=priority@entry=0x7f1d8fffec88) at gmain.c:3442
#10 0x00007f1dc68a52e3 in g_main_context_iterate (context=context@entry=0x7f1d84000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#11 0x00007f1dc68a54bc in g_main_context_iteration (context=0x7f1d84000990, may_block=may_block@entry=1) at gmain.c:3901
#12 0x00007f1dca5cf70b in QEventDispatcherGlib::processEvents (this=0x7f1d840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7f1d8fffedb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1dca3b597c in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#15 0x00007f1dcb1a31b5 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#16 0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x1d4be20) at thread/qthread_unix.cpp:340
#17 0x00007f1dc82d565d in start_thread (arg=0x7f1d8ffff700) at pthread_create.c:334
#18 0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1d95dd2700 (LWP 28709)):
#0  g_mutex_lock (mutex=mutex@entry=0x7f1d90000990) at gthread-posix.c:1335
#1  0x00007f1dc68a4cce in g_main_context_check (context=context@entry=0x7f1d90000990, max_priority=2147483647, fds=fds@entry=0x7f1d90002e70, n_fds=n_fds@entry=1) at gmain.c:3621
#2  0x00007f1dc68a5358 in g_main_context_iterate (context=context@entry=0x7f1d90000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#3  0x00007f1dc68a54bc in g_main_context_iteration (context=0x7f1d90000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f1dca5cf70b in QEventDispatcherGlib::processEvents (this=0x7f1d900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7f1d95dd1db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1dca3b597c in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f1dcb1a31b5 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#8  0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x23602f0) at thread/qthread_unix.cpp:340
#9  0x00007f1dc82d565d in start_thread (arg=0x7f1d95dd2700) at pthread_create.c:334
#10 0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f1d9d40f700 (LWP 28708)):
#0  0x00007f1dc99c916d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1da61f67a8 in linux_udev_event_thread_main () from /lib64/libusb-1.0.so.0
#2  0x00007f1dc82d565d in start_thread (arg=0x7f1d9d40f700) at pthread_create.c:334
#3  0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f1dba54c700 (LWP 28706)):
#0  0x00007ffe66a94c3f in clock_gettime ()
#1  0x00007f1dc99e2b66 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f1dba54bb40) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f1dca461926 in qt_clock_gettime (ts=0x7f1dba54bb40, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f1dca5cd379 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f1dac002ed0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f1dca5cd8c5 in QTimerInfoList::timerWait (this=0x7f1dac002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f1dca5cec3e in timerSourcePrepareHelper (timeout=0x7f1dba54bbf4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:126
#8  timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f1dba54bbf4) at kernel/qeventdispatcher_glib.cpp:159
#9  0x00007f1dc68a49dd in g_main_context_prepare (context=context@entry=0x7f1dac000990, priority=priority@entry=0x7f1dba54bc78) at gmain.c:3442
#10 0x00007f1dc68a52e3 in g_main_context_iterate (context=context@entry=0x7f1dac000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#11 0x00007f1dc68a54bc in g_main_context_iteration (context=0x7f1dac000990, may_block=may_block@entry=1) at gmain.c:3901
#12 0x00007f1dca5cf70b in QEventDispatcherGlib::processEvents (this=0x7f1dac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7f1dba54bda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f1dca3b597c in QThread::exec (this=this@entry=0x7f1dd0250d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#15 0x00007f1dd01e0445 in QDBusConnectionManager::run (this=0x7f1dd0250d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#16 0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x7f1dd0250d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#17 0x00007f1dc82d565d in start_thread (arg=0x7f1dba54c700) at pthread_create.c:334
#18 0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f1dbbcdd700 (LWP 28705)):
#0  0x00007f1dc99c916d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f1dc4573ac2 in poll (__timeout=-1, __nfds=1, __fds=0x7f1dbbcdccc0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x1200dc0, cond=cond@entry=0x1200e00, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f1dc4575697 in xcb_wait_for_event (c=0x1200dc0) at xcb_in.c:693
#4  0x00007f1dbe20e809 in QXcbEventReader::run (this=0x120af80) at qxcbconnection.cpp:1313
#5  0x00007f1dca3ba589 in QThreadPrivate::start (arg=0x120af80) at thread/qthread_unix.cpp:340
#6  0x00007f1dc82d565d in start_thread (arg=0x7f1dbbcdd700) at pthread_create.c:334
#7  0x00007f1dc99d4fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f1dd010c800 (LWP 28704)):
[KCrash Handler]
#6  0x00007f1dceea724e in Mlt::Consumer::is_stopped (this=0x171a130) at MltConsumer.cpp:124
#7  0x00000000007b7af3 in Render::setProducer (this=0x218c530, producer=producer@entry=0x0, position=position@entry=-1, isActive=true) at /usr/src/debug/kdenlive-16.04.1/src/renderer.cpp:353
#8  0x00000000006c1bbb in Monitor::slotOpenClip (this=this@entry=0x21c2fe0, controller=controller@entry=0x0, in=in@entry=-1, out=out@entry=-1) at /usr/src/debug/kdenlive-16.04.1/src/monitor/monitor.cpp:1297
#9  0x00000000006c1cce in Monitor::stopCapture (this=0x21c2fe0) at /usr/src/debug/kdenlive-16.04.1/src/monitor/monitor.cpp:1895
#10 0x00000000006ca619 in RecManager::slotRecord (this=0x2905180, record=<optimized out>) at /usr/src/debug/kdenlive-16.04.1/src/monitor/recmanager.cpp:205
#11 0x00007f1dca5a8486 in QtPrivate::QSlotObjectBase::call (a=0x7ffe66a8a760, r=0x2905180, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x2506cf0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffe66a8a760) at kernel/qobject.cpp:3715
#13 0x00007f1dca5a8a27 in QMetaObject::activate (sender=sender@entry=0x2506cf0, m=m@entry=0x7f1dcbde7a40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffe66a8a760) at kernel/qobject.cpp:3595
#14 0x00007f1dcb90c922 in QAction::toggled (this=this@entry=0x2506cf0, _t1=_t1@entry=false) at .moc/moc_qaction.cpp:382
#15 0x00007f1dcb90f03e in QAction::setChecked (this=this@entry=0x2506cf0, b=<optimized out>) at kernel/qaction.cpp:981
#16 0x00007f1dcb90f17c in QAction::activate (this=0x2506cf0, event=<optimized out>) at kernel/qaction.cpp:1160
#17 0x00007f1dcba0a580 in QAbstractButtonPrivate::click (this=this@entry=0x1ec6df0) at widgets/qabstractbutton.cpp:515
#18 0x00007f1dcba0a68c in QAbstractButton::mouseReleaseEvent (this=0x1d32bb0, e=0x7ffe66a8ac40) at widgets/qabstractbutton.cpp:1131
#19 0x00007f1dcbac7a8a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:609
#20 0x00007f1dcb9568d8 in QWidget::event (this=0x1d32bb0, event=event@entry=0x7ffe66a8ac40) at kernel/qwidget.cpp:9109
#21 0x00007f1dcba0b1b3 in QAbstractButton::event (this=this@entry=0x1d32bb0, e=e@entry=0x7ffe66a8ac40) at widgets/qabstractbutton.cpp:1088
#22 0x00007f1dcbac7b59 in QToolButton::event (this=0x1d32bb0, event=0x7ffe66a8ac40) at widgets/qtoolbutton.cpp:970
#23 0x00007f1dcb91540c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1d32bb0, e=0x7ffe66a8ac40) at kernel/qapplication.cpp:3714
#24 0x00007f1dcb91ae41 in QApplication::notify (this=<optimized out>, receiver=0x1d32bb0, e=0x7ffe66a8ac40) at kernel/qapplication.cpp:3272
#25 0x00007f1dca57d1d8 in QCoreApplication::notifyInternal2 (receiver=0x1d32bb0, event=0x7ffe66a8ac40) at kernel/qcoreapplication.cpp:1015
#26 0x00007f1dcb919895 in QApplicationPrivate::sendMouseEvent (receiver=0x1d32bb0, event=0x7ffe66a8ac40, alienWidget=0x1d32bb0, nativeWidget=0x21c2fe0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:227
#27 0x00007f1dcb96fd11 in QWidgetWindow::handleMouseEvent (this=this@entry=0x16f8600, event=event@entry=0x7ffe66a8b040) at kernel/qwidgetwindow.cpp:554
#28 0x00007f1dcb97208b in QWidgetWindow::event (this=0x16f8600, event=0x7ffe66a8b040) at kernel/qwidgetwindow.cpp:210
#29 0x00007f1dcb91540c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x16f8600, e=0x7ffe66a8b040) at kernel/qapplication.cpp:3714
#30 0x00007f1dcb91a2b6 in QApplication::notify (this=0x7ffe66a8b4b0, receiver=0x16f8600, e=0x7ffe66a8b040) at kernel/qapplication.cpp:3495
#31 0x00007f1dca57d1d8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x16f8600, event=event@entry=0x7ffe66a8b040) at kernel/qcoreapplication.cpp:1015
#32 0x00007f1dca8c74d0 in QCoreApplication::sendSpontaneousEvent (event=0x7ffe66a8b040, receiver=0x16f8600) at ../../src/corelib/kernel/qcoreapplication.h:230
#33 QGuiApplicationPrivate::processMouseEvent (e=0x21a0990) at kernel/qguiapplication.cpp:1868
#34 0x00007f1dca8c8f25 in QGuiApplicationPrivate::processWindowSystemEvent (e=<optimized out>) at kernel/qguiapplication.cpp:1652
#35 0x00007f1dca8a789b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:645
#36 0x00007f1dbe23f800 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#37 0x00007f1dc68a51e7 in g_main_dispatch (context=0x7f1db40016f0) at gmain.c:3154
#38 g_main_context_dispatch (context=context@entry=0x7f1db40016f0) at gmain.c:3769
#39 0x00007f1dc68a5418 in g_main_context_iterate (context=context@entry=0x7f1db40016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#40 0x00007f1dc68a54bc in g_main_context_iteration (context=0x7f1db40016f0, may_block=may_block@entry=1) at gmain.c:3901
#41 0x00007f1dca5cf6e6 in QEventDispatcherGlib::processEvents (this=0x1229fd0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#42 0x00007f1dca57b08a in QEventLoop::exec (this=this@entry=0x7ffe66a8b3b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#43 0x00007f1dca5833f1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#44 0x00007f1dca8bf29c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1598
#45 0x00007f1dcb9126f5 in QApplication::exec () at kernel/qapplication.cpp:2973
#46 0x000000000046863a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdenlive-16.04.1/src/main.cpp:130

Reported using DrKonqi