[Kdenlive-devel] problems with latest svn/git

Mikko Rapeli mikko.rapeli at iki.fi
Sun Jun 20 19:36:03 UTC 2010


On Sun, Jun 20, 2010 at 07:14:28PM +0300, Mikko Rapeli wrote:
>  * playing/previewing project from the start possibly only once,
>    after second try Project Monitor is stuck, no more previews -- workaround
>    is to not play from the beginning but move a few frames forward before
>    playback

ffmpeg, mlt and kdenlive from git and still seeing this. Playing from start
the second time locks playback, and trying to play from project tree
locks kdenlive. Maybe sdl is to blame? Here what gdb shows:

(gdb) info threads
  22 Thread 0xa9dbbb70 (LWP 8206)  mpegaudio_parse (s1=0xab861e50,
    avctx=0xad0d5d20, poutbuf=0xa9dbaffc, poutbuf_size=0xa9dbb000,
    buf=0xab852080 ",Ħ\244{\r#c\r\213\333o0\026\306\344\275\017\022넄ha\371\255_\312ݏ0\201:J\b\232\017\240i\262!/\031\221\031\217\256\245+\337dzo\254\300\016\272K\364h\024\220\025&\207G\031\005lzٕ-`\351i\375\262\365\247\006.\270#\374\324\067\260\f\022\241\354؟ԁWi\261\202\362\225Q\234\017\301\016\236#\362\262\021\235q\217\231bya\323\307\305\355\327g\032Mw٭\300P\350\276%}.\024\343\365_p\207\021\231W\207_\263\261E\226C\261\327\377]\336\365\237@", buf_size=1024)
    at libavcodec/mpegaudio_parser.c:106
  21 Thread 0xaa5dfb70 (LWP 8205)  0xb7fe2424 in __kernel_vsyscall ()
  15 Thread 0xac6a7b70 (LWP 8199)  0xb7fe2424 in __kernel_vsyscall ()
  14 Thread 0xacea8b70 (LWP 8198)  0xb7fe2424 in __kernel_vsyscall ()
  13 Thread 0xb132ab70 (LWP 8197)  0xb7fe2424 in __kernel_vsyscall ()
* 1 Thread 0xb54d0930 (LWP 8181)  0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb63f4af5 in pthread_join (threadid=2972887920, thread_return=0x0)
    at pthread_join.c:89
#2  0xb1bfb808 in consumer_stop (parent=0x88dbf60)
    at consumer_sdl_preview.c:249
#3  0xb7fbfe64 in mlt_consumer_stop (this=0x88dbf60) at mlt_consumer.c:945
#4  0xb7f982e8 in Mlt::Consumer::stop() () from /usr/lib/libmlt++.so.3
#5  0x080d0b5e in Render::stop (this=0x88db738)
    at /home/mcfrisk/src/kdenlive-git/src/renderer.cpp:1221
#6  0x0811f6eb in MonitorManager::activateMonitor (this=0x853b7f0, name=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at /home/mcfrisk/src/kdenlive-git/src/monitormanager.cpp:56
#7  0x0811f95e in MonitorManager::slotSwitchMonitors (this=0x853b7f0,
    activateClip=true)
    at /home/mcfrisk/src/kdenlive-git/src/monitormanager.cpp:70
#8  0x080c68ee in Monitor::activateMonitor (this=0x88923e0)
    at /home/mcfrisk/src/kdenlive-git/src/monitor.cpp:493
#9  0x080c7abd in Monitor::slotSetXml (this=0x88923e0, clip=0x8cb39c8,
    zone=..., position=-1)
    at /home/mcfrisk/src/kdenlive-git/src/monitor.cpp:722
#10 0x080c7fd4 in Monitor::qt_metacall (this=0x88923e0,
    _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfffd264)
    at /home/mcfrisk/src/kdenlive-git/build/src/cmake_bindir/monitor.moc:276
#11 0xb72f780a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**---Type <return> to continue, or q <return> to quit---
) () from /usr/lib/libQtCore.so.4
#12 0xb73061db in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x080af54b in ProjectList::clipSelected (this=0x8579028, _t1=0x8cb39c8,
    _t2=...)
    at /home/mcfrisk/src/kdenlive-git/build/src/cmake_bindir/projectlist.moc:258
#14 0x080b4249 in ProjectList::slotClipSelected (this=0x8579028)
    at /home/mcfrisk/src/kdenlive-git/src/projectlist.cpp:517
#15 0x080bed1c in ProjectList::qt_metacall (this=0x8579028,
    _c=QMetaObject::InvokeMetaMethod, _id=71, _a=0xbfffd44c)
    at /home/mcfrisk/src/kdenlive-git/build/src/cmake_bindir/projectlist.moc:232
#16 0xb72f780a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#17 0xb73061db in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb6e02e77 in QTreeWidget::itemSelectionChanged() ()
   from /usr/lib/libQtGui.so.4
