Bug 462189 - TM Search Crash
Summary: TM Search Crash
Status: REPORTED
Alias: None
Product: lokalize
Classification: Applications
Component: translation memory (show other bugs)
Version: 22.08.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-24 07:37 UTC by OIS
Modified: 2022-11-24 07:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OIS 2022-11-24 07:37:26 UTC
SUMMARY

Searching in a certain TM causes double-free error and crash. Relevant backtrace:
...
#8  in TM::TMDBModel::data(QModelIndex const&, int) const
    at /usr/src/debug/lokalize-22.08.3-1.fc37.x86_64/src/tm/tmtab.cpp:238
#9  in QSortFilterProxyModel::data(QModelIndex const&, int) const 
    (this=this@entry=0x5555561ea9c0, index=..., role=role@entry=261)
    at itemmodels/qsortfilterproxymodel.cpp:2294
#10 in TMResultsSortFilterProxyModel::data(QModelIndex const&, int) const (this=0x5555561ea9c0, index=..., role=261)
    at /usr/src/debug/lokalize-22.08.3-1.fc37.x86_64/src/tm/tmtab.cpp:304
#11 in QModelIndex::data(int) const
    at /usr/include/qt5/QtCore/qabstractitemmodel.h:460
#12 in FastSizeHintItemDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const
    at /usr/src/debug/lokalize-22.08.3-1.fc37.x86_64/src/common/fastsizehintitemdelegate.cpp:71
#13 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const
    at itemviews/qtreeview.cpp:1764
#14 in QTreeView::drawTree(QPainter*, QRegion const&) const
    (this=this@entry=0x5555561fdd10, painter=painter@entry=0x7fffffffbb58, region=...) at itemviews/qtreeview.cpp:1504
#15 in QTreeView::paintEvent(QPaintEvent*)
    (this=0x5555561fdd10, event=0x7fffffffbdb0) at itemviews/qtreeview.cpp:1332
...

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  N/A
KDE Plasma Version: N/A
KDE Frameworks Version:  5.100.0
Qt Version: 5.15.7