Application: lokalize (22.04.0) Qt Version: 5.15.3 Frameworks Version: 5.93.0 Operating System: Linux 5.17.5-arch1-1 x86_64 Windowing System: X11 Distribution: Arch Linux DrKonqi: 5.24.5 [KCrashBackend] -- Information about the crash: - What I was doing when the application crashed: 1. Perform a search in the 'translation memory' tab (type something in the 'source' field and press the 'enter' key 2. Scroll down in the results pane Lokalize crashes Note: I can scroll in the 'project overview' tab without any problems. The crash can be reproduced every time. -- Backtrace: Application: Lokalize (lokalize), signal: Aborted Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = std::tuple containing = {[1] = 0x0, [2] = {<No data fields>}}}, <No data fields>}} [KCrash Handler] #6 0x00007f25d29c734c in __pthread_kill_implementation () from /usr/lib/libc.so.6 #7 0x00007f25d297a4b8 in raise () from /usr/lib/libc.so.6 #8 0x00007f25d2964534 in abort () from /usr/lib/libc.so.6 #9 0x00007f25d29bb397 in __libc_message () from /usr/lib/libc.so.6 #10 0x00007f25d29d133c in malloc_printerr () from /usr/lib/libc.so.6 #11 0x00007f25d29d162c in munmap_chunk () from /usr/lib/libc.so.6 #12 0x00007f25d29d5c2a in free () from /usr/lib/libc.so.6 #13 0x000055f1b6c157ea in TM::TMDBModel::data (this=0x7ffd0add1ab0, item=..., role=<optimized out>) at /usr/src/debug/lokalize-22.04.0/src/tm/tmtab.cpp:238 #14 0x00007f25d312e7a9 in QSortFilterProxyModel::data (this=this@entry=0x55f1b9beac80, index=..., role=role@entry=261) at itemmodels/qsortfilterproxymodel.cpp:2294 #15 0x000055f1b6c19ac4 in TMResultsSortFilterProxyModel::data (this=0x55f1b9beac80, index=..., role=261) at /usr/src/debug/lokalize-22.04.0/src/tm/tmtab.cpp:304 #16 0x000055f1b6bb1067 in QModelIndex::data (this=<optimized out>, arole=<optimized out>) at /usr/include/qt/QtCore/qabstractitemmodel.h:460 #17 0x000055f1b6bc0bb7 in FastSizeHintItemDelegate::paint (this=0x55f1b9c3aa90, painter=0x7ffd0add2228, option=..., index=...) at /usr/src/debug/lokalize-22.04.0/src/common/fastsizehintitemdelegate.cpp:71 #18 0x00007f25d3f87dd6 in QTreeView::drawRow (this=<optimized out>, painter=0x7ffd0add2228, option=..., index=...) at itemviews/qtreeview.cpp:1763 #19 0x00007f25d3f83d86 in QTreeView::drawTree (this=this@entry=0x55f1b9bfae50, painter=painter@entry=0x7ffd0add2228, region=...) at itemviews/qtreeview.cpp:1503 #20 0x00007f25d3f847fa in QTreeView::paintEvent (this=0x55f1b9bfae50, event=0x7ffd0add24c0) at itemviews/qtreeview.cpp:1332 #21 0x00007f25d3ce954c in QWidget::event (this=0x55f1b9bfae50, event=0x7ffd0add24c0) at kernel/qwidget.cpp:8814 #22 0x00007f25d3d98c53 in QFrame::event (this=0x55f1b9bfae50, e=0x7ffd0add24c0) at widgets/qframe.cpp:550 #23 0x00007f25d315332a in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190 #24 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55f1b9bfb4a0, event=event@entry=0x7ffd0add24c0) at kernel/qcoreapplication.cpp:1179 #25 0x00007f25d3cb32b5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f1b9bfb4a0, e=0x7ffd0add24c0) at kernel/qapplication.cpp:3631 #26 0x00007f25d31545aa in QCoreApplication::notifyInternal2 (receiver=0x55f1b9bfb4a0, event=0x7ffd0add24c0) at kernel/qcoreapplication.cpp:1064 #27 0x00007f25d3cdd26c in QWidgetPrivate::sendPaintEvent (this=this@entry=0x55f1b9bfb4e0, toBePainted=...) at kernel/qwidget.cpp:5467 #28 0x00007f25d3cde602 in QWidgetPrivate::drawWidget (this=0x55f1b9bfb4e0, pdev=0x55f1bb26fad0, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at kernel/qwidget.cpp:5417 #29 0x00007f25d3cbeb87 in QWidgetRepaintManager::paintAndFlush (this=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1003 #30 0x00007f25d3ce98c5 in QWidget::event (this=0x55f1b8d825b0, event=0x7f25c8010fe0) at kernel/qwidget.cpp:8978 #31 0x00007f25d489cade in KXmlGuiWindow::event (this=0x55f1b8d825b0, ev=0x7f25c8010fe0) at /usr/src/debug/kxmlgui-5.93.0/src/kxmlguiwindow.cpp:220 #32 0x00007f25d3cb32c6 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f1b8d825b0, e=0x7f25c8010fe0) at kernel/qapplication.cpp:3637 #33 0x00007f25d31545aa in QCoreApplication::notifyInternal2 (receiver=0x55f1b8d825b0, event=0x7f25c8010fe0) at kernel/qcoreapplication.cpp:1064 #34 0x00007f25d31550a9 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55f1b8c75840) at kernel/qcoreapplication.cpp:1821 #35 0x00007f25d319c678 in postEventSourceDispatch (s=0x55f1b8d4c6e0) at kernel/qeventdispatcher_glib.cpp:277 #36 0x00007f25d153a163 in g_main_dispatch (context=0x7f25c8005010) at ../glib/glib/gmain.c:3417 #37 g_main_context_dispatch (context=0x7f25c8005010) at ../glib/glib/gmain.c:4135 #38 0x00007f25d15909e9 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f25c8005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4211 #39 0x00007f25d15376c5 in g_main_context_iteration (context=0x7f25c8005010, may_block=1) at ../glib/glib/gmain.c:4276 #40 0x00007f25d31a057a in QEventDispatcherGlib::processEvents (this=0x55f1b8d55250, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #41 0x00007f25d314c88b in QEventLoop::exec (this=0x7ffd0add2df0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #42 0x00007f25d3157fd7 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #43 0x00007f25d360b1d2 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867 #44 0x00007f25d3cb164a in QApplication::exec () at kernel/qapplication.cpp:2829 #45 0x000055f1b6b6fca6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-22.04.0/src/main.cpp:126 [Inferior 1 (process 544935) detached] Possible duplicates by query: bug 329558, bug 193028. Reported using DrKonqi
Strangely, it has stopped crashing now. I was able to reproduce it consistently (three or four times) before reporting the bug, so I'm not sure what has changed since then.
(In reply to Kishore Gopalakrishnan from comment #1) > Strangely, it has stopped crashing now. I was able to reproduce it > consistently (three or four times) before reporting the bug, so I'm not sure > what has changed since then. It crashes when the search string is 'unread', but not for some other search strings. :O
(In reply to Kishore Gopalakrishnan from comment #2) > (In reply to Kishore Gopalakrishnan from comment #1) > > Strangely, it has stopped crashing now. I was able to reproduce it > > consistently (three or four times) before reporting the bug, so I'm not sure > > what has changed since then. > > It crashes when the search string is 'unread', but not for some other search > strings. :O It looks like that particular search string matches a really long source string which fills the entire view vertically. The crash happens when I scroll down enough for the entire view pane to be vertically filled by that item. Does the code always assume that more than one item will be visible in the view?