Bug 326872

Summary: Crashes when opening a GMO file
Product: [Applications] lokalize Reporter: Ettore Atalan <atalanttore>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 1.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: GMO binary file from util-linux-2.24 source package

Description Ettore Atalan 2013-10-30 12:03:26 UTC
Application: lokalize (1.5)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.12.0-031200rc6-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:

Lokalize crashes when opening a binary GMO file. The binary GMO file is attached.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9b670db7c0 (LWP 4594))]

Thread 5 (Thread 0x7f9b53062700 (LWP 4595)):
#0  0x00007f9b63040f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9b5f02f6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b5f02f7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b63acaa76 in QEventDispatcherGlib::processEvents (this=0x7f9b4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9b63a9c5ef in QEventLoop::processEvents (this=this@entry=0x7f9b53061d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9b63a9c8e5 in QEventLoop::exec (this=this@entry=0x7f9b53061d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9b6399b88f in QThread::exec (this=this@entry=0x1a7fa60) at thread/qthread.cpp:542
#7  0x00007f9b63a7dd13 in QInotifyFileSystemWatcherEngine::run (this=0x1a7fa60) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f9b6399df2f in QThreadPrivate::start (arg=0x1a7fa60) at thread/qthread_unix.cpp:338
#9  0x00007f9b5fb8df6e in start_thread (arg=0x7f9b53062700) at pthread_create.c:311
#10 0x00007f9b6304d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f9b5116b700 (LWP 4596)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9b6399e406 in wait (time=18446744073709551615, this=0x2010370) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2010088, mutex=mutex@entry=0x2010080, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9b644aa086 in QFileInfoGatherer::run (this=0x2010070) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f9b6399df2f in QThreadPrivate::start (arg=0x2010070) at thread/qthread_unix.cpp:338
#5  0x00007f9b5fb8df6e in start_thread (arg=0x7f9b5116b700) at pthread_create.c:311
#6  0x00007f9b6304d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f9b5096a700 (LWP 4597)):
#0  0x00007f9b5f06f0ed in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f9b5f06f399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9b5f02f12c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9b5f02f63b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9b5f02f7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9b63acaa76 in QEventDispatcherGlib::processEvents (this=0x7f9b480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9b63a9c5ef in QEventLoop::processEvents (this=this@entry=0x7f9b50969d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9b63a9c8e5 in QEventLoop::exec (this=this@entry=0x7f9b50969d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9b6399b88f in QThread::exec (this=this@entry=0x20140c0) at thread/qthread.cpp:542
#9  0x00007f9b63a7dd13 in QInotifyFileSystemWatcherEngine::run (this=0x20140c0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f9b6399df2f in QThreadPrivate::start (arg=0x20140c0) at thread/qthread_unix.cpp:338
#11 0x00007f9b5fb8df6e in start_thread (arg=0x7f9b5096a700) at pthread_create.c:311
#12 0x00007f9b6304d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f9b43fff700 (LWP 4598)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f9b6399e406 in wait (time=18446744073709551615, this=0x1a84340) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1a7c568, mutex=0x1a48950, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9b658d1e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1a7c540, th=0x1ccf4e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f9b658d4903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1a895f0, th=0x1ccf4e0, previous=0x2036290) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f9b658d361f in ThreadWeaver::Thread::run (this=0x1ccf4e0) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f9b6399df2f in QThreadPrivate::start (arg=0x1ccf4e0) at thread/qthread_unix.cpp:338
#7  0x00007f9b5fb8df6e in start_thread (arg=0x7f9b43fff700) at pthread_create.c:311
#8  0x00007f9b6304d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f9b670db7c0 (LWP 4594)):
[KCrash Handler]
#6  QCoreApplication::postEvent (receiver=0x1f04e70, event=0x2035850, priority=priority@entry=0) at kernel/qcoreapplication.cpp:1343
#7  0x00007f9b63aa1707 in QCoreApplication::postEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1304
#8  0x00007f9b63aaf274 in QObject::deleteLater (this=<optimized out>) at kernel/qobject.cpp:2083
#9  0x000000000043c661 in LokalizeMainWindow::~LokalizeMainWindow (this=this@entry=0x1a54b40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/lokalizemainwindow.cpp:153
#10 0x000000000043c749 in LokalizeMainWindow::~LokalizeMainWindow (this=0x1a54b40, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../src/lokalizemainwindow.cpp:154
#11 0x00007f9b63ab5e08 in QObject::event (this=this@entry=0x1a54b40, e=e@entry=0x1fd8d50) at kernel/qobject.cpp:1175
#12 0x00007f9b6401d36b in QWidget::event (this=this@entry=0x1a54b40, event=event@entry=0x1fd8d50) at kernel/qwidget.cpp:8845
#13 0x00007f9b643d6db3 in QMainWindow::event (this=this@entry=0x1a54b40, event=event@entry=0x1fd8d50) at widgets/qmainwindow.cpp:1478
#14 0x00007f9b65db3fa1 in KMainWindow::event (this=this@entry=0x1a54b40, ev=ev@entry=0x1fd8d50) at ../../kdeui/widgets/kmainwindow.cpp:1084
#15 0x00007f9b65deba49 in KXmlGuiWindow::event (this=0x1a54b40, ev=0x1fd8d50) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#16 0x00007f9b63fcddfc in QApplicationPrivate::notify_helper (this=this@entry=0x18c62b0, receiver=receiver@entry=0x1a54b40, e=e@entry=0x1fd8d50) at kernel/qapplication.cpp:4567
#17 0x00007f9b63fd4470 in QApplication::notify (this=this@entry=0x7fffc8b1e2a0, receiver=receiver@entry=0x1a54b40, e=e@entry=0x1fd8d50) at kernel/qapplication.cpp:4353
#18 0x00007f9b65cffa6a in KApplication::notify (this=0x7fffc8b1e2a0, receiver=0x1a54b40, event=0x1fd8d50) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f9b63a9d8bd in QCoreApplication::notifyInternal (this=0x7fffc8b1e2a0, receiver=receiver@entry=0x1a54b40, event=event@entry=0x1fd8d50) at kernel/qcoreapplication.cpp:946
#20 0x00007f9b63aa0e1f in sendEvent (event=0x1fd8d50, receiver=0x1a54b40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x187f670) at kernel/qcoreapplication.cpp:1570
#22 0x00007f9b63aa12c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#23 0x00007f9b63acb073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x18ad720) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f9b5f02f3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9b5f02f708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f9b5f02f7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f9b63acaa55 in QEventDispatcherGlib::processEvents (this=0x1880b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f9b6406f9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f9b63a9c5ef in QEventLoop::processEvents (this=this@entry=0x7fffc8b1e1a0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f9b63a9c8e5 in QEventLoop::exec (this=this@entry=0x7fffc8b1e1a0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f9b63aa1e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#33 0x00007f9b63fcc34c in QApplication::exec () at kernel/qapplication.cpp:3828
#34 0x00000000004367d9 in main (argc=<optimized out>, argv=0x7fffc8b1e3d8) at ../../src/main.cpp:126

Reported using DrKonqi
Comment 1 Ettore Atalan 2013-10-30 12:04:37 UTC
Created attachment 83222 [details]
GMO binary file from util-linux-2.24 source package
Comment 2 Jekyll Wu 2013-10-31 12:30:02 UTC

*** This bug has been marked as a duplicate of bug 325180 ***