Application: lokalize (18.12.1) Qt Version: 5.12.0 Frameworks Version: 5.54.0 Operating System: Linux 4.20.2-1-default x86_64 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: I clicked right on een item in the TM sub window which showed that item was in a no longer existing .po file. Clicking to delete crashed lokalize. The crash can be reproduced every time. -- Backtrace: Application: Lokalize (lokalize), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f657f724980 (LWP 4491))] Thread 8 (Thread 0x7f654fd39700 (LWP 4557)): #0 0x00007f6582f912c9 in poll () from /lib64/libc.so.6 #1 0x00007f65602090f1 in ?? () from /usr/lib64/libpulse.so.0 #2 0x00007f65601fa920 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0 #3 0x00007f65601faf6e in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0 #4 0x00007f65601fb020 in pa_mainloop_run () from /usr/lib64/libpulse.so.0 #5 0x00007f6560209039 in ?? () from /usr/lib64/libpulse.so.0 #6 0x00007f65601a5e28 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-12.2.so #7 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f6560eaa700 (LWP 4501)): #0 0x00007f6581dfb4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f6583850633 in QWaitConditionPrivate::wait (deadline=..., this=0x3c42b50) at thread/qwaitcondition_unix.cpp:146 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1aeae70, deadline=...) at thread/qwaitcondition_unix.cpp:225 #3 0x00007f6583850719 in QWaitCondition::wait (this=this@entry=0x3c84210, mutex=mutex@entry=0x1aeae70, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #4 0x00007f658384e7e2 in QThreadPoolThread::run (this=0x3c84200) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:240 #5 0x00007f658384a702 in QThreadPrivate::start (arg=0x3c84200) at thread/qthread_unix.cpp:361 #6 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f6562d8b700 (LWP 4499)): #0 0x00007f6581dfb4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f65675a1ac3 in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f65675a1817 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f65636cd700 (LWP 4498)): #0 0x00007f6581dfb4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f65675a1ac3 in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f65675a1817 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f65755f8700 (LWP 4496)): #0 0x00007f6581dfb4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f6583850633 in QWaitConditionPrivate::wait (deadline=..., this=0x2a28680) at thread/qwaitcondition_unix.cpp:146 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x198aa90, deadline=...) at thread/qwaitcondition_unix.cpp:225 #3 0x00007f6583850719 in QWaitCondition::wait (this=this@entry=0x2a29ea0, mutex=mutex@entry=0x198aa90, time=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #4 0x00007f658384e7e2 in QThreadPoolThread::run (this=0x2a29e90) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:240 #5 0x00007f658384a702 in QThreadPrivate::start (arg=0x2a29e90) at thread/qthread_unix.cpp:361 #6 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f6575e31700 (LWP 4495)): #0 0x00007f6581dfb4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f6583850633 in QWaitConditionPrivate::wait (deadline=..., this=0x2557dc0) at thread/qwaitcondition_unix.cpp:146 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x1b20098, deadline=...) at thread/qwaitcondition_unix.cpp:225 #3 0x00007f6583850719 in QWaitCondition::wait (this=this@entry=0x1b200a0, mutex=mutex@entry=0x1b20098, time=time@entry=18446744073709551615) at ../../include/QtCore/../../src/corelib/kernel/qdeadlinetimer.h:68 #4 0x00007f6584786a45 in QFileInfoGatherer::run (this=0x1b20088) at dialogs/qfileinfogatherer.cpp:251 #5 0x00007f658384a702 in QThreadPrivate::start (arg=0x1b20088) at thread/qthread_unix.cpp:361 #6 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #7 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f6577337700 (LWP 4493)): #0 0x00007f6582f912c9 in poll () from /lib64/libc.so.6 #1 0x00007f6580efcfb6 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f6580efd0dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f6583a5488b in QEventDispatcherGlib::processEvents (this=0x7f6570000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f65839ff02b in QEventLoop::exec (this=this@entry=0x7f6577336bf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #5 0x00007f65838493b6 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #6 0x00007f6583db7565 in ?? () from /usr/lib64/libQt5DBus.so.5 #7 0x00007f658384a702 in QThreadPrivate::start (arg=0x7f6583e31d80) at thread/qthread_unix.cpp:361 #8 0x00007f6581df5554 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f6582f9bccf in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f657f724980 (LWP 4491)): [KCrash Handler] #6 0x00007f6584045796 in (anonymous namespace)::QBidiAlgorithm::<lambda(int)>::operator()(int) const (__closure=__closure@entry=0x7ffe0aff5e00, runEnd=1045) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:132 #7 0x00007f658404e87d in (anonymous namespace)::QBidiAlgorithm::generateDirectionalRuns (runs=..., isolatePairs=..., this=0x7ffe0aff5de0) at text/qtextengine.cpp:496 #8 (anonymous namespace)::QBidiAlgorithm::resolveExplicitLevels (runs=..., this=0x7ffe0aff5de0) at text/qtextengine.cpp:533 #9 (anonymous namespace)::QBidiAlgorithm::process (this=0x7ffe0aff5de0) at text/qtextengine.cpp:1083 #10 QTextEngine::itemize (this=this@entry=0x7ffe0affa9a0) at text/qtextengine.cpp:2049 #11 0x00007f6584051a14 in QTextEngine::width (this=this@entry=0x7ffe0affa9a0, from=from@entry=0, len=len@entry=3647) at text/qtextengine.cpp:2227 #12 0x00007f6584035663 in QFontMetrics::horizontalAdvance (this=0x7ffe0affd318, text=..., len=3647) at text/qfontmetrics.cpp:624 #13 0x00007f6584c1abc9 in KSqueezedTextLabel::squeezeTextToLabel() () from /usr/lib64/libKF5WidgetsAddons.so.5 #14 0x00007f6584bfd624 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib64/libKF5WidgetsAddons.so.5 #15 0x00007f6584bfdc7e in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib64/libKF5WidgetsAddons.so.5 #16 0x00007f6584bfe0e0 in ?? () from /usr/lib64/libKF5WidgetsAddons.so.5 #17 0x00007f6584bfe3bc in KMessageBox::questionYesNo(QWidget*, QString const&, QString const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib64/libKF5WidgetsAddons.so.5 #18 0x00000000004fc9c3 in TM::TMView::removeEntry (this=this@entry=0x4416910, e=...) at /usr/include/qt5/QtCore/qchar.h:88 #19 0x0000000000502f9d in TM::TMView::contextMenu (this=0x4416910, pos=...) at /usr/src/debug/lokalize-18.12.1-1.1.x86_64/src/tm/tmview.cpp:626 #20 0x00007f6583a2a200 in QtPrivate::QSlotObjectBase::call (a=0x7ffe0affd9f0, r=0x4416910, this=0x4c96a20) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #21 QMetaObject::activate (sender=0x4431560, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3759 #22 0x00007f65845980b5 in QWidget::customContextMenuRequested (this=this@entry=0x4431560, _t1=...) at .moc/moc_qwidget.cpp:662 #23 0x00007f65845b2a21 in QWidget::event (this=this@entry=0x4431560, event=event@entry=0x7ffe0affde50) at ../../include/QtGui/../../src/gui/kernel/qevent.h:527 #24 0x00007f6584655bfe in QFrame::event (this=0x4431560, e=0x7ffe0affde50) at widgets/qframe.cpp:550 #25 0x00007f6583a0006b in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1187 #26 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x4431850, event=event@entry=0x7ffe0affde50) at kernel/qcoreapplication.cpp:1176 #27 0x00007f6584572581 in QApplicationPrivate::notify_helper (this=this@entry=0x198c1c0, receiver=receiver@entry=0x4431850, e=e@entry=0x7ffe0affde50) at kernel/qapplication.cpp:3745 #28 0x00007f6584579fee in QApplication::notify (this=<optimized out>, receiver=0x4431850, e=0x7ffe0affde50) at kernel/qapplication.cpp:3360 #29 0x00007f6583a00359 in QCoreApplication::notifyInternal2 (receiver=0x4431850, event=0x7ffe0affde50) at ../../include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322 #30 0x00007f65845ccf96 in QWidgetWindow::handleMouseEvent (this=<optimized out>, event=0x7ffe0affe310) at kernel/qwidgetwindow.cpp:668 #31 0x00007f65845cf5cf in QWidgetWindow::event (event=0x7ffe0affe310, this=0x437be00) at kernel/qwidgetwindow.cpp:280 #32 QWidgetWindow::event (this=0x437be00, event=0x7ffe0affe310) at kernel/qwidgetwindow.cpp:224 #33 0x00007f6584572591 in QApplicationPrivate::notify_helper (this=this@entry=0x198c1c0, receiver=receiver@entry=0x437be00, e=e@entry=0x7ffe0affe310) at kernel/qapplication.cpp:3753 #34 0x00007f6584579b50 in QApplication::notify (this=0x7ffe0affe7b0, receiver=0x437be00, e=0x7ffe0affe310) at kernel/qapplication.cpp:3500 #35 0x00007f6583a00359 in QCoreApplication::notifyInternal2 (receiver=0x437be00, event=0x7ffe0affe310) at ../../include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322 #36 0x00007f6583f6955d in QGuiApplicationPrivate::processMouseEvent (e=0x4d2ee20) at kernel/qguiapplication.cpp:2102 #37 0x00007f6583f6a975 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x4d2ee20) at kernel/qguiapplication.cpp:1837 #38 0x00007f6583f44ccb in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1068 #39 0x00007f657da7c5ba in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #40 0x00007f6580efcc85 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #41 0x00007f6580efd048 in ?? () from /usr/lib64/libglib-2.0.so.0 #42 0x00007f6580efd0dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #43 0x00007f6583a54873 in QEventDispatcherGlib::processEvents (this=0x1a7cd70, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #44 0x00007f65839ff02b in QEventLoop::exec (this=this@entry=0x7ffe0affe6d0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140 #45 0x00007f6583a07192 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120 #46 0x00007f6583f5fadc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1779 #47 0x00007f6584572505 in QApplication::exec () at kernel/qapplication.cpp:2910 #48 0x000000000045583f in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/lokalize-18.12.1-1.1.x86_64/src/main.cpp:137 [Inferior 1 (process 4491) detached] Reported using DrKonqi
What are your settings in translation memory ? Can you send a screenshot of the tooltip before you right click and Delete the entry ? It should display the filename and the TM name. I think the string message in the confirmation popup is has some null because of a special situation either in the TM name or the target string.
(In reply to Simon Depiets from comment #1) > What are your settings in translation memory ? See screenshot Screenshot_20190206_113713.png > Can you send a screenshot of the tooltip before you right click and Delete > the entry ? It should display the filename and the TM name. > > I think the string message in the confirmation popup is has some null > because of a special situation either in the TM name or the target string. I tried to reproduce the situation, which did not really succeeded. I copied a .po file, nl/messages/qt/libphonon.po, to a new name nl/messages/qt/libphonon_test.po. Tried to enter this file in the TM, which did not seem to succeed. Removed that file and opened the original in the edit window. Selected an item and clicked right on the item in the TM sub window. See scherm.png Selected "Dit item verwijderen" (Remove this item) and got see Screenshot_20190206_112249.png Pressed Ja (Yes). No crash. I selected another item, hoovered on the item in the TM sub window and got Screenshot_20190206_112855.png which shows, "Is niet meer aanwezig in het bestand" (No longer available in file), however clicking right and selecting Open file opened the mentioned file.
Created attachment 117859 [details] scherm.png
Created attachment 117860 [details] Screenshot_20190206_112249.png
Created attachment 117862 [details] Screenshot_20190206_112855.png
Created attachment 117863 [details] Screenshot_20190206_113713.png
Appears to be solved.