Application: lokalize (24.02.2) Qt Version: 6.7.0 Frameworks Version: 6.1.0 Operating System: Linux 6.8.7-arch1-1 x86_64 Windowing System: X11 Distribution: Arch Linux DrKonqi: 6.0.4 [KCrashBackend] -- Information about the crash: Lokalize crashed when I pressed the Ctrl+Shift+Pgdn shortcut to jump to the next untranslated entry. This happens only occasionally, so I am not sure exactly what triggers the crash. The crash can be reproduced sometimes. -- Backtrace: Application: Lokalize (lokalize), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>} [KCrash Handler] #6 0x0000767efde7297a in QSortFilterProxyModel::parent (child=<optimized out>, this=0x61ef53e6c200) at itemmodels/qsortfilterproxymodel.cpp:2219 #7 QSortFilterProxyModel::parent (this=0x61ef53e6c200, child=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:2212 #8 0x000061ef52054e10 in QModelIndex::parent (this=0x61ef550f6fd0) at /usr/include/qt/QtCore/qabstractitemmodel.h:443 #9 TM::DBFilesModel::updateStats (this=0x61ef53e6c200, topLeft=..., bottomRight=<optimized out>) at /usr/src/debug/lokalize/lokalize-24.02.2/src/tm/dbfilesmodel.cpp:145 #10 0x0000767efdebb4da in QObject::event (this=0x61ef53e6c200, e=0x767eb8001c60) at kernel/qobject.cpp:1347 #11 0x0000767efeb578ff in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x61ef53e6c200, e=0x767eb8001c60) at kernel/qapplication.cpp:3640 #12 0x0000767efde93a68 in QCoreApplication::notifyInternal2 (receiver=0x61ef53e6c200, event=0x767eb8001c60) at kernel/qcoreapplication.cpp:1064 #13 0x0000767efde989cb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x61ef52e80580) at kernel/qcoreapplication.cpp:1821 #14 0x0000767efdedea48 in postEventSourceDispatch (s=0x61ef52f6a250) at kernel/qeventdispatcher_glib.cpp:277 #15 0x0000767efc04d199 in g_main_dispatch (context=0x767ef4000ed0) at ../glib/glib/gmain.c:3344 #16 0x0000767efc0ac3bf in g_main_context_dispatch_unlocked (context=0x767ef4000ed0) at ../glib/glib/gmain.c:4152 #17 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x767ef4000ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4217 #18 0x0000767efc04c712 in g_main_context_iteration (context=0x767ef4000ed0, may_block=1) at ../glib/glib/gmain.c:4282 #19 0x0000767efdee288c in QEventDispatcherGlib::processEvents (this=0x61ef52e9c7e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #20 0x0000767efde92774 in QEventLoop::exec (this=this@entry=0x7ffd6befbcb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #21 0x0000767efde93c13 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #22 0x0000767efe32bef2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870 #23 0x0000767efeb55cda in QApplication::exec () at kernel/qapplication.cpp:2832 #24 0x000061ef51fb0c91 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize/lokalize-24.02.2/src/main.cpp:135 [Inferior 1 (process 64680) detached] Reported using DrKonqi
*** Bug 492254 has been marked as a duplicate of this bug. ***
It crashes at https://invent.kde.org/sdk/lokalize/-/blob/master/src/tm/dbfilesmodel.cpp?ref_type=heads#L143 i.e. this line "calcStats(topLeft.parent(), topLeft.row(), bottomRight.row());" and namely "topLeft.parent()". "topLeft" doesn't have a parent or lost it recently, and that's why it crashes. Why it needs to read it, is unknown to me. There is a timer named m_timeSinceLastUpdate which protects from that, and makes this bug "occasional".
Happened again today with a similar backtrace. lokalize 24.08.3
*** Bug 492760 has been marked as a duplicate of this bug. ***
*** Bug 467562 has been marked as a duplicate of this bug. ***
Hi! Have you seen this happen recently on an up-to-date version of Lokalize? Thanks.
Hi! Me not.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.