Bug 453018

Summary: Remove entry from translation memory gives weird message
Product: [Applications] lokalize Reporter: Frederik Schwarzer <schwarzer>
Component: translation memoryAssignee: Simon Depiets <sdepiets>
Status: REPORTED ---    
Severity: normal CC: shafff
Priority: NOR    
Version First Reported In: 21.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: weird message

Description Frederik Schwarzer 2022-04-25 20:26:30 UTC
Created attachment 148369 [details]
weird message

SUMMARY
When I try to remove an entry from the Translation Memory, Lokalize often crashes and when it does not crash, shows a weird message (see screenshot attached).


STEPS TO REPRODUCE
1. right-click an entry in the Translation Memory pane
2. select "remove this entry"


SOFTWARE/OS VERSIONS
Lokalize: 21.12.2
KDE Frameworks Version 5.91.0
Qt Version: 5.15.3
Comment 1 Frederik Schwarzer 2022-07-03 20:56:38 UTC
Also, here is a backtrace of the crash:
#0  0x0000000000451505 in int QAtomicOps<int>::loadRelaxed<int>(std::atomic<int> const&) ()
#1  0x0000000000450998 in QBasicAtomicInteger<int>::loadRelaxed() const ()
#2  0x000000000044ffca in QtPrivate::RefCount::ref() ()
#3  0x00000000004503cb in QString::QString(QString const&) ()
#4  0x00000000004527d9 in CatalogString::CatalogString(CatalogString const&) ()
#5  0x00000000005371f7 in TM::TMEntry::TMEntry(TM::TMEntry const&) ()
#6  0x000000000054c5ae in TM::RemoveJob::RemoveJob(TM::TMEntry const&) ()
#7  0x0000000000531552 in TM::TMView::removeEntry(TM::TMEntry const&) ()
#8  0x0000000000531bf0 in TM::TMView::contextMenu(QPoint const&) ()
#9  0x0000000000539ab4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QPoint const&>, void, void (TM::TMView::*)(QPoint const&)>::call(void (TM::TMView::*)(QPoint const&), TM::TMView*, void**) ()
#10 0x00000000005389ae in void QtPrivate::FunctionPointer<void (TM::TMView::*)(QPoint const&)>::call<QtPrivate::List<QPoint const&>, void>(void (TM::TMView::*)(QPoint const&), TM::TMView*, void**) ()
#11 0x0000000000537a4c in QtPrivate::QSlotObject<void (TM::TMView::*)(QPoint const&), QtPrivate::List<QPoint const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#12 0x00007ffff5cdac36 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007ffff6bd6729 in QWidget::customContextMenuRequested(QPoint const&) () from /lib64/libQt5Widgets.so.5
#14 0x00007ffff6bf256b in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007ffff6c9de32 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007ffff5ca7421 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007ffff6baec72 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007ffff6bb62a0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007ffff5ca7658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007ffff6c0b4f5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007ffff6c0deb0 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007ffff6baec82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007ffff5ca7658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#24 0x00007ffff636a115 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#25 0x00007ffff6349f5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#26 0x00007ffff191caee in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#27 0x00007ffff4518faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007ffff456e2c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#29 0x00007ffff4516940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007ffff5cf82fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#31 0x00007ffff5ca60ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007ffff5cae162 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#33 0x000000000044fc03 in main ()