Bug 419604 - Kdenlive freezes when creating a folder during clip playback
Summary: Kdenlive freezes when creating a folder during clip playback
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: git-master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 20:07 UTC by Simon
Modified: 2020-04-16 06:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments
How to reproduce (65.48 KB, image/png)
2020-04-15 19:03 UTC, Simon
Details
gdb log (9.50 KB, text/plain)
2020-04-15 20:17 UTC, farid
Details
gdb log full (45.81 KB, text/plain)
2020-04-15 20:18 UTC, farid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2020-04-03 20:07:59 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a clip to the project bin
2. Play the clip
3. While the clip is playing, create a new folder in the project bin

OBSERVED RESULT
Kdenlive freezes

EXPECTED RESULT
Pink unicorns rain from heaven and all Covid-19 infections are healed
Comment 1 Simon 2020-04-03 20:20:09 UTC
Actually it currently happens every time a clip is playing and I then select another item in the project bin.
Comment 2 emohr 2020-04-04 10:14:14 UTC
I'm on windows, tested with the master, playback settings "audio backend" set to WinMM. 

While a clip is playing in the clip monitor I click "create folder" in the project bin -> playing is stopped and it creates the folder -> no crash
Comment 3 Simon 2020-04-04 21:38:53 UTC
Thanks for testing!
At least it does not seem to be Audio related as I get the same crash when switching from SDL to RtAudio here.
Comment 4 Simon 2020-04-15 15:18:36 UTC
I am trying to debug this issue as it is quite persistent, but no luck so far. The funny thing is that when I click the new clip, the clip monitor jumps to frame 0 of the current clip, but no frame of the new clip is loaded. I can still press the play/pause button on the clip monitor and it toggles once, then the UI completely freezes.
Comment 5 farid 2020-04-15 16:37:27 UTC
I cannot reproduce. Canyou maybe share the clips that are causing this?
Comment 6 Simon 2020-04-15 19:02:07 UTC
Sure. Can you reproduce with this project?
http://granjow.net/uploads/temp/kdenlive-bug-419604.tar
Comment 7 Simon 2020-04-15 19:03:24 UTC
Created attachment 127576 [details]
How to reproduce
Comment 8 emohr 2020-04-15 19:34:55 UTC
I tested as you showed. It doesn't crash but the "switch" from one clip to the other take in some cases some time. Here a log from Visual Studio showing this "switch": 

The thread 0x1784 has exited with code 0 (0x0).
The thread 0x1924 has exited with code 0 (0x0).
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0x218c has exited with code 0 (0x0).
The thread 0x212c has exited with code 0 (0x0).
The thread 0x22e0 has exited with code 0 (0x0).
The thread 0x1490 has exited with code 0 (0x0).
The thread 0x2224 has exited with code 0 (0x0).
The thread 0x1c10 has exited with code 0 (0x0).
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0xc68 has exited with code 0 (0x0).
The thread 0x22c0 has exited with code 0 (0x0).
The thread 0x1208 has exited with code 0 (0x0).
The thread 0x1944 has exited with code 0 (0x0).
The thread 0x2174 has exited with code 0 (0x0).
The thread 0x1918 has exited with code 0 (0x0).
The thread 0x13d4 has exited with code 0 (0x0).
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT:  0
/// GOT AUDIO TRACKS:  (7)
The thread 0x215c has exited with code 0 (0x0).
The thread 0x14dc has exited with code 0 (0x0).
Comment 9 farid 2020-04-15 20:17:23 UTC
Created attachment 127579 [details]
gdb log
Comment 10 farid 2020-04-15 20:18:49 UTC
Created attachment 127580 [details]
gdb log full
Comment 11 farid 2020-04-15 20:19:44 UTC
Does this say anything (full log attached): 

Thread 1 (Thread 0x7fffec5708c0 (LWP 9444)):
#0  0x00007ffff18cca67 in __pthread_clockjoin_ex () at /usr/lib/libpthread.so.0
#1  0x00007fffde24a228 in consumer_stop (parent=<optimized out>) at consumer_sdl2_audio.c:217
        self = 0x62e000030400
#2  0x00007ffff6f163cc in mlt_consumer_stop (self=0x62e000030400) at mlt_consumer.c:1667
        properties = 0x62e000030400
        priv = 0x61400069d040
#3  0x0000555556ca46dd in GLWidget::setProducer(std::shared_ptr<Mlt::Producer> const&, bool, int) (this=0x6150000fe680, producer=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Mlt::Producer*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Mlt::Producer*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<Mlt::Producer> (use count 4, weak count 1) = {...}, isActive=true, position=-1) at /home/farid/kdenlive/src/monitor/glwidget.cpp:924
        currentId = {static null = {<No data fields>}, d = 0x603000d10e30}
--Type <RET> for more, q to quit, c to continue without paging--
        error = 0
        consumerPosition = 189
#4  0x0000555556cf7b56 in Monitor::slotOpenClip(std::shared_ptr<ProjectClip> const&, int, int) (this=0x6140003bbe40, controller=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, in=-1, out=-1) at /home/farid/kdenlive/src/monitor/monitor.cpp:1445
#5  0x00005555564b271c in Bin::setMonitor(Monitor*)::$_39::operator()(std::shared_ptr<ProjectClip>, int, int) const (this=0x603000070790, clip=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, in=-1, out=-1) at /home/farid/kdenlive/src/bin/bin.cpp:1556
#6  0x00005555564b2586 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void, Bin::setMonitor(Monitor*)::$_39>::call(Bin::setMonitor(Monitor*)::$_39&, void**) (f=..., arg=0x7fffffff8d40) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#7  0x00005555564b22b1 in QtPrivate::Functor<Bin::setMonitor(Monitor*)::$_39, 3>::call<QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void>(Bin::setMonitor(Monitor*)::$_39&, void*, void**) (f=..., arg=0x7fffffff8d40) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#8  0x00005555564b21cf in QtPrivate::QFunctorSlotObject<Bin::setMonitor(Monitor*)::$_39, 3, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x603000070780, r=0x616000053d80, a=0x7fffffff8d40, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#9  0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#10 0x0000555555fc1c98 in Bin::openClip(std::shared_ptr<ProjectClip>, int, int) (this=0x616000053d80, _t1=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, _t2=-1, _t3=-1) at kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp:1475
--Type <RET> for more, q to quit, c to continue without paging--
        _a = {0x0, 0x7fffffff8ea0, 0x7fffffff8d20, 0x7fffffff8d30}
#11 0x000055555645b722 in Bin::openProducer(std::shared_ptr<ProjectClip>) (this=0x616000053d80, controller=std::shared_ptr<ProjectClip> (empty) = {...}) at /home/farid/kdenlive/src/bin/bin.cpp:2459
#12 0x0000555556441c66 in Bin::setCurrent(std::shared_ptr<AbstractProjectItem> const&) (this=0x616000053d80, item=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<AbstractProjectItem> (use count 7, weak count 2) = {...}) at /home/farid/kdenlive/src/bin/bin.cpp:3865
        clp = std::shared_ptr<ProjectClip> (use count 1426063428, weak count 1223002439) = {get() = 0x7fffffff8ff0}
#13 0x0000555556440733 in Bin::selectProxyModel(QModelIndex const&) (this=0x616000053d80, id=...) at /home/farid/kdenlive/src/bin/bin.cpp:1810
        currentItem = warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<AbstractProjectItem> (use count 7, weak count 2) = {get() = 0x617000222b00}
#14 0x00005555564b9480 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (Bin::*)(QModelIndex const&)>::call(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=(void (Bin::*)(Bin * const, const QModelIndex &)) 0x555556440130 <Bin::selectProxyModel(QModelIndex const&)>, o=0x616000053d80, arg=0x7fffffff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x00005555564b90be in QtPrivate::FunctionPointer<void (Bin::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=(void (Bin::*)(Bin * const, const QModelIndex &)) 0x555556440130 <Bin::selectProxyModel(QModelIndex const&)>, o=0x616000053d80, arg=0x7fffffff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x00005555564b8bca in QtPrivate::QSlotObject<void (Bin::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x603000a60780, r=0x616000053d80, a=0x7fffffff9e20, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#18 0x0000555555fced56 in ProjectSortProxyModel::selectModel(QModelIndex const&) (this=0x606000dc5e00, _t1=...) at kde--Type <RET> for more, q to quit, c to continue without paging--
nliveLib_autogen/NNRPYQ7WAA/moc_projectsortproxymodel.cpp:203
        _a = {0x0, 0x603000cfef80}
#19 0x00005555566098e5 in ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&) (this=0x606000dc5e00, current=..., previous=...) at /home/farid/kdenlive/src/bin/projectsortproxymodel.cpp:172
        ix = 0
        indexes = {<QListSpecialMethods<QModelIndex>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x60c0005d0ac0}, d = 0x60c0005d0ac0}}
