Bug 291900 - Lokalize crashed when quitting (after trying to open .ts file)
Summary: Lokalize crashed when quitting (after trying to open .ts file)
Status: RESOLVED DUPLICATE of bug 266457
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
: 307696 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-18 21:17 UTC by Karl Ove Hufthammer
Modified: 2013-08-26 04:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.29 KB, text/plain)
2012-10-19 16:25 UTC, Joris Nijnuis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2012-01-18 21:17:57 UTC
Application: lokalize (1.2)
KDE Platform Version: 4.7.4 (4.7.4) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

I was quitting Lokalize. Before that, I had tried to open (a possibly invalid) .ts file. Opening the file showed an error message, but Lokalize didn’t crash until I actually quit the application.

The crash can be reproduced every time.

-- Backtrace:
Application: Lokalize (lokalize), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fceaa186760 (LWP 18546))]

Thread 5 (Thread 0x7fce97f6c700 (LWP 18547)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcea6a474bb in wait (time=18446744073709551615, this=0x2060690) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x20601b8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcea751a554 in QFileInfoGatherer::run (this=0x20601a8) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fcea6a47025 in QThreadPrivate::start (arg=0x20601a8) at thread/qthread_unix.cpp:331
#5  0x00007fcea3e96f05 in start_thread (arg=0x7fce97f6c700) at pthread_create.c:301
#6  0x00007fcea61b563d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fce9776b700 (LWP 18548)):
#0  next_valid_source (source=0x7fce88001e00, context=0x7fce880009b0) at gmain.c:2479
#1  g_main_context_prepare (context=0x7fce880009b0, priority=0x7fce9776acc8) at gmain.c:2779
#2  0x00007fcea1fdc92d in g_main_context_iterate (context=0x7fce880009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#3  0x00007fcea1fdcf59 in g_main_context_iteration (context=0x7fce880009b0, may_block=1) at gmain.c:3136
#4  0x00007fcea6b58576 in QEventDispatcherGlib::processEvents (this=0x7fce880008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fcea6b2ca22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fcea6b2cc1f in QEventLoop::exec (this=0x7fce9776adf0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fcea6a445df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fcea6b0faef in QInotifyFileSystemWatcherEngine::run (this=0x205f400) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fcea6a47025 in QThreadPrivate::start (arg=0x205f400) at thread/qthread_unix.cpp:331
#10 0x00007fcea3e96f05 in start_thread (arg=0x7fce9776b700) at pthread_create.c:301
#11 0x00007fcea61b563d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fce96f6a700 (LWP 18549)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcea6a474bb in wait (time=18446744073709551615, this=0x905d80) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x904720, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcea8936104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x905bf0, th=0x2070de0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fcea89386ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x906020, th=0x2070de0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fcea893756f in ThreadWeaver::ThreadRunHelper::run (this=0x7fce96f69e40, parent=0x905bf0, th=0x2070de0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fcea89375fb in ThreadWeaver::Thread::run (this=0x2070de0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fcea6a47025 in QThreadPrivate::start (arg=0x2070de0) at thread/qthread_unix.cpp:331
#8  0x00007fcea3e96f05 in start_thread (arg=0x7fce96f6a700) at pthread_create.c:301
#9  0x00007fcea61b563d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fce95787700 (LWP 18553)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcea6a474bb in wait (time=18446744073709551615, this=0x9358c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x935ae0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcea8936104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9356f0, th=0x22699e0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fcea89386ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x935c00, th=0x22699e0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fcea893756f in ThreadWeaver::ThreadRunHelper::run (this=0x7fce95786e40, parent=0x9356f0, th=0x22699e0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fcea89375fb in ThreadWeaver::Thread::run (this=0x22699e0) at /usr/src/debug/kdelibs-4.7.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fcea6a47025 in QThreadPrivate::start (arg=0x22699e0) at thread/qthread_unix.cpp:331
#8  0x00007fcea3e96f05 in start_thread (arg=0x7fce95787700) at pthread_create.c:301
#9  0x00007fcea61b563d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fceaa186760 (LWP 18546)):
[KCrash Handler]
#6  0x00007fcea6a425ec in QMutex::lock (this=0x2aa57aa) at thread/qmutex.cpp:151
#7  0x00007fcea6b30ff9 in QCoreApplication::postEvent (receiver=0x1f95a70, event=0x21dbee0, priority=0) at kernel/qcoreapplication.cpp:1196
#8  0x0000000000441ba0 in LokalizeMainWindow::~LokalizeMainWindow (this=0x908110, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdesdk-4.7.4/lokalize/src/lokalizemainwindow.cpp:139
#9  0x0000000000441c79 in LokalizeMainWindow::~LokalizeMainWindow (this=0x908110, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdesdk-4.7.4/lokalize/src/lokalizemainwindow.cpp:140
#10 0x00007fcea6b44178 in QObject::event (this=0x908110, e=<optimized out>) at kernel/qobject.cpp:1209
#11 0x00007fcea707fd4b in QWidget::event (this=0x908110, event=0x8500a0) at kernel/qwidget.cpp:8754
#12 0x00007fcea743e04b in QMainWindow::event (this=0x908110, event=0x8500a0) at widgets/qmainwindow.cpp:1478
#13 0x00007fcea8e82d48 in KXmlGuiWindow::event (this=0x908110, ev=0x8500a0) at /usr/src/debug/kdelibs-4.7.4/kdeui/xmlgui/kxmlguiwindow.cpp:126
#14 0x00007fcea702fc34 in notify_helper (e=0x8500a0, receiver=0x908110, this=0x771570) at kernel/qapplication.cpp:4481
#15 QApplicationPrivate::notify_helper (this=0x771570, receiver=0x908110, e=0x8500a0) at kernel/qapplication.cpp:4453
#16 0x00007fcea7034ac1 in QApplication::notify (this=0x7fffd3e96150, receiver=0x908110, e=0x8500a0) at kernel/qapplication.cpp:4360
#17 0x00007fcea8d86186 in KApplication::notify (this=0x7fffd3e96150, receiver=0x908110, event=0x8500a0) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#18 0x00007fcea6b2d81c in QCoreApplication::notifyInternal (this=0x7fffd3e96150, receiver=0x908110, event=0x8500a0) at kernel/qcoreapplication.cpp:787
#19 0x00007fcea6b30bf8 in sendEvent (event=0x8500a0, receiver=0x908110) at kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x74bad0) at kernel/qcoreapplication.cpp:1428
#21 0x00007fcea6b580b3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007fcea1fdc58d in g_main_dispatch (context=0x773c00) at gmain.c:2425
#24 g_main_context_dispatch (context=0x773c00) at gmain.c:2995
#25 0x00007fcea1fdcd88 in g_main_context_iterate (context=0x773c00, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#26 0x00007fcea1fdcf59 in g_main_context_iteration (context=0x773c00, may_block=1) at gmain.c:3136
#27 0x00007fcea6b5850f in QEventDispatcherGlib::processEvents (this=0x74b2e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x00007fcea70d2f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fcea6b2ca22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007fcea6b2cc1f in QEventLoop::exec (this=0x7fffd3e960e0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00007fcea6b30de7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0x0000000000438549 in main (argc=2, argv=0x7fffd3e967b8) at /usr/src/debug/kdesdk-4.7.4/lokalize/src/main.cpp:123

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-10-02 07:20:35 UTC
*** Bug 307696 has been marked as a duplicate of this bug. ***
Comment 2 Joris Nijnuis 2012-10-19 16:25:28 UTC
Created attachment 74656 [details]
New crash information added by DrKonqi

lokalize (1.4) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

I opened a .po file, it told me Error opening the file /home/.....po. Then when I close Lokalize it crashes.

-- Backtrace (Reduced):
#6  QCoreApplication::postEvent (receiver=0x221d210, event=0x28dec70, priority=0) at kernel/qcoreapplication.cpp:1273
#7  0x0000000000440680 in LokalizeMainWindow::~LokalizeMainWindow (this=0x18393b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../lokalize/src/lokalizemainwindow.cpp:152
#8  0x0000000000440759 in LokalizeMainWindow::~LokalizeMainWindow (this=0x18393b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../lokalize/src/lokalizemainwindow.cpp:153
#9  0x00007f2dc7d9f478 in QObject::event (this=0x18393b0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007f2dc82f8b7b in QWidget::event (this=0x18393b0, event=0x28e40a0) at kernel/qwidget.cpp:8821
Comment 3 Adrián Chaves (Gallaecio) 2013-08-26 04:46:47 UTC

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