Kdenlive   bug tracker Home page

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001900KdenliveEffectspublic2010-11-29 04:312011-05-01 18:47
Reportermariosk8s 
Assigned Toj-b-m 
PrioritynormalSeveritycrashReproducibilityalways
StatusacknowledgedResolutionopen 
Platform64 bitOSKubuntuOS Version10.10
Product VersionRecent git 
Target VersionFixed in Version 
Summary0001900: Changing Speed of a clip crashes kdenlive
DescriptionAdd a speed effect to a clip, change the speed using any means. Kdenlive will segfault.
Steps To ReproduceI'm still not clear how to stage a project for the repro, but it always happens in my project.
Additional InformationApplication: Kdenlive (kdenlive), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe423d84780 (LWP 21956))]

Thread 4 (Thread 0x7fe402cb6710 (LWP 21959)):
#0 0x00007fe419cb18f6 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1 0x00007fe419cb1e78 in ?? () from /lib/libglib-2.0.so.0
0000002 0x00007fe419cb245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
0000003 0x00007fe41fbab1e6 in QEventDispatcherGlib::processEvents (this=0x180d730, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
0000004 0x00007fe41fb7da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
0000005 0x00007fe41fb7ddec in QEventLoop::exec (this=0x7fe402cb5d90, flags=) at kernel/qeventloop.cpp:201
0000006 0x00007fe41fa882fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
0000007 0x00007fe41fb5d5f8 in QInotifyFileSystemWatcherEngine::run (this=0x180cd90) at io/qfilesystemwatcher_inotify.cpp:248
0000008 0x00007fe41fa8b27e in QThreadPrivate::start (arg=0x180cd90) at thread/qthread_unix.cpp:266
0000009 0x00007fe41f800971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
0000010 0x00007fe41de7a94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
0000011 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe401b88710 (LWP 22087)):
#0 0x00007fe41de6e203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007fe41ae6e2da in ?? () from /usr/lib/libxcb.so.1
0000002 0x00007fe41ae6e837 in ?? () from /usr/lib/libxcb.so.1
0000003 0x00007fe41ae6eae5 in xcb_writev () from /usr/lib/libxcb.so.1
0000004 0x00007fe421b1a7ba in _XSend () from /usr/lib/libX11.so.6
0000005 0x00007fe421b1ad45 in _XFlush () from /usr/lib/libX11.so.6
0000006 0x00007fe421af231a in XFlush () from /usr/lib/libX11.so.6
0000007 0x00007fe4057643b8 in ?? () from /usr/lib/libSDL-1.2.so.0
0000008 0x00007fe405758f5c in SDL_UpdateRect () from /usr/lib/libSDL-1.2.so.0
0000009 0x00007fe4057593c5 in SDL_Flip () from /usr/lib/libSDL-1.2.so.0
0000010 0x00007fe4059c76c0 in consumer_play_video (this=0x1327600, frame=0x7fe3fd525c30) at consumer_sdl_still.c:540
0000011 0x00007fe4059c77c9 in consumer_thread (arg=0x1327600) at consumer_sdl_still.c:579
0000012 0x00007fe41f800971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
0000013 0x00007fe41de7a94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
0000014 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe402389710 (LWP 22088)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fe4059c5ca3 in consumer_thread (arg=0x13166d0) at consumer_sdl_preview.c:431
0000002 0x00007fe41f800971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
0000003 0x00007fe41de7a94d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
0000004 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe423d84780 (LWP 21956)):
[KCrash Handler]
0000006 Private (this=0x7fff0f7eb960, p=...) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:360
0000007 QVariant::QVariant (this=0x7fff0f7eb960, p=...) at kernel/qvariant.cpp:1419
0000008 0x00007fe41fba0b66 in QVariant::cmp (this=0x21b, v=...) at kernel/qvariant.cpp:2853
0000009 0x00007fe41ee4b157 in operator== (this=0x3) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:409
0000010 QAbstractSpinBoxPrivate::specialValue (this=0x3) at widgets/qabstractspinbox.cpp:1458
0000011 0x00007fe41ee4d79a in QAbstractSpinBox::selectAll (this=<value optimized out>) at widgets/qabstractspinbox.cpp:493
0000012 0x00007fe41ee4e2e0 in QAbstractSpinBox::stepBy (this=0xbeb9d70, steps=<value optimized out>) at widgets/qabstractspinbox.cpp:627
0000013 0x00007fe41ee4b9da in QAbstractSpinBoxPrivate::updateState (this=0x39353a0, up=true, fromKeyboard=false) at widgets/qabstractspinbox.cpp:1613
0000014 0x00007fe41ee4bf2f in QAbstractSpinBox::mousePressEvent (this=0xbeb9d70, event=0x7fff0f7ec3a0) at widgets/qabstractspinbox.cpp:1327
0000015 0x00007fe41eac4035 in QWidget::event (this=0xbeb9d70, event=0x7fff0f7ec3a0) at kernel/qwidget.cpp:8183
0000016 0x00007fe41ea6dfdc in QApplicationPrivate::notify_helper (this=0xc04b00, receiver=0xbeb9d70, e=0x7fff0f7ec3a0) at kernel/qapplication.cpp:4396
0000017 0x00007fe41ea7430e in QApplication::notify (this=0x7fff0f7ed0a0, receiver=0xbeb9d70, e=0x7fff0f7ec3a0) at kernel/qapplication.cpp:3959
0000018 0x00007fe4231b8156 in KApplication::notify (this=0x7fff0f7ed0a0, receiver=0xbeb9d70, event=0x7fff0f7ec3a0) at ../../kdeui/kernel/kapplication.cpp:310
0000019 0x00007fe41fb7ecdc in QCoreApplication::notifyInternal (this=0x7fff0f7ed0a0, receiver=0xbeb9d70, event=0x7fff0f7ec3a0) at kernel/qcoreapplication.cpp:732
0000020 0x00007fe41ea72dbe in sendEvent (receiver=0xbeb9d70, event=0x7fff0f7ec3a0, alienWidget=0xbeb9d70, nativeWidget=0x13cc190, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000021 QApplicationPrivate::sendMouseEvent (receiver=0xbeb9d70, event=0x7fff0f7ec3a0, alienWidget=0xbeb9d70, nativeWidget=0x13cc190, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
0000022 0x00007fe41eaf6345 in QETWidget::translateMouseEvent (this=0x13cc190, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
0000023 0x00007fe41eaf4c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff0f7eccc0) at kernel/qapplication_x11.cpp:3536
0000024 0x00007fe41eb210e2 in x11EventSourceDispatch (s=0xc08940, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
0000025 0x00007fe419cae342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
0000026 0x00007fe419cb22a8 in ?? () from /lib/libglib-2.0.so.0
0000027 0x00007fe419cb245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
0000028 0x00007fe41fbab193 in QEventDispatcherGlib::processEvents (this=0xbe9e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
0000029 0x00007fe41eb20a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff0f7eb960, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
0000030 0x00007fe41fb7da02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
0000031 0x00007fe41fb7ddec in QEventLoop::exec (this=0x7fff0f7ecff0, flags=) at kernel/qeventloop.cpp:201
0000032 0x00007fe41fb81ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
0000033 0x000000000044fcf5 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/mario/data/foss/video/kdenlive/src/main.cpp:90
TagsNo tags attached.
Build/Install MethodManual build from SVN
Attached Fileslog file icon valgrind.log [^] (198,635 bytes) 2010-11-29 04:31 [Show Content]
log file icon kdenlive.log [^] (16,000 bytes) 2010-11-29 04:33 [Show Content]
? file icon crashRepro.kdenlive [^] (7,274 bytes) 2010-11-29 05:08

- Relationships

-  Notes
(0006131)
mariosk8s (reporter)
2010-11-29 04:38

Here are the details of what i'm running

[mlt]$ git log
commit caaabe1ad876680eaac03befff851207b959cbc4
Author: Dan Dennedy <dan@dennedy.org>
Date: Fri Nov 26 16:42:24 2010 -0800

[kdenlive]$ svn info ..
Path: ..
URL: https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/trunk/kdenlive [^]
Repository Root: https://kdenlive.svn.sourceforge.net/svnroot/kdenlive [^]
Repository UUID: a2abcaa8-d70d-0410-9ff2-926f44380769
Revision: 5124
Node Kind: directory
Schedule: normal
Last Changed Author: j-b-m
Last Changed Rev: 5124
Last Changed Date: 2010-11-28 14:53:15 -0800 (Sun, 28 Nov 2010)

These are built with -g -O0

Everything else is standard kubuntu packages with no upgrades pending.
(0006132)
mariosk8s (reporter)
2010-11-29 05:04

Ok got a repro.
1 Create a project.
2 Add a movie clip.
3 Add the pan and zoom effect.
4 Add the speed effect
5 Select the speed effect config
6 Click the up arrow on the Speed spinner
= Kaboom!
(0006133)
mariosk8s (reporter)
2010-11-29 05:09

Added a project file in case it doesn't repro with every profile.
(0006134)
mariosk8s (reporter)
2010-11-29 05:16

bug #1899 is a duplicate and should be zapped.
It's been a while since i last mantissed.
(0006680)
elmo (reporter)
2011-04-29 02:46

Is there any progress in this matter?
As I see from the dates the bug is quite old, but I have exactly this problem (Qt 4.7.2, kdenlive 0.7.8, kdelibs 4.6.2) and it is quite frustrating.

The strange part is that I was able to change the movie speed a few times, but I cannot reproduce it.
(0006681)
elmo (reporter)
2011-04-29 12:06

A little update: I am able to set the speed value with the slider, but only by dragging. If I click anywhere on the slider, move the mouse wheel over the spinbox, click the arrows on the spinbox, try to set the value of spinbox via keyboard and push enter or leave the field after changes it crashes.

I.e. after clicking the slider:
Program received signal SIGSEGV, Segmentation fault.
QAbstractSlider::setRepeatAction (this=0x1167110, action=QAbstractSlider::SliderPageStepAdd, thresholdTime=500, repeatTime=50) at widgets/qabstractslider.cpp:643
643 widgets/qabstractslider.cpp: No such file or directory.
        in widgets/qabstractslider.cpp
(gdb) bt
#0 QAbstractSlider::setRepeatAction (this=0x1167110, action=QAbstractSlider::SliderPageStepAdd, thresholdTime=500, repeatTime=50) at widgets/qabstractslider.cpp:643
#1 0x00007ffff4faf8bc in QSlider::mousePressEvent (this=0x1167110, ev=0x7fffffffc320) at widgets/qslider.cpp:481
0000002 0x00007ffff4ba136d in QWidget::event (this=0x1167110, event=0x7fffffffc320) at kernel/qwidget.cpp:8255
0000003 0x00007ffff4b4bf82 in QApplicationPrivate::notify_helper (this=0x8e8660, receiver=0x1167110, e=0x7fffffffc320) at kernel/qapplication.cpp:4462
0000004 0x00007ffff4b55a72 in QApplication::notify (this=<value optimized out>, receiver=0x1167110, e=0x7fffffffc320) at kernel/qapplication.cpp:4023
0000005 0x00007ffff754f116 in KApplication::notify (this=0x7fffffffcee0, receiver=0x1167110, event=0x7fffffffc320) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
0000006 0x00007ffff5a06976 in QCoreApplication::notifyInternal (this=0x7fffffffcee0, receiver=0x1167110, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:731
0000007 0x00007ffff4b51124 in sendEvent (receiver=0x1167110, event=0x7fffffffc320, alienWidget=0x1167110, nativeWidget=0xb06d40, buttonDown=0x7ffff56801d8, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000008 QApplicationPrivate::sendMouseEvent (receiver=0x1167110, event=0x7fffffffc320, alienWidget=0x1167110, nativeWidget=0xb06d40, buttonDown=0x7ffff56801d8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3122
0000009 0x00007ffff4bd3bfd in QETWidget::translateMouseEvent (this=0xb06d40, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
0000010 0x00007ffff4bd286c in QApplication::x11ProcessEvent (this=0x7fffffffcee0, event=0x7fffffffcb00) at kernel/qapplication_x11.cpp:3587
0000011 0x00007ffff4bfb73f in x11EventSourceDispatch (s=0x8ecd70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
0000012 0x00007ffff0ac90c9 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000013 0x00007ffff0accb7d in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
0000014 0x00007ffff0accdd3 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000015 0x00007ffff5a31e5a in QEventDispatcherGlib::processEvents (this=0x8e4570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
0000016 0x00007ffff4bfb10a in QGuiEventDispatcherGlib::processEvents (this=0x1167110, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
0000017 0x00007ffff5a059c4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
0000018 0x00007ffff5a05d1b in QEventLoop::exec (this=0x7fffffffce30, flags=...) at kernel/qeventloop.cpp:201
0000019 0x00007ffff5a07e68 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
0000020 0x000000000044d916 in main (argc=1, argv=0x7fffffffd498) at /var/tmp/portage/media-video/kdenlive-0.7.8/work/kdenlive-0.7.8/src/main.cpp:89

And after clicking the arrow on the speed value spinbox:
Program received signal SIGSEGV, Segmentation fault.
QVariant::QVariant (this=0x7fffffffb690, p=...) at kernel/qvariant.cpp:1419
1419 kernel/qvariant.cpp: No such file or directory.
        in kernel/qvariant.cpp
(gdb) bt
#0 QVariant::QVariant (this=0x7fffffffb690, p=...) at kernel/qvariant.cpp:1419
#1 0x00007ffff5a27208 in QVariant::cmp (this=0x200000219, v=...) at kernel/qvariant.cpp:2853
0000002 0x00007ffff4f17d99 in operator== (this=0x200000001) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:409
0000003 QAbstractSpinBoxPrivate::specialValue (this=0x200000001) at widgets/qabstractspinbox.cpp:1458
0000004 0x00007ffff4f19eba in QAbstractSpinBox::selectAll (this=<value optimized out>) at widgets/qabstractspinbox.cpp:493
0000005 0x00007ffff4f1a3ff in QAbstractSpinBox::stepBy (this=0x1072e30, steps=1) at widgets/qabstractspinbox.cpp:627
0000006 0x00007ffff4f18155 in QAbstractSpinBoxPrivate::updateState (this=0x10bf0d0, up=true, fromKeyboard=false) at widgets/qabstractspinbox.cpp:1613
0000007 0x00007ffff4f1884e in QAbstractSpinBox::mousePressEvent (this=0x1072e30, event=0x7fffffffc320) at widgets/qabstractspinbox.cpp:1327
0000008 0x00007ffff4ba136d in QWidget::event (this=0x1072e30, event=0x7fffffffc320) at kernel/qwidget.cpp:8255
0000009 0x00007ffff4b4bf82 in QApplicationPrivate::notify_helper (this=0x8e8660, receiver=0x1072e30, e=0x7fffffffc320) at kernel/qapplication.cpp:4462
0000010 0x00007ffff4b55a72 in QApplication::notify (this=<value optimized out>, receiver=0x1072e30, e=0x7fffffffc320) at kernel/qapplication.cpp:4023
0000011 0x00007ffff754f116 in KApplication::notify (this=0x7fffffffcee0, receiver=0x1072e30, event=0x7fffffffc320) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
0000012 0x00007ffff5a06976 in QCoreApplication::notifyInternal (this=0x7fffffffcee0, receiver=0x1072e30, event=0x7fffffffc320) at kernel/qcoreapplication.cpp:731
0000013 0x00007ffff4b51124 in sendEvent (receiver=0x1072e30, event=0x7fffffffc320, alienWidget=0x1072e30, nativeWidget=0xb051e0, buttonDown=0x7ffff56801d8, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
0000014 QApplicationPrivate::sendMouseEvent (receiver=0x1072e30, event=0x7fffffffc320, alienWidget=0x1072e30, nativeWidget=0xb051e0, buttonDown=0x7ffff56801d8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3122
0000015 0x00007ffff4bd3bfd in QETWidget::translateMouseEvent (this=0xb051e0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
0000016 0x00007ffff4bd286c in QApplication::x11ProcessEvent (this=0x7fffffffcee0, event=0x7fffffffcb00) at kernel/qapplication_x11.cpp:3587
0000017 0x00007ffff4bfb73f in x11EventSourceDispatch (s=0x8ecd70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
0000018 0x00007ffff0ac90c9 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
0000019 0x00007ffff0accb7d in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
0000020 0x00007ffff0accdd3 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
0000021 0x00007ffff5a31e5a in QEventDispatcherGlib::processEvents (this=0x8e4570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
0000022 0x00007ffff4bfb10a in QGuiEventDispatcherGlib::processEvents (this=0x7fffffffb690, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
0000023 0x00007ffff5a059c4 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
0000024 0x00007ffff5a05d1b in QEventLoop::exec (this=0x7fffffffce30, flags=...) at kernel/qeventloop.cpp:201
0000025 0x00007ffff5a07e68 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
0000026 0x000000000044d916 in main (argc=1, argv=0x7fffffffd498) at /var/tmp/portage/media-video/kdenlive-0.7.8/work/kdenlive-0.7.8/src/main.cpp:89

It would seem that this should not be hard to fix. If I use the slider then everything works, so it would appear that there is problem with event handling.
Maybe something wrong with arguments given to connect?
(0006690)
elmo (reporter)
2011-05-01 18:47

I think it's worth noting that there is no such problem in SVN version and as for now it's far better than the latest stable release.
I must say it's a great software.

- Issue History
Date Modified Username Field Change
2010-11-29 04:31 mariosk8s New Issue
2010-11-29 04:31 mariosk8s File Added: valgrind.log
2010-11-29 04:33 mariosk8s File Added: kdenlive.log
2010-11-29 04:38 mariosk8s Note Added: 0006131
2010-11-29 05:04 mariosk8s Note Added: 0006132
2010-11-29 05:08 mariosk8s File Added: crashRepro.kdenlive
2010-11-29 05:09 mariosk8s Note Added: 0006133
2010-11-29 05:16 mariosk8s Note Added: 0006134
2010-11-30 00:15 j-b-m Assigned To => j-b-m
2010-11-30 00:15 j-b-m Status new => acknowledged
2011-04-29 02:46 elmo Note Added: 0006680
2011-04-29 12:06 elmo Note Added: 0006681
2011-05-01 18:47 elmo Note Added: 0006690


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker