https://bugs.kde.org/show_bug.cgi?id=409667
--- Comment #19 from [email protected] --- New assert: 1 __GI_raise raise.c 49 0x7ffff48b4d21 2 __GI_abort abort.c 79 0x7ffff489e536 3 __gnu_cxx::__verbose_terminate_handler vterminate.cc 95 0x7ffff4c1d753 4 __cxxabiv1::__terminate eh_terminate.cc 48 0x7ffff4c4d7d6 5 std::terminate eh_terminate.cc 58 0x7ffff4c4d841 6 __cxxabiv1::__cxa_pure_virtual pure.cc 50 0x7ffff4c4e61f 7 QAbstractItemModel::beginRemoveRows qabstractitemmodel.cpp 2815 0x7ffff506d222 8 TimelineModel::<lambda()>::operator() timelinemodel.cpp 3625 0x555555a3cb6e 9 std::_Function_handler<bool(), TimelineModel::deregisterTrack_lambda(int)::<lambda()>>::_M_invoke std_function.h 285 0x555555a3cb6e 10 std::function<bool ()>::operator()() const std_function.h 688 0x555555a3cb6e 11 TimelineModel::~TimelineModel timelinemodel.cpp 160 0x555555a3cb6e 12 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x5555559fa937 13 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x5555559fa937 14 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 148 0x5555559a2f2c 15 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 148 0x5555559a2f2c 16 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count shared_ptr_base.h 730 0x5555559a2f2c 17 std::__shared_ptr<TimelineItemModel, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr shared_ptr_base.h 1169 0x5555559a2f2c 18 std::__shared_ptr<TimelineItemModel, (__gnu_cxx::_Lock_policy)2>::reset shared_ptr_base.h 1287 0x5555559a2f2c 19 ProjectManager::closeCurrentDocument projectmanager.cpp 296 0x5555559a2f2c 20 ProjectManager::newFile projectmanager.cpp 183 0x5555559a6c2f ... <More> By this stack you need to execute TimelineModel::~TimelineModel() body before derived class (TimelineItemModel) is destructed because deregisterTrack_lambda calls beginRemoveRows which calls TimelineItemModel::rowCount(). Or may be move rowCount to TimelineModel? -- You are receiving this mail because: You are watching all bug changes.
