Bug 234697 - Lokalize crash because of synchro file being deleted
Summary: Lokalize crash because of synchro file being deleted
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2010-04-18 12:37 UTC by Jean Cayron
Modified: 2010-05-03 22:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean Cayron 2010-04-18 12:37:23 UTC
Version:           1.0 (using KDE 4.3.5)
OS:                Linux
Installed from:    openSUSE RPMs

I used a file for synchronisation placed on my Desktop folder. It was used to feed a file in my SVN folder for KDE translations. After having done it, I deleted the "feeding" file and kept only the resulting synchronised file.

I closed Lokalize and reopened it (the resulting file is still in a tab): the result is that it gives an error: It couldn't find the file used for synchro. And then it crashes.

The only way to make lokalize run is to restore back the "feeding" file on the path it was.

That shouldn't crash Lokalize...

Application that crashed: lokalize
Version of the application: 1.0
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
<Indiquez-nous en détails ce que vous faisiez lors du plantage de l'application.>

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

Thread 3 (Thread 0x7f7706eb7910 (LWP 4510)):
#0  0x00007f770f9d7049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f771083653b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f771231aab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f771231cbeb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f771231b1ef in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f771231b648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f7710835485 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f770f9d265d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f770ffe9e1d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f77061e6910 (LWP 4514)):
#0  0x00007f770f9d7049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f771083653b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f771231aab6 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x00007f771231cbeb in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f771231b1ef in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f771231b648 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f7710835485 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f770f9d265d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f770ffe9e1d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7713af2750 (LWP 4509)):
[KCrash Handler]
#5  0x00007f7710dff048 in QWidgetPrivate::showChildren(bool) () from /usr/lib64/libQtGui.so.4
#6  0x00007f7710dfec9f in QWidgetPrivate::show_helper() () from /usr/lib64/libQtGui.so.4
#7  0x00007f7710dffeba in QWidget::setVisible(bool) () from /usr/lib64/libQtGui.so.4
#8  0x0000000000434df7 in _start ()

Rapporter à https://bugs.kde.org
Comment 1 Nick Shaforostoff 2010-05-03 22:44:00 UTC
SVN commit 1122425 by shaforo:

defer projectLoaded() call until event loop is running to eliminate QWidgetPrivate::showChildren(bool) startup crash
BUG: 234697


 M  +8 -2      lokalizemainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1122425