[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #21 from d.pische...@gmail.com --- Yes. I'm developer. Main specialization is C++ and Qt. But never earlier participated in KDE. And I'm not familiar with that code and don't know kdenlive architecture and generic workflows. I've just spent a hour for debugging. However I can try to fix it, but in week, because I already have much work next week. -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #20 from Julius Künzel --- It seems that you have some expertise on developing and you are already somehow (a bit) familiar with the Kdenlive source code? It would be really nice to see you contributing to the project! :) At least for this bug… https://invent.kde.org/multimedia/kdenlive -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 emohr changed: What|Removed |Added Version|19.04.2 |20.12.3 -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Julius Künzel changed: What|Removed |Added Status|NEEDSINFO |CONFIRMED Resolution|FIXED |--- -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #19 from d.pische...@gmail.com --- New assert: 1 __GI_raise raise.c49 0x748b4d21 2 __GI_abort abort.c79 0x7489e536 3 __gnu_cxx::__verbose_terminate_handler vterminate.cc 95 0x74c1d753 4 __cxxabiv1::__terminate eh_terminate.cc48 0x74c4d7d6 5 std::terminate eh_terminate.cc58 0x74c4d841 6 __cxxabiv1::__cxa_pure_virtual pure.cc50 0x74c4e61f 7 QAbstractItemModel::beginRemoveRows qabstractitemmodel.cpp 2815 0x7506d222 8 TimelineModeloperator() timelinemodel.cpp 3625 0x55a3cb6e 9 std::_Function_handler>::_M_invoke std_function.h 285 0x55a3cb6e 10 std::function::operator()() const std_function.h 688 0x55a3cb6e 11 TimelineModel::~TimelineModel timelinemodel.cpp 160 0x55a3cb6e 12 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x559fa937 13 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x559fa937 14 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 148 0x559a2f2c 15 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 148 0x559a2f2c 16 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count shared_ptr_base.h 730 0x559a2f2c 17 std::__shared_ptr::~__shared_ptr shared_ptr_base.h 1169 0x559a2f2c 18 std::__shared_ptr::reset shared_ptr_base.h 1287 0x559a2f2c 19 ProjectManager::closeCurrentDocument projectmanager.cpp 296 0x559a2f2c 20 ProjectManager::newFile projectmanager.cpp 183 0x559a6c2f ... 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.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Jean-Baptiste Mardelle changed: What|Removed |Added CC||j...@kdenlive.org --- Comment #18 from Jean-Baptiste Mardelle --- There was a problem with the shared_ptr being still referenced by other widgets, so it was deleted much later than wanted. I fixed this, but not sure it's the only issue. Would be great if you can test again with my last commit. -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #17 from Jean-Baptiste Mardelle --- Git commit fcc17c068c2077c507f38578e007a97ef697336b by Jean-Baptiste Mardelle. Committed on 31/03/2021 at 13:50. Pushed by mardelle into branch 'release/21.04'. Properly release timelinemodel on document close. M +5-0src/audiomixer/mixermanager.cpp M +2-0src/audiomixer/mixermanager.hpp M +6-1src/bin/model/subtitlemodel.cpp M +2-0src/bin/model/subtitlemodel.hpp M +1-1src/dialogs/speechdialog.cpp M +3-1src/project/projectmanager.cpp M +10 -5src/timeline2/model/timelinemodel.cpp M +1-0src/timeline2/view/timelinecontroller.cpp M +6-0src/timeline2/view/timelinewidget.cpp M +1-0src/timeline2/view/timelinewidget.h https://invent.kde.org/multimedia/kdenlive/commit/fcc17c068c2077c507f38578e007a97ef697336b -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #16 from Vincent PINON --- Yes I agree Thanks for running these investigations! -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #15 from d.pische...@gmail.com --- Yes. I especially built Qt with debug information for this bug investigation. But that Q_ASSERT is shown that QModel is in inconsistent state there. It can cause random bugs and even crashes. -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #14 from Vincent PINON --- If you trigger Q_ASSERT, it's because you are running Debug build type, maybe even for Qt itself? I'm not sure which dev use RelWithDebInfo or Debug builds (should be on Debug, but I often forget personally) -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #13 from d.pische...@gmail.com --- If you need we can debug that on my machine or somehow else... -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #12 from d.pische...@gmail.com --- It is assert on row Q_ASSERT(last < rowCount(parent)); Something is not consistent there. -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #11 from d.pische...@gmail.com --- Jean-Baptiste, I've applied new fix to version 20.12.3. At that point it is not crashed now. New crash: new crash: just after kdenlive is started -> "New" button click -> change nothing in ProjectSettings dialog -> "Ok"-> click to ClipMonitor ->crash 1 __GI_raise raise.c49 0x748b4d21 2 __GI_abort abort.c79 0x7489e536 3 __gnu_cxx::__verbose_terminate_handler vterminate.cc 95 0x74c1d753 4 __cxxabiv1::__terminate eh_terminate.cc48 0x74c4d7d6 5 std::terminate eh_terminate.cc58 0x74c4d841 6 __cxxabiv1::__cxa_pure_virtual pure.cc50 0x74c4e61f 7 QAbstractItemModel::beginRemoveRows qabstractitemmodel.cpp 2815 0x7506d222 8 TimelineModeloperator() timelinemodel.cpp 3624 0x55a3ca41 9 std::_Function_handler>::_M_invoke std_function.h 285 0x55a3ca41 10 std::function::operator()() const std_function.h 688 0x55a3ca41 11 TimelineModel::~TimelineModel timelinemodel.cpp 160 0x55a3ca41 12 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x559fa7c7 13 TimelineItemModel::~TimelineItemModel timelineitemmodel.hpp 48 0x559fa7c7 14 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 155 0x5573960a 15 std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release shared_ptr_base.h 148 0x5573960a 16 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator= shared_ptr_base.h 749 0x5573960a 17 std::__shared_ptr::operator= shared_ptr_base.h 1080 0x5573960a 18 std::shared_ptr::operator= shared_ptr.h 103 0x5573960a 19 MixerManager::setModel mixermanager.cpp 147 0x5573960a 20 ProjectManager::newFile projectmanager.cpp 230 0x559a696b 21 ProjectManager::newFile projectmanager.cpp 142 0x559a721d 22 ProjectManager::qt_static_metacall moc_projectmanager.cpp 221 0x5565c48a 23 doActivate qobject.cpp3898 0x750f6ea0 24 QMetaObject::activate qobject.cpp3946 0x750eff1a 25 QAction::triggered moc_qaction.cpp379 0x7663fb02 26 QAction::activate qaction.cpp1161 0x766427c2 27 QAbstractButtonPrivate::click qabstractbutton.cpp398 0x7674b75c 28 QAbstractButton::mouseReleaseEvent qabstractbutton.cpp1044 0x7674b9d1 29 QToolButton::mouseReleaseEvent qtoolbutton.cpp622 0x7685182a 30 QWidget::event qwidget.cpp9019 0x7668e4be 31 QAbstractButton::event qabstractbutton.cpp1001 0x7674cd43 32 QToolButton::event qtoolbutton.cpp1012 0x768518d4 33 QApplicationPrivate::notify_helper
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #10 from Julius Künzel --- New fix! Please try again… -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #9 from Jean-Baptiste Mardelle --- Git commit 11e5be5ea2c98fda76780aec9a9f796fe6ef14e2 by Jean-Baptiste Mardelle. Committed on 30/03/2021 at 13:35. Pushed by mardelle into branch 'master'. Fix unconfigured consumer causing various crashes. M +1-0src/monitor/glwidget.cpp M +1-1src/monitor/glwidget.h https://invent.kde.org/multimedia/kdenlive/commit/11e5be5ea2c98fda76780aec9a9f796fe6ef14e2 -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #8 from Jean-Baptiste Mardelle --- Git commit f32f9d9f1709e9aeb7c68afea28b95895cf10c76 by Jean-Baptiste Mardelle. Committed on 30/03/2021 at 13:34. Pushed by mardelle into branch 'release/21.04'. Fix unconfigured consumer causing various crashes. M +1-0src/monitor/glwidget.cpp M +1-1src/monitor/glwidget.h https://invent.kde.org/multimedia/kdenlive/commit/f32f9d9f1709e9aeb7c68afea28b95895cf10c76 -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 d.pische...@gmail.com changed: What|Removed |Added Resolution|WAITINGFORINFO |FIXED --- Comment #7 from d.pische...@gmail.com --- Julius, it works. Kdenlive starts now. But I get new crash: just after kdenlive is started -> "New" button click -> change nothing in ProjectSettings dialog -> "Ok"-> crash 1 Mlt::Properties::set(const char *, int) 0x75640010 2 GLWidget::requestRefresh shared_ptr_base.h 1020 0x559018f2 3 ProjectManager::disableBinEffectsunique_ptr.h 154 0x5597598d 4 Bin::setBinEffectsEnabledunique_ptr.h 154 0x55730f8c 5 Bin::setDocument bin.cpp 1692 0x55742ed1 6 ProjectManager::newFile unique_ptr.h 154 0x5597bc4d 7 ProjectManager::newFile projectmanager.cpp 142 0x5597c58d 8 ProjectManager::qt_static_metacall moc_projectmanager.cpp 216 0x55656b3a 9 doActivateqobject.cpp 3898 0x7513bea0 10 QMetaObject::activateqobject.cpp 3946 0x75134f1a 11 QAction::triggered moc_qaction.cpp 379 0x76684b02 12 QAction::activateqaction.cpp 1161 0x766877c2 13 QAbstractButtonPrivate::clickqabstractbutton.cpp -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Julius Künzel changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|CONFIRMED |NEEDSINFO CC||jk.kde...@smartlab.uber.spa ||ce --- Comment #6 from Julius Künzel --- Can you please test again? This has hopefully been fixed to day with https://invent.kde.org/multimedia/kdenlive/-/commit/5f712c9178170af239ad1db0b21caf130e350e3d -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #5 from d.pische...@gmail.com --- Please note my debug results: https://bugs.kde.org/show_bug.cgi?id=428632#c2 -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Julius Künzel changed: What|Removed |Added CC||d.pische...@gmail.com --- Comment #4 from Julius Künzel --- *** Bug 428632 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Christian Janoff changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED|CONFIRMED CC||kdeb...@janoff.de --- Comment #3 from Christian Janoff --- Confirming this with Linux: Gentoo KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1 -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 --- Comment #2 from Jonathan Marten --- Confirmed with current Git master 4ce5e54f. -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Jonathan Marten changed: What|Removed |Added CC||j...@keelhaul.me.uk -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 emohr changed: What|Removed |Added Flags||timeline_corruption+ CC||fritzib...@gmx.net --- Comment #1 from emohr --- Build Kdenlive is tricky because you need lot's of libraries. Do you followed this steps: https://community.kde.org/Kdenlive/Development I all fails try with the current Kdenlive AppImage version 19.04.3b https://files.kde.org/kdenlive/release/ -- You are receiving this mail because: You are watching all bug changes.
[kdenlive] [Bug 409667] kdenlive crashes on startup with ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread"
https://bugs.kde.org/show_bug.cgi?id=409667 Christoph Feck changed: What|Removed |Added CC||cf...@kde.org -- You are receiving this mail because: You are watching all bug changes.