Bug 456034 - lokalize crash when moving to the next untranslated element
Summary: lokalize crash when moving to the next untranslated element
Status: RESOLVED NOT A BUG
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-06-27 13:39 UTC by Freek de Kruijf
Modified: 2023-08-23 19:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (2.45 KB, text/plain)
2023-02-01 10:27 UTC, Vit Pelcak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2022-06-27 13:39:25 UTC
Application: lokalize (22.04.2)

Qt Version: 5.15.2
Frameworks Version: 5.95.0
Operating System: Linux 5.18.6-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.25.1 [KCrashBackend]

-- Information about the crash:
I used lokalize to translate untranslated elements in a module in documentation-docs-kdenlive-org. After having translated about 17 elements, going to the nest one, lokalize did crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f98514a9a56 in QSortFilterProxyModel::parent (this=0x557aa8e98f60, child=...) at itemmodels/qsortfilterproxymodel.cpp:2219
#5  0x00007f98514a9b39 in QSortFilterProxyModel::parent (this=<optimized out>, child=...) at itemmodels/qsortfilterproxymodel.cpp:2222
#6  0x0000557aa7d27c2a in QModelIndex::parent (this=<optimized out>) at /usr/include/qt5/QtCore/qabstractitemmodel.h:443
#7  0x0000557aa7d6b908 in TM::DBFilesModel::updateStats (this=0x557aa8e98f60, topLeft=..., bottomRight=...) at /usr/src/debug/lokalize-22.04.2-1.1.x86_64/src/tm/dbfilesmodel.cpp:146
#8  0x00007f9851507490 in QObject::event (this=0x557aa8e98f60, e=0x557aab3f7630) at kernel/qobject.cpp:1314
#9  0x00007f98521a53ce in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x557aa8e98f60, e=0x557aab3f7630) at kernel/qapplication.cpp:3632
#10 0x00007f98514dbce8 in QCoreApplication::notifyInternal2 (receiver=0x557aa8e98f60, event=0x557aab3f7630) at kernel/qcoreapplication.cpp:1064
#11 0x00007f98514dec81 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x557aa8d4da40) at kernel/qcoreapplication.cpp:1821
#12 0x00007f9851533903 in postEventSourceDispatch (s=0x557aa8e684b0) at kernel/qeventdispatcher_glib.cpp:277
#13 0x00007f984f86cea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#14 0x00007f984f86d258 in ?? () from /lib64/libglib-2.0.so.0
#15 0x00007f984f86d2ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x00007f9851533106 in QEventDispatcherGlib::processEvents (this=0x557aa8e69dd0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#17 0x00007f98514da75b in QEventLoop::exec (this=this@entry=0x7ffd4cafc210, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#18 0x00007f98514e28c6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#19 0x0000557aa7cc4962 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-22.04.2-1.1.x86_64/src/main.cpp:126
[Inferior 1 (process 25114) detached]

The reporter indicates this bug may be a duplicate of or related to bug 273746.

Reported using DrKonqi
Comment 1 Vit Pelcak 2023-02-01 10:27:11 UTC
Created attachment 155845 [details]
New crash information added by DrKonqi

lokalize (22.12.1) using Qt 5.15.8

Lokalize randomly crashes when moving to another string.

-- Backtrace (Reduced):
#4  0x00007ff7218a9e96 in QSortFilterProxyModel::parent (this=0x55565edc7d00, child=...) at itemmodels/qsortfilterproxymodel.cpp:2219
#5  0x00007ff7218a9f79 in QSortFilterProxyModel::parent (this=<optimized out>, child=...) at itemmodels/qsortfilterproxymodel.cpp:2222
#6  0x000055565ad6fd5a in QModelIndex::parent (this=<optimized out>) at /usr/include/qt5/QtCore/qabstractitemmodel.h:443
#7  0x000055565adb3438 in TM::DBFilesModel::updateStats (this=0x55565edc7d00, topLeft=..., bottomRight=...) at /usr/src/debug/lokalize-22.12.1/src/tm/dbfilesmodel.cpp:146
#8  0x00007ff721907c50 in QObject::event (this=0x55565edc7d00, e=0x7ff6dc0115f0) at kernel/qobject.cpp:1347
Comment 2 Freek de Kruijf 2023-08-23 19:57:04 UTC
No reaction