#19 0xb6e05d29 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb6e0f4c8 in QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libQtGui.so.4
#21 0x0810111f in ProjectListView::qt_metacall (this=0x85bf890,
---Type <return> to continue, or q <return> to quit---
    _c=QMetaObject::InvokeMetaMethod, _id=114, _a=0xbfffd644)
    at /home/mcfrisk/src/kdenlive-git/build/src/cmake_bindir/projectlistview.moc:83
#22 0xb72f780a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#23 0xb73061db in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#24 0xb6dde1d9 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#25 0xb6de7523 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#26 0xb6de7833 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#27 0xb6dc8f7a in ?? () from /usr/lib/libQtGui.so.4
#28 0xb6dc9d7d in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#29 0xb6d881cb in QAbstractItemView::mousePressEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#30 0xb6dd28a7 in QTreeView::mousePressEvent(QMouseEvent*) ()
   from /usr/lib/libQtGui.so.4
#31 0xb68427dc in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0xb6c3c883 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0xb6cd7032 in QAbstractScrollArea::viewportEvent(QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libQtGui.so.4
#34 0xb6d8c8c7 in QAbstractItemView::viewportEvent(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#35 0xb6dcc12c in QTreeView::viewportEvent(QEvent*) ()
   from /usr/lib/libQtGui.so.4
#36 0xb6cd9a05 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb72f17ca in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0xb67e45a9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#39 0xb67ebaf7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#40 0xb7d31b4a in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#41 0xb72f252b in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#42 0xb67eaa52 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/libQtGui.so.4
#43 0xb6875d7c in ?? () from /usr/lib/libQtGui.so.4
#44 0xb687528b in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libQtGui.so.4
#45 0xb68a33e2 in ?? () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#46 0xb5e552f5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0xb5e58fd8 in ?? () from /lib/libglib-2.0.so.0
#48 0xb5e591b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0xb731e095 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#50 0xb68a2f45 in ?? () from /usr/lib/libQtGui.so.4
#51 0xb72f0b49 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#52 0xb72f0f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#53 0xb72f61cf in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#54 0xb67e4667 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#55 0x08084e1d in main (argc=2, argv=0xbfffef54)
    at /home/mcfrisk/src/kdenlive-git/src/main.cpp:87

(gdb) thread 13
[Switching to thread 13 (Thread 0xb132ab70 (LWP 8197))]#0  0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb63f8482 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb64e4114 in __pthread_cond_timedwait (cond=0x88ddfc0, mutex=0x88ddfa8,
    abstime=0xb132a2a0) at forward.c:152
#3  0xb7fc0171 in mlt_consumer_put_frame (this=0x88ddf10, frame=0xad300078)
    at mlt_consumer.c:456
#4  0xb1bfc0d6 in consumer_thread (arg=0x88dbf60) at consumer_sdl_preview.c:409
#5  0xb63f3955 in start_thread (arg=0xb132ab70) at pthread_create.c:300
#6  0xb64d710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

(gdb) thread 14
[Switching to thread 14 (Thread 0xacea8b70 (LWP 8198))]#0  0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb63f8482 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0xb64e4114 in __pthread_cond_timedwait (cond=0x88ae1a0, mutex=0x88ae188,
    abstime=0xacea81cc) at forward.c:152
#3  0xb7fc03b9 in mlt_consumer_get_frame (this=0x88ae0f0) at mlt_consumer.c:502
#4  0xb7fc0500 in mlt_consumer_rt_frame (this=0x88ae0f0) at mlt_consumer.c:900
#5  0xb1bfcbf4 in consumer_thread (arg=0x88ae0f0) at consumer_sdl_still.c:560
#6  0xb63f3955 in start_thread (arg=0xacea8b70) at pthread_create.c:300
#7  0xb64d710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

(gdb) thread 15
[Switching to thread 15 (Thread 0xac6a7b70 (LWP 8199))]#0  0xb7fe2424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb63f7f7f in __pthread_cond_wait (cond=0x889f498, mutex=0x889f4c8)
    at pthread_cond_wait.c:153
#2  0xb64e40bd in __pthread_cond_wait (cond=0x889f498, mutex=0x889f4c8)
    at forward.c:139
#3  0xb1bfc45f in consumer_thread (arg=0x889f380) at consumer_sdl_preview.c:428
#4  0xb63f3955 in start_thread (arg=0xac6a7b70) at pthread_create.c:300
#5  0xb64d710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

(gdb) bt
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb63f7f7f in __pthread_cond_wait (cond=0x88ddf78, mutex=0x88ddf60)
    at pthread_cond_wait.c:153
#2  0xb64e40bd in __pthread_cond_wait (cond=0x88ddf78, mutex=0x88ddf60)
    at forward.c:139
#3  0xb7fc04b0 in mlt_consumer_rt_frame (this=0x88ddf10) at mlt_consumer.c:892
#4  0xb1bf87ce in consumer_thread (arg=0x88ddf10) at consumer_sdl.c:756
#5  0xb63f3955 in start_thread (arg=0xaa5dfb70) at pthread_create.c:300
#6  0xb64d710e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130





More information about the Kdenlive mailing list