Bug 325180

Summary: "lokalize /usr/share/locale/ru/LC_MESSAGES/gimp20-lqr-plugin.mo" crashes during exit
Product: [Applications] lokalize Reporter: Nikoli <nikoli>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adaptee, adrian, atalanttore, kde-i18n
Priority: NOR Keywords: drkonqi, testcase
Version First Reported In: 1.5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=266457
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: opened this file in lokalize

Description Nikoli 2013-09-22 20:25:55 UTC
Application: lokalize (1.5)
KDE Platform Version: 4.10.5 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.10.10-hardened x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
Started from konsole "lokalize /usr/share/locale/ru/LC_MESSAGES/gimp20-lqr-plugin.mo", closed main lokalize window.

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 0x2a51b2ae780 (LWP 16885))]

Thread 4 (Thread 0x2a50567b700 (LWP 16886)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000002a517895f6b in wait (time=18446744073709551615, this=0x17c7a36cd0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17c7a25280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000002a518473c74 in QFileInfoGatherer::run (this=0x17c7a25270) at dialogs/qfileinfogatherer.cpp:214
#4  0x000002a5178958ac in QThreadPrivate::start (arg=0x17c7a25270) at thread/qthread_unix.cpp:338
#5  0x000002a514dc8dfa in start_thread (arg=0x2a50567b700) at pthread_create.c:305
#6  0x000002a516f4940d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x2a504e74700 (LWP 16887)):
#0  0x000002a5130f779d in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x000002a5130f7b09 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x000002a5130b18f8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x000002a5179ec53e in QEventDispatcherGlib::processEvents (this=0x2a4f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x000002a5179b48b2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000002a5179b4c27 in QEventLoop::exec (this=0x2a504e73da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x000002a517891e8f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x000002a51799037f in QInotifyFileSystemWatcherEngine::run (this=0x17c7a383f0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x000002a5178958ac in QThreadPrivate::start (arg=0x17c7a383f0) at thread/qthread_unix.cpp:338
#9  0x000002a514dc8dfa in start_thread (arg=0x2a504e74700) at pthread_create.c:305
#10 0x000002a516f4940d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x2a4fff15700 (LWP 16888)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000002a517895f6b in wait (time=18446744073709551615, this=0x17c73fdc70) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x17c754dae0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000002a51996a96f in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x17c73fd9c0, th=0x17c77cb7f0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000002a51996e3bb in ThreadWeaver::WorkingHardState::applyForWork (this=0x17c754df10, th=0x17c77cb7f0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000002a51996c87f in ThreadWeaver::ThreadRunHelper::run (this=0x2a4fff14e00, parent=0x17c73fd9c0, th=0x17c77cb7f0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000002a51996c93b in ThreadWeaver::Thread::run (this=0x17c77cb7f0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#7  0x000002a5178958ac in QThreadPrivate::start (arg=0x17c77cb7f0) at thread/qthread_unix.cpp:338
#8  0x000002a514dc8dfa in start_thread (arg=0x2a4fff15700) at pthread_create.c:305
#9  0x000002a516f4940d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x2a51b2ae780 (LWP 16885)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=0x17c792dd10, event=0x17c7a474a0, priority=0) at kernel/qcoreapplication.cpp:1343
#7  0x00000017c3aa84ef in LokalizeMainWindow::~LokalizeMainWindow (this=0x17c7553960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/lokalize-4.10.5/work/lokalize-4.10.5/lokalize/src/lokalizemainwindow.cpp:153
#8  0x00000017c3aa85fd in LokalizeMainWindow::~LokalizeMainWindow (this=0x17c7553960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/lokalize-4.10.5/work/lokalize-4.10.5/lokalize/src/lokalizemainwindow.cpp:154
#9  0x000002a5179d3368 in QObject::event (this=0x17c7553960, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x000002a517f5764b in QWidget::event (this=0x17c7553960, event=0x17c7a2f6b0) at kernel/qwidget.cpp:8845
#11 0x000002a51836f08b in QMainWindow::event (this=0x17c7553960, event=0x17c7a2f6b0) at widgets/qmainwindow.cpp:1478
#12 0x000002a519f1f818 in KXmlGuiWindow::event (this=0x17c7553960, ev=0x17c7a2f6b0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#13 0x000002a517ef7dec in notify_helper (e=0x17c7a2f6b0, receiver=0x17c7553960, this=0x17c7304390) at kernel/qapplication.cpp:4562
#14 QApplicationPrivate::notify_helper (this=0x17c7304390, receiver=0x17c7553960, e=0x17c7a2f6b0) at kernel/qapplication.cpp:4534
#15 0x000002a517efd1ec in QApplication::notify (this=0x3d7a9542f80, receiver=0x17c7553960, e=0x17c7a2f6b0) at kernel/qapplication.cpp:4423
#16 0x000002a519df09c6 in KApplication::notify (this=0x3d7a9542f80, receiver=0x17c7553960, event=0x17c7a2f6b0) at /var/tmp/portage/kde-base/kdelibs-4.10.5-r1/work/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#17 0x000002a5179b632c in QCoreApplication::notifyInternal (this=0x3d7a9542f80, receiver=0x17c7553960, event=0x17c7a2f6b0) at kernel/qcoreapplication.cpp:946
#18 0x000002a5179ba52a in sendEvent (event=0x17c7a2f6b0, receiver=0x17c7553960) at kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x17c72d8590) at kernel/qcoreapplication.cpp:1570
#20 0x000002a5179ec007 in sendPostedEvents () at kernel/qcoreapplication.h:236
#21 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#22 0x000002a5130b14c3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x000002a5130b1820 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x000002a5130b190c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x000002a5179ec4bf in QEventDispatcherGlib::processEvents (this=0x17c72d9a50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x000002a517fb2f96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x000002a5179b48b2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x000002a5179b4c27 in QEventLoop::exec (this=0x3d7a9542f00, flags=...) at kernel/qeventloop.cpp:204
#29 0x000002a5179ba885 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#30 0x00000017c3a9b0c5 in main (argc=2, argv=0x3d7a9543618) at /var/tmp/portage/kde-base/lokalize-4.10.5/work/lokalize-4.10.5/lokalize/src/main.cpp:126

Possible duplicates by query: bug 307696.

Reported using DrKonqi
Comment 1 Nikoli 2013-09-22 20:27:18 UTC
Created attachment 82461 [details]
opened this file in lokalize
Comment 2 Nikoli 2013-09-22 20:27:46 UTC
May be this bug is related to bug #266457
Comment 3 Jekyll Wu 2013-10-31 12:30:02 UTC
*** Bug 326872 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2013-10-31 12:32:13 UTC
Simple way to reproduce:

1. $ lokalize some-nonexisitent-file
2. close lokalize 
3. crash
Comment 5 Jekyll Wu 2013-12-01 13:19:32 UTC
*** Bug 320914 has been marked as a duplicate of this bug. ***
Comment 6 Adrián Chaves (Gallaecio) 2014-11-26 06:44:10 UTC
I can no longer reproduce this with master, can anyone else confirm that it has been fixed?
Comment 7 Nick Shaforostoff 2015-01-16 23:56:07 UTC
i cannot reproduce this with Lokalize for KF5, tried on kubuntu vivid and debian custom-compiled