Hi Dan,

do you have got an idea? From bt it looks like mlt may cause it.
This is with version 0.9.2-2, maybe it is already fixed?

Am 18.03.2015 um 00:04 schrieb Marek "Ludo" Hrušovský:
> On 03/17/2015 06:07 PM, Patrick Matthäi wrote:
>> Am 16.03.2015 um 17:09 schrieb Marek Hrušovský:
>>> Package: kdenlive
>>> Version: 0.9.10-2
>>> Severity: important
>>>
>>> Hi,
>>> after trying to delete all clips from Project Tree and also from Timeline I 
>>> get
>>> assertion fail:
>>>
>>> kdenlive: malloc.c:3700: _int_malloc: Assertion
>>> `victim->bk_nextsize->fd_nextsize == victim' failed.
>>>
>>> and SIGABRT - application crashes. It happens everytime.
>> I can not reproduce it here. Please install all related debugging
>> symbols (kdenlive-dbg, *mlt-dbg, qt-dbg etc) and try to reproduce it
>> with gdb + bt / bt full
>>
>>
> I've narrowed the cases when this happens. I've got imported individual
> frames (images) in Project Tree and they are missing on hard drive. When
> I've got frames imported as entire sequences (only few clips), again
> with missing files, there is no assertion fail in malloc. However, I get
> Segmentation Fault instead when exiting application.
>
> #0  _int_malloc (av=av@entry=0x7ffff16d3620 <main_arena>,
> bytes=bytes@entry=888) at malloc.c:3540
> #1  0x00007ffff13aca2c in __libc_calloc (n=<optimized out>,
> elem_size=<optimized out>) at malloc.c:3219
> #2  0x00007ffff45e3545 in mlt_properties_init (self=0x3aa4160,
> self@entry=0x1fafd90, child=0x401, child@entry=0x0) at mlt_properties.c:100
> #3  0x00007ffff45e358d in mlt_properties_new () at mlt_properties.c:125
> #4  0x00007ffff45e82c0 in mlt_events_init (self=self@entry=0x3a3a590) at
> mlt_events.c:147
> #5  0x00007ffff45e9234 in mlt_service_init (self=self@entry=0x3a3a590,
> child=child@entry=0x3a3a590) at mlt_service.c:102
> #6  0x00007ffff45ea302 in mlt_producer_init (self=0x3a3a590,
> child=<optimized out>) at mlt_producer.c:75
> #7  0x00007ffff45ea455 in mlt_producer_new (profile=0xdba840) at
> mlt_producer.c:154
> #8  0x00007ffff45eaece in mlt_producer_cut (self=0x2697dd0, in=0, out=1)
> at mlt_producer.c:240
> #9  0x00007ffff43c6f52 in Mlt::Producer::cut (this=<optimized out>,
> in=in@entry=0, out=out@entry=1) at MltProducer.cpp:199
> #10 0x000000000076991c in Render::setProducer (this=0x16f6ac0,
> producer=0x0, position=position@entry=0) at
> /tmp/buildd/kdenlive-0.9.10/src/renderer.cpp:1173
> #11 0x00000000006bb393 in Monitor::slotSetClipProducer (this=0x16f9de0,
> clip=0x3a54a70, zone=..., forceUpdate=<optimized out>, position=0,
> position@entry=-1) at
> /tmp/buildd/kdenlive-0.9.10/src/monitor/monitor.cpp:897
> #12 0x00000000006bcb00 in Monitor::qt_static_metacall (_o=0x16f9de0,
> _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/monitor.moc:274
> #13 0x00007ffff499d71c in QMetaObject::activate
> (sender=sender@entry=0x1834e40, m=m@entry=0x78b9a0
> <ProjectList::staticMetaObject>,
> local_signal_index=local_signal_index@entry=0,
> argv=argv@entry=0x7fffffffc2d0) at kernel/qobject.cpp:3567
> #14 0x00000000004f3080 in ProjectList::clipSelected
> (this=this@entry=0x1834e40, _t1=0x3a54a70, _t2=..., _t3=_t3@entry=false)
> at /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/projectlist.moc:599
> #15 0x00000000004fc0c4 in ProjectList::slotClipSelected (this=0x1834e40)
> at /tmp/buildd/kdenlive-0.9.10/src/project/projectlist.cpp:846
> #16 0x000000000051244f in ProjectList::qt_static_metacall (_o=0x1834e40,
> _id=1025, _a=0x411, _c=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/projectlist.moc:507
> #17 0x00007ffff499d71c in QMetaObject::activate
> (sender=sender@entry=0x182f450, m=m@entry=0x7ffff5e857c0
> <QTreeWidget::staticMetaObject>,
> local_signal_index=local_signal_index@entry=9, argv=argv@entry=0x0) at
> kernel/qobject.cpp:3567
> #18 0x00007ffff591dc73 in QTreeWidget::itemSelectionChanged
> (this=this@entry=0x182f450) at .moc/release-shared/moc_qtreewidget.cpp:275
> #19 0x00007ffff5921cff in QTreeWidgetPrivate::_q_selectionChanged
> (this=<optimized out>, selected=..., deselected=...) at
> itemviews/qtreewidget.cpp:2317
> #20 0x00007ffff499d71c in QMetaObject::activate
> (sender=sender@entry=0xe20030, m=m@entry=0x7ffff5e84560
> <QItemSelectionModel::staticMetaObject>,
> local_signal_index=local_signal_index@entry=0,
> argv=argv@entry=0x7fffffffc660)
>      at kernel/qobject.cpp:3567
> #21 0x00007ffff58faa27 in QItemSelectionModel::selectionChanged
> (this=this@entry=0xe20030, _t1=..., _t2=...) at
> .moc/release-shared/moc_qitemselectionmodel.cpp:165
> #22 0x00007ffff590034e in QItemSelectionModel::emitSelectionChanged
> (this=this@entry=0xe20030, newSelection=..., oldSelection=...) at
> itemviews/qitemselectionmodel.cpp:1544
> #23 0x00007ffff5900bdb in QItemSelectionModel::select (this=0xe20030,
> selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1110
> #24 0x00007ffff58fb9e8 in QItemSelectionModel::select (this=0xe20030,
> index=..., command=...) at itemviews/qitemselectionmodel.cpp:985
> #25 0x00007ffff58facfc in QItemSelectionModel::setCurrentIndex
> (this=0xe20030, index=..., command=...) at
> itemviews/qitemselectionmodel.cpp:1168
> #26 0x00007ffff58a1f73 in QAbstractItemView::setCurrentIndex
> (this=this@entry=0x182f450, index=...) at
> itemviews/qabstractitemview.cpp:1022
> #27 0x00007ffff591c406 in QTreeWidget::setCurrentItem (this=0x182f450,
> item=item@entry=0x336d390, column=column@entry=0) at
> itemviews/qtreewidget.cpp:2815
> #28 0x00007ffff591c437 in QTreeWidget::setCurrentItem (this=<optimized
> out>, item=item@entry=0x336d390) at itemviews/qtreewidget.cpp:2803
> #29 0x0000000000502e81 in ProjectList::slotDeleteClip (this=0x1834e40,
> clipId=...) at /tmp/buildd/kdenlive-0.9.10/src/project/projectlist.cpp:1219
> #30 0x000000000072589f in MainWindow::slotDeleteClip (this=0xb868d0,
> id=...) at /tmp/buildd/kdenlive-0.9.10/src/mainwindow.cpp:4680
> #31 0x000000000074c2e7 in MainWindow::qt_static_metacall (_o=0xb868d0,
> _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/mainwindow.moc:531
> #32 0x00007ffff499d71c in QMetaObject::activate (sender=0x1fc1400,
> m=m@entry=0x780160 <KdenliveDoc::staticMetaObject>,
> local_signal_index=local_signal_index@entry=3,
> argv=argv@entry=0x7fffffffcbe0) at kernel/qobject.cpp:3567
> ---Type <return> to continue, or q <return> to quit---
> #33 0x000000000048c8b3 in signalDeleteProjectClip (_t1=...,
> this=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/kdenlivedoc.moc:181
> #34 KdenliveDoc::deleteClip (this=<optimized out>, clipId=...) at
> /tmp/buildd/kdenlive-0.9.10/src/doc/kdenlivedoc.cpp:1256
> #35 0x000000000046dffb in AddClipCommand::redo (this=0x37f27e0) at
> /tmp/buildd/kdenlive-0.9.10/src/doc/doccommands.cpp:49
> #36 0x00007ffff59f5160 in QUndoCommand::redo (this=0x137d0c0) at
> util/qundostack.cpp:208
> #37 0x00007ffff59f6b53 in QUndoStack::push (this=0x2a48d80,
> cmd=cmd@entry=0x137d0c0) at util/qundostack.cpp:583
> #38 0x00000000004c2984 in ClipManager::slotDeleteClips (this=0x1f99560,
> ids=...) at /tmp/buildd/kdenlive-0.9.10/src/project/clipmanager.cpp:428
> #39 0x000000000072615f in MainWindow::slotDeleteProjectClips
> (this=0xb868d0, ids=..., folderids=...) at
> /tmp/buildd/kdenlive-0.9.10/src/mainwindow.cpp:4597
> #40 0x000000000074c34d in MainWindow::qt_static_metacall (_o=0xb868d0,
> _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/mainwindow.moc:526
> #41 0x00007ffff499d71c in QMetaObject::activate (sender=0x1834e40,
> m=m@entry=0x78b9a0 <ProjectList::staticMetaObject>,
> local_signal_index=local_signal_index@entry=14,
> argv=argv@entry=0x7fffffffceb0) at kernel/qobject.cpp:3567
> #42 0x00000000004f33c8 in ProjectList::deleteProjectClips
> (this=<optimized out>, _t1=..., _t2=...) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/projectlist.moc:673
> #43 0x00000000004f640c in ProjectList::slotRemoveClip (this=0x1834e40)
> at /tmp/buildd/kdenlive-0.9.10/src/project/projectlist.cpp:1160
> #44 0x0000000000512757 in ProjectList::qt_static_metacall (_o=0x1834e40,
> _id=1025, _a=0x411, _c=<optimized out>) at
> /tmp/buildd/kdenlive-0.9.10/obj-x86_64-linux-gnu/src/projectlist.moc:484
> #45 0x00007ffff499d71c in QMetaObject::activate
> (sender=sender@entry=0x27bd760, m=m@entry=0x7ffff5e68940
> <QAction::staticMetaObject>,
> local_signal_index=local_signal_index@entry=1,
> argv=argv@entry=0x7fffffffd230)
>      at kernel/qobject.cpp:3567
> #46 0x00007ffff5375ce2 in QAction::triggered (this=this@entry=0x27bd760,
> _t1=false) at .moc/release-shared/moc_qaction.cpp:276
> #47 0x00007ffff5377867 in QAction::activate (this=this@entry=0x27bd760,
> event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
> #48 0x00007ffff57cc69d in QMenuPrivate::activateCausedStack
> (this=this@entry=0x27c0da0, causedStack=...,
> action=action@entry=0x27bd760, action_e=action_e@entry=QAction::Trigger,
> self=self@entry=true) at widgets/qmenu.cpp:1037
> #49 0x00007ffff57d1069 in QMenuPrivate::activateAction (this=0x27c0da0,
> action=0x27bd760, action_e=QAction::Trigger, self=<optimized out>) at
> widgets/qmenu.cpp:1129
> #50 0x00007ffff53cf748 in QWidget::event (this=0x27bf660,
> event=0x7fffffffd8e0) at kernel/qwidget.cpp:8775
> #51 0x00007ffff57d504b in QMenu::event (this=0x27bf660,
> e=0x7fffffffd8e0) at widgets/qmenu.cpp:2480
> #52 0x00007ffff537c48c in QApplicationPrivate::notify_helper
> (this=this@entry=0xa75690, receiver=receiver@entry=0x27bf660,
> e=e@entry=0x7fffffffd8e0) at kernel/qapplication.cpp:4570
> #53 0x00007ffff538310f in QApplication::notify
> (this=this@entry=0x7fffffffe0d0, receiver=receiver@entry=0x27bf660,
> e=e@entry=0x7fffffffd8e0) at kernel/qapplication.cpp:4113
> #54 0x00007ffff79941aa in KApplication::notify (this=0x7fffffffe0d0,
> receiver=0x27bf660, event=0x7fffffffd8e0) at
> ../../kdeui/kernel/kapplication.cpp:311
> #55 0x00007ffff498871d in QCoreApplication::notifyInternal
> (this=0x7fffffffe0d0, receiver=receiver@entry=0x27bf660,
> event=event@entry=0x7fffffffd8e0) at kernel/qcoreapplication.cpp:955
> #56 0x00007ffff538276f in sendEvent (event=<optimized out>,
> receiver=<optimized out>) at
> ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
> #57 QApplicationPrivate::sendMouseEvent
> (receiver=receiver@entry=0x27bf660, event=event@entry=0x7fffffffd8e0,
> alienWidget=alienWidget@entry=0x0,
> nativeWidget=nativeWidget@entry=0x27bf660,
>      buttonDown=buttonDown@entry=0x7ffff5ea1538 <qt_button_down>,
> lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
> #58 0x00007ffff53f97ca in QETWidget::translateMouseEvent
> (this=this@entry=0x27bf660, event=event@entry=0x7fffffffdc10) at
> kernel/qapplication_x11.cpp:4474
> #59 0x00007ffff53f7e2c in QApplication::x11ProcessEvent
> (this=0x7fffffffe0d0, event=event@entry=0x7fffffffdc10) at
> kernel/qapplication_x11.cpp:3663
> #60 0x00007ffff5420ed2 in x11EventSourceDispatch (s=0xa75510,
> callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
> #61 0x00007fffeea63c5d in g_main_context_dispatch () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #62 0x00007fffeea63f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #63 0x00007fffeea63ffc in g_main_context_iteration () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #64 0x00007ffff49b7d1d in QEventDispatcherGlib::processEvents
> (this=0xa2dbf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
> ---Type <return> to continue, or q <return> to quit---
> #65 0x00007ffff5420f96 in QGuiEventDispatcherGlib::processEvents
> (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
> #66 0x00007ffff4987271 in QEventLoop::processEvents
> (this=this@entry=0x7fffffffdff0, flags=...) at kernel/qeventloop.cpp:149
> #67 0x00007ffff49875d5 in QEventLoop::exec
> (this=this@entry=0x7fffffffdff0, flags=...) at kernel/qeventloop.cpp:204
> #68 0x00007ffff498d059 in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1227
> #69 0x00007ffff537a92c in QApplication::exec () at
> kernel/qapplication.cpp:3828
> #70 0x000000000045686b in main (argc=<optimized out>, argv=<optimized
> out>) at /tmp/buildd/kdenlive-0.9.10/src/main.cpp:92

-- 
/*
Mit freundlichem Gruß / With kind regards,
  Patrick Matthäi
  GNU/Linux Debian Developer

   Blog: http://www.linux-dev.org/
E-Mail: pmatth...@debian.org
         patr...@linux-dev.org
*/


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to