#20 0x000055555660e84c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QItemSelection const&, QItemSelection const&>, void, void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&)>::call(void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), ProjectSortProxyModel*, void**) (f=(void (ProjectSortProxyModel::*)(ProjectSortProxyModel * const, const QItemSelection &, const QItemSelection &)) 0x555556609600 <ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&)>, o=0x606000dc5e00, arg=0x7fffffffa610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#21 0x000055555660e42e in QtPrivate::FunctionPointer<void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&)>::call<QtPrivate::List<QItemSelection const&, QItemSelection const&>, void>(void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), ProjectSortProxyModel*, void**) (f=(void (ProjectSortProxyModel::*)(ProjectSortProxyModel * const, const QItemSelection &, const QItemSelection &)) 0x555556609600 <ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&)>, o=0x606000dc5e00, arg=0x7fffffffa610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#22 0x000055555660df3a in QtPrivate::QSlotObject<void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), QtPrivate::List<QItemSelection const&, QItemSelection const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x603000a63a80, r=0x606000dc5e00, a=0x7fffffffa610, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#23 0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#24 0x00007ffff1e7c391 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib/libQt5Core.so.5                                                                                                
#25 0x00007ffff1e81b0d in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () a--Type <RET> for more, q to quit, c to continue without paging--
t /usr/lib/libQt5Core.so.5
#26 0x00007ffff1e85245 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007ffff6902bb3 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff6903331 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Widgets.so.5                                                                                               
#29 0x00007ffff6890cfc in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff69082fc in QTreeView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00005555563f8578 in MyTreeView::mousePressEvent(QMouseEvent*) (this=0x606000dbe060, event=0x7fffffffb3e0) at /home/farid/kdenlive/src/bin/bin.cpp:537
#32 0x00007ffff665a309 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007ffff670bcbf in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff6896d70 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff6907c7c in QTreeView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007ffff1eca203 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5                                                                                                          
#37 0x00007ffff6616341 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007ffff661fa78 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff1eca4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007ffff661eaeb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007ffff6675b21 in  () at /usr/lib/libQt5Widgets.so.5
#42 0x00007ffff6678aa4 in  () at /usr/lib/libQt5Widgets.so.5
#43 0x00007ffff6616352 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff661f829 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007ffff1eca4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#46 0x00007ffff22922a4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at --Type <RET> for more, q to quit, c to continue without paging--
/usr/lib/libQt5Gui.so.5
#47 0x00007ffff22939b6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#48 0x00007ffff226bc5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#49 0x00007fffe8b9ce2c in  () at /usr/lib/libQt5XcbQpa.so.5
#50 0x00007fffefa526be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#51 0x00007fffefa54531 in  () at /usr/lib/libglib-2.0.so.0
#52 0x00007fffefa54571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#53 0x00007ffff1f22890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#54 0x00007ffff1ec905c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#55 0x00007ffff1ed1066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#56 0x0000555555c84d69 in main(int, char**) (argc=1, argv=0x7fffffffe6b8) at /home/farid/kdenlive/src/main.cpp:257
        app = <incomplete type>
        pixmap = <incomplete type>
        splash = <incomplete type>
        config = {d = 0x603000046f00}
        grp = <incomplete type>
        programDBusService = <incomplete type>
        aboutData = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff6d903c0, data = 0x7ffff6d902c0, static_metacall = 0x7ffff6d2ef40, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x61000001e340}
        parser = {d = 0x608000054c20}
        clipsToLoad = {static null = {<No data fields>}, d = 0x7ffff1fb2840 <QArrayData::shared_null>}
        url = {d = 0x0}
        forceBreeze = true
        loader = 0x7ffff754e040
        result = 1489223200
Comment 12 farid 2020-04-15 20:20:51 UTC
Also this after quitting GDB:

(gdb) bt
#0  0x00007ffff18cca67 in __pthread_clockjoin_ex () at /usr/lib/libpthread.so.0
#1  0x00007fffde24a228 in consumer_stop (parent=<optimized out>) at consumer_sdl2_audio.c:217
#2  0x00007ffff6f163cc in mlt_consumer_stop (self=0x62e000030400) at mlt_consumer.c:1667
#3  0x0000555556ca46dd in GLWidget::setProducer(std::shared_ptr<Mlt::Producer> const&, bool, int)
    (this=0x6150000fe680, producer=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Mlt::Producer*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<Mlt::Producer*, (__gnu_cxx::_Lock_policy)2>'

std::shared_ptr<Mlt::Producer> (use count 4, weak count 1) = {...}, isActive=true, position=-1)
    at /home/farid/kdenlive/src/monitor/glwidget.cpp:924
#4  0x0000555556cf7b56 in Monitor::slotOpenClip(std::shared_ptr<ProjectClip> const&, int, int)
    (this=0x6140003bbe40, controller=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, in=-1, out=-1)
    at /home/farid/kdenlive/src/monitor/monitor.cpp:1445
#5  0x00005555564b271c in Bin::setMonitor(Monitor*)::$_39::operator()(std::shared_ptr<ProjectClip>, int, int) const
    (this=0x603000070790, clip=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, in=-1, out=-1)
    at /home/farid/kdenlive/src/bin/bin.cpp:1556
#6  0x00005555564b2586 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void, Bin::setMonitor(Monitor*)::$_39>::call(Bin::setMonitor(Monitor*)::$_39&, void**)           
    (f=..., arg=0x7fffffff8d40) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#7  0x00005555564b22b1 in QtPrivate::Functor<Bin::setMonitor(Monitor*)::$_39, 3>::call<QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void>(Bin::setMonitor(Monitor*)::$_39&, void*, void**) (f=..., arg=0x7fffffff8d40)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#8  0x00005555564b21cf in QtPrivate::QFunctorSlotObject<Bin::setMonitor(Monitor*)::$_39, 3, QtPrivate::List<std::shared_ptr<ProjectClip>, int, int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)                 
    (which=1, this_=0x603000070780, r=0x616000053d80, a=0x7fffffff8d40, ret=0x0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#9  0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#10 0x0000555555fc1c98 in Bin::openClip(std::shared_ptr<ProjectClip>, int, int) (this=0x616000053d80, _t1=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'

std::shared_ptr<ProjectClip> (use count 7, weak count 2) = {...}, _t2=-1, _t3=-1)
    at kdenliveLib_autogen/NNRPYQ7WAA/moc_bin.cpp:1475
#11 0x000055555645b722 in Bin::openProducer(std::shared_ptr<ProjectClip>)
--Type <RET> for more, q to quit, c to continue without paging--
    (this=0x616000053d80, controller=std::shared_ptr<ProjectClip> (empty) = {...})
    at /home/farid/kdenlive/src/bin/bin.cpp:2459
#12 0x0000555556441c66 in Bin::setCurrent(std::shared_ptr<AbstractProjectItem> const&) (this=0x616000053d80, item=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<ProjectClip*, (__gnu_cxx::_Lock_policy)2>'

std::shared_ptr<AbstractProjectItem> (use count 7, weak count 2) = {...})
    at /home/farid/kdenlive/src/bin/bin.cpp:3865
#13 0x0000555556440733 in Bin::selectProxyModel(QModelIndex const&) (this=0x616000053d80, id=...)
    at /home/farid/kdenlive/src/bin/bin.cpp:1810
#14 0x00005555564b9480 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (Bin::*)(QModelIndex const&)>::call(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=
    (void (Bin::*)(Bin * const, const QModelIndex &)) 0x555556440130 <Bin::selectProxyModel(QModelIndex const&)>, o=0x616000053d80, arg=0x7fffffff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#15 0x00005555564b90be in QtPrivate::FunctionPointer<void (Bin::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (Bin::*)(QModelIndex const&), Bin*, void**) (f=
    (void (Bin::*)(Bin * const, const QModelIndex &)) 0x555556440130 <Bin::selectProxyModel(QModelIndex const&)>, o=0x616000053d80, arg=0x7fffffff9e20) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#16 0x00005555564b8bca in QtPrivate::QSlotObject<void (Bin::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)                                             
    (which=1, this_=0x603000a60780, r=0x616000053d80, a=0x7fffffff9e20, ret=0x0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#17 0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#18 0x0000555555fced56 in ProjectSortProxyModel::selectModel(QModelIndex const&) (this=0x606000dc5e00, _t1=...)
    at kdenliveLib_autogen/NNRPYQ7WAA/moc_projectsortproxymodel.cpp:203
#19 0x00005555566098e5 in ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&)
    (this=0x606000dc5e00, current=..., previous=...) at /home/farid/kdenlive/src/bin/projectsortproxymodel.cpp:172
#20 0x000055555660e84c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QItemSelection const&, QItemSelection const&>, void, void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&)>::call(void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), ProjectSortProxyModel*, void**) (f=
    (void (ProjectSortProxyModel::*)(ProjectSortProxyModel * const, const QItemSelection &, const QItemSelection &)) 0--Type <RET> for more, q to quit, c to continue without paging--
x555556609600 <ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&)>, o=0x606000dc5e00, arg=0x7fffffffa610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152
#21 0x000055555660e42e in QtPrivate::FunctionPointer<void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&)>::call<QtPrivate::List<QItemSelection const&, QItemSelection const&>, void>(void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), ProjectSortProxyModel*, void**) (f=
    (void (ProjectSortProxyModel::*)(ProjectSortProxyModel * const, const QItemSelection &, const QItemSelection &)) 0x555556609600 <ProjectSortProxyModel::onCurrentRowChanged(QItemSelection const&, QItemSelection const&)>, o=0x606000dc5e00, arg=0x7fffffffa610) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185
#22 0x000055555660df3a in QtPrivate::QSlotObject<void (ProjectSortProxyModel::*)(QItemSelection const&, QItemSelection const&), QtPrivate::List<QItemSelection const&, QItemSelection const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x603000a63a80, r=0x606000dc5e00, a=0x7fffffffa610, ret=0x0)
    at /usr/include/qt/QtCore/qobjectdefs_impl.h:418
#23 0x00007ffff1effcde in  () at /usr/lib/libQt5Core.so.5
#24 0x00007ffff1e7c391 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) ()
    at /usr/lib/libQt5Core.so.5
#25 0x00007ffff1e81b0d in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) ()
    at /usr/lib/libQt5Core.so.5
#26 0x00007ffff1e85245 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007ffff6902bb3 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff6903331 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) ()
    at /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff6890cfc in QAbstractItemView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff69082fc in QTreeView::mousePressEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00005555563f8578 in MyTreeView::mousePressEvent(QMouseEvent*) (this=0x606000dbe060, event=0x7fffffffb3e0)
    at /home/farid/kdenlive/src/bin/bin.cpp:537
#32 0x00007ffff665a309 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#33 0x00007ffff670bcbf in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff6896d70 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff6907c7c in QTreeView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007ffff1eca203 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#37 0x00007ffff6616341 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#38 0x00007ffff661fa78 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff1eca4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007ffff661eaeb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007ffff6675b21 in  () at /usr/lib/libQt5Widgets.so.5
#42 0x00007ffff6678aa4 in  () at /usr/lib/libQt5Widgets.so.5
#43 0x00007ffff6616352 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff661f829 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007ffff1eca4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#46 0x00007ffff22922a4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
    at /usr/lib/libQt5Gui.so.5
#47 0x00007ffff22939b6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#48 0x00007ffff226bc5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Gui.so.5
#49 0x00007fffe8b9ce2c in  () at /usr/lib/libQt5XcbQpa.so.5
#50 0x00007fffefa526be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#51 0x00007fffefa54531 in  () at /usr/lib/libglib-2.0.so.0
#52 0x00007fffefa54571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#53 0x00007ffff1f22890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#54 0x00007ffff1ec905c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#55 0x00007ffff1ed1066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#56 0x0000555555c84d69 in main(int, char**) (argc=1, argv=0x7fffffffe6b8) at /home/farid/kdenlive/src/main.cpp:257
Comment 13 Jean-Baptiste Mardelle 2020-04-16 06:50:58 UTC
Git commit 9982db8b9153116e53fa7f4c0322bc1107b58a22 by Jean-Baptiste Mardelle.
Committed on 16/04/2020 at 06:50.
Pushed by mardelle into branch 'release/20.04'.

Fix freeze when changing bin selection

M  +10   -16   src/monitor/glwidget.cpp

https://invent.kde.org/kde/kdenlive/commit/9982db8b9153116e53fa7f4c0322bc1107b58a22
Comment 14 Jean-Baptiste Mardelle 2020-04-16 06:51:26 UTC
Git commit 58617d100cc817c4f73fe1d9361e543943bb0d37 by Jean-Baptiste Mardelle.
Committed on 16/04/2020 at 06:51.
Pushed by mardelle into branch 'master'.

Fix freeze when changing bin selection

M  +10   -16   src/monitor/glwidget.cpp

https://invent.kde.org/kde/kdenlive/commit/58617d100cc817c4f73fe1d9361e543943bb0d37