Bug 207791 - lokalize crash after creating new project
Summary: lokalize crash after creating new project
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
: 204278 213303 240540 244088 248123 263107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-18 14:57 UTC by Freek de Kruijf
Modified: 2015-11-04 00:07 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Another backtrace of crash of lokalize-4.5.1 (11.31 KB, text/plain)
2010-09-15 14:03 UTC, Māris Nartišs
Details
New crash information added by DrKonqi (13.89 KB, text/plain)
2010-12-21 19:10 UTC, Marian Kyral
Details
New crash information added by DrKonqi (9.38 KB, text/plain)
2011-01-08 17:19 UTC, Bikov Rinat
Details
New crash information added by DrKonqi (13.46 KB, text/plain)
2011-01-08 23:09 UTC, opensuse.lietuviu.kalba
Details
New crash information added by DrKonqi (10.38 KB, text/plain)
2011-01-16 12:21 UTC, opensuse.lietuviu.kalba
Details
This is log from konsole: at first started with not deleted lokalizerc and .kde4/share/apps/lokalize ; the second is after deletion of localize configuration files (4.28 KB, text/plain)
2011-01-16 12:56 UTC, opensuse.lietuviu.kalba
Details
New crash information added by DrKonqi (10.03 KB, text/plain)
2011-01-16 13:53 UTC, opensuse.lietuviu.kalba
Details
Log from console for last case (crash on pressing any tab, except "general") (1.95 KB, text/plain)
2011-01-16 14:00 UTC, opensuse.lietuviu.kalba
Details
Lokalize crash video (1.07 MB, application/octet-stream)
2013-02-06 17:50 UTC, Volkan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freek de Kruijf 2009-09-18 14:57:44 UTC
Application that crashed: lokalize
Version of the application: 1.0
KDE Version: 4.3.1 (KDE 4.3.1) "release 163"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.29-0.1-default x86_64
Distribution: "openSUSE 11.1 (x86_64)"

What I was doing when the application crashed:
I opened lokalize using "lokalize --project %F" while clicking on a file in Dolphin /home/username/translations/KDE4trunk.lokalize where *.lokalize is linked with the above command.
This opened lokalize, however not using the mentioned file. After that I clicked "Recent projects" in the Project pull-down menu and choose the above mentioned file which opened this project in the proper way. However I used to have the option to enter my name and email address which should be entered in the header of a .po file.
After that I clicked New project and entered the same details as of the already opened project, which is mainly nothing more than the KDE4 svn directory I already have. Then I clicked on "Configure project" in the Project pull-down menu and after that on the Personal icon and lokalize crashed.
I can't reproduce the crash. But anyway there does not seem to be a new project defined, because when I look in the Advanced settings in Configure Project, I see the same content I had in the entries for Template- Branch and Alternative translations. With a new project I do not expect any information there.

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

Thread 3 (Thread 0x7f45855e4950 (LWP 28508)):
#0  0x00007f4590467d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f45906d8e19 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f4592a92644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8c61c0, th=0x8e4560) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f4592a94da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8c6600, th=0x8e4560) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f4592a9336f in ThreadWeaver::ThreadRunHelper::run (this=0x7f45855e4080, parent=0x8c61c0, th=0x8e4560) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f4592a937c9 in ThreadWeaver::Thread::run (this=0x8e4560) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f45906d7e65 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f4590464070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f458fa5d10d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f45838e8950 (LWP 28513)):
#0  0x00007f4590467d59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f45906d8e19 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f4592a92644 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92f1c0, th=0x1114ba0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x00007f4592a94da3 in ThreadWeaver::WorkingHardState::applyForWork (this=0x92f6c0, th=0x1114ba0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x00007f4592a9336f in ThreadWeaver::ThreadRunHelper::run (this=0x7f45838e8080, parent=0x92f1c0, th=0x1114ba0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:87
#5  0x00007f4592a937c9 in ThreadWeaver::Thread::run (this=0x1114ba0) at /usr/src/debug/kdelibs-4.3.1/threadweaver/Weaver/Thread.cpp:142
#6  0x00007f45906d7e65 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f4590464070 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f458fa5d10d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4594264750 (LWP 28507)):
[KCrash Handler]
#5  Kross::ActionCollection::actions (this=0x16f4800) at /usr/include/QtCore/qatomic_x86_64.h:121
#6  0x00007f4593a11ab4 in Kross::ActionCollectionModel::rowCount (this=0xd8b9b0, index=@0x7fffe2d27990) at /usr/src/debug/kdelibs-4.3.1/kross/ui/model.cpp:221
#7  0x00007f45907b64b4 in QAbstractItemModel::hasIndex(int, int, QModelIndex const&) const () from /usr/lib64/libQtCore.so.4
#8  0x00007f4593a1198d in Kross::ActionCollectionModel::index (this=0xd8b9b0, row=0, column=0, parent=@0x7fffe2d27990) at /usr/src/debug/kdelibs-4.3.1/kross/ui/model.cpp:227
#9  0x00007f45911620ba in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQtGui.so.4
#10 0x00007f459116a0a6 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib64/libQtGui.so.4
#11 0x00007f459116aaf7 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007f4590ca68b4 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f4590ffc09b in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#14 0x00007f4591131d5d in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f45911691d9 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f45907c0c48 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007f4590c55a8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f4590c5dd4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f4592eaa02b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f45907c194c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f4590cadad5 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f4590e26b6e in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f4590c9f7f0 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4
#24 0x00007f4590ca674d in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f4590c55abd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f4590c5dd4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f4592eaa02b in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f45907c194c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#29 0x00007f45907c25ca in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f45907eb0b3 in ?? () from /usr/lib64/libQtCore.so.4
#31 0x00007f458c9be0fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f458c9c18cd in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f458c9c1a8b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f45907ead3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f4590cecfaf in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f45907c01d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f45907c05a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f45907c2894 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x0000000000434bdd in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-18 15:56:14 UTC
Merging with bug 204278. Thanks

*** This bug has been marked as a duplicate of bug 204278 ***
Comment 2 Nick Shaforostoff 2009-11-06 00:54:10 UTC
*** Bug 204278 has been marked as a duplicate of this bug. ***
Comment 3 Nick Shaforostoff 2009-11-06 00:54:20 UTC
*** Bug 213303 has been marked as a duplicate of this bug. ***
Comment 4 Nick Shaforostoff 2009-11-06 00:56:33 UTC
question to all who got this crash.

let me guess - you all opened project config dialog right after you first loaded the project?

and when the project is loaded not the first time (i.e. it gets restored as the last used project), everything is fine?
Comment 5 Laszlo Papp 2010-04-09 06:38:30 UTC
Any status on this report ?
Comment 6 Māris Nartišs 2010-09-15 14:03:15 UTC
Created attachment 51677 [details]
Another backtrace of crash of lokalize-4.5.1

Steps to reproduce: Start lokalize; Project -> Create new project; Click on "Scripts".
Comment 7 Christoph Feck 2010-09-16 16:10:47 UTC
*** Bug 248123 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2010-09-16 16:11:34 UTC
*** Bug 244088 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2010-09-16 16:12:21 UTC
*** Bug 240540 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2010-09-16 16:13:41 UTC
Still happens with todays' trunk.
Comment 11 Marian Kyral 2010-12-21 19:10:22 UTC
Created attachment 55135 [details]
New crash information added by DrKonqi

lokalize (1.1) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1

- What I was doing when the application crashed:

I'm not able to create a new project. I start lokalize (it starts with previous project opened). I closed the project and tried to create a new project. I select the directory with translations, choose name of the project file. Then clicking to the "scripts" page causes this crash. If I not click to script, it will crash after "Finish" button is clicked.

-- Backtrace (Reduced):
#7  0x0000003b6da1513f in QList<Kross::Action*>::QList (this=0x7fffe7d9fba0, l=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:118
#8  0x0000003b6da12b91 in Kross::ActionCollection::actions (this=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kross/core/actioncollection.cpp:162
#9  0x0000003b6de13d3d in Kross::ActionCollectionModel::rowCount (this=<value optimized out>, index=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kross/ui/model.cpp:228
#10 0x00000031a75535fa in QAbstractItemModel::hasChildren(QModelIndex const&) const () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f027401237f in QTreeView::doItemsLayout() () from /usr/lib64/qt4/libQtGui.so.4
Comment 12 Marian Kyral 2010-12-21 19:18:05 UTC
The console output. This time I just choosed the project file and lokalize crashed. The new project dialog was not shown.

lokalize(5456) Project::load: loading "/home/marian/data/kde-i18n/test.lokalize" Finishing jobs...
lokalize(5456)/lokalize (TM) TM::CloseDBJob::CloseDBJob: here 
lokalize(5456) Project::load: 5...
lokalize(5456) Project::load: 4...
lokalize(5456) Project::load: 3...
lokalize(5456) Project::load: 2...
lokalize(5456)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0xd35140)  item moved into cache:  KUrl("file:///home/marian/data/amarok/amarok-2.3.2/po/cs")
lokalize(5456)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0xd35140)  item moved into cache:  KUrl("file:///home/marian/data/amarok/amarok-2.3.2/po/cs/lokalize-scripts")
lokalize(5456)/kio (KDirListerCache) KDirListerCache::listDir: Reloading directory: KUrl("file:///home/marian/data/kde-i18n")
lokalize(5456)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x144a4f0)
lokalize(5456) Project::load: 1...
"default" 
lokalize(5456) Project::load: until emitting signal 2
lokalize(5456) Project::load: loaded! 2
lokalize(5456) LokalizeMainWindow::projectLoaded: "/home/marian/data/kde-i18n/test.lokalize"
lokalize(5456)/lokalize (TM) TM::OpenDBJob::run: db "default"  opened  0 "cs" 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = lokalize path = /usr/bin pid = 5456
KCrash: Arguments: /usr/bin/lokalize --nocrashhandler 
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/marian/.kde4/socket-nbmkyral-E6500/kdeinit4__0
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
QSocketNotifier: Invalid socket 29 and type 'Read', disabling...

There is nothing created in the destination directory:

$ ll
celkem 16
drwxr-xr-x  4 marian marian 4096 21. pro 19.06 .
drwxr-xr-x 44 marian users  4096 21. pro 17.15 ..
drwxr-xr-x  6 marian marian 4096 21. pro 17.44 summit
drwxr-xr-x  2 marian marian 4096 21. pro 18.54 work
$
Comment 13 Marian Kyral 2010-12-21 19:35:32 UTC
It is really strange. I was able to create the project using the "New project guide". Then I click to configure, changed configuration and after click on OK, Lokalize crashed again. And it crashing each time I tried to load the project.

Now, I removed the index.lokalize file and I'm trying to reproduce this, but this time I always got crash when I click on Finish.

The Backtrace is different:

Thread 1 (Thread 0x7f81c9a9f760 (LWP 21973)):
[KCrash Handler]
#6  0x00007f81ca089320 in QMdiSubWindow::widget() const () from /usr/lib64/qt4/libQtGui.so.4
#7  0x000000000043fe72 in LokalizeMainWindow::projectLoaded() ()
#8  0x0000000000441c6f in LokalizeMainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
#9  0x00000031a757479a in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f81c9cd072d in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f81ca07459b in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x0000003b6bb307e0 in KXmlGuiWindow::event (this=0xb86f30, ev=0x182e0f0) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kdeui/xmlgui/kxmlguiwindow.cpp:126
#13 0x00007f81c9c7f824 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f81c9c842fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x0000003b6ba3dd72 in KApplication::notify (this=0x7fff3d33d3e0, receiver=0xb86f30, event=0x182e0f0) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kdeui/kernel/kapplication.cpp:311
#16 0x00000031a756060b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00000031a7563dc4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00000031a758b313 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00000031a4c44272 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00000031a4c44a50 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#21 0x00000031a4c44ced in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00000031a758b4af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007f81c9d2423e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00000031a755f9b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00000031a755fbf4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00000031a756407b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#27 0x0000000000438bed in main ()
Comment 14 Marian Kyral 2010-12-21 19:52:35 UTC
I've started with blank configuration (I removed config/lokalizerc file and apps/lokalize directory). Now I was able to create the project without crash. I restarted lokalize - no problem. Then I look to the project configuration - choosed Czech as the destination language, click to OK and Lokalize crashed again. After restart of Lokalize, project is opened correctly, no crash and "Destination language" is  choosen now.

The BackTrace:

Thread 1 (Thread 0x7faf4038f760 (LWP 22904)):
[KCrash Handler]
#6  0x00000031a2c327c5 in raise () from /lib/libc.so.6
#7  0x00000031a2c33c46 in abort () from /lib/libc.so.6
#8  0x00000031a7470714 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00000031a74708ad in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00000031a7470a45 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x0000003b6c51b27a in KDirLister::Private::CachedItemsJob::CachedItemsJob (this=0x2bb8aa0, lister=0x2506580, items=..., rootItem=..., url=..., reload=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kio/kio/kdirlister_p.h:472
#12 0x0000003b6c514227 in KDirListerCache::listDir (this=<value optimized out>, lister=0x2506580, _u=<value optimized out>, _keep=<value optimized out>, _reload=false) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kio/kio/kdirlister.cpp:264
#13 0x0000003b6c514b5d in KDirLister::openUrl (this=0x2506580, _url=..., _flags=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kio/kio/kdirlister.cpp:1984
#14 0x0000003b6c5217ec in KDirModel::fetchMore (this=0x24bc5d0, parent=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kio/kio/kdirmodel.cpp:1094
#15 0x0000000000485f33 in ProjectModel::fetchMore(QModelIndex const&) ()
#16 0x0000000000488dae in ProjectModel::finishMetadataUpdate(ThreadWeaver::Job*) ()
#17 0x000000000048b8f4 in ProjectModel::qt_metacall(QMetaObject::Call, int, void**) ()
#18 0x00000031a7574c97 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x0000003b6e60d5a2 in ThreadWeaver::Job::done (this=<value optimized out>, _t1=0x2a2a460) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85_build/threadweaver/Weaver/Job.moc:97
#20 0x0000003b6e60d68c in ThreadWeaver::Job::qt_metacall (this=0x2a2a460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2969df0) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85_build/threadweaver/Weaver/Job.moc:77
#21 0x00000031a757479a in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007faf4056f824 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007faf405742fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x0000003b6ba3dd72 in KApplication::notify (this=0x7fffaf1dcbc0, receiver=0x2a2a460, event=0x2eca810) at /var/tmp/portage/kde-base/kdelibs-4.5.85/work/kdelibs-4.5.85/kdeui/kernel/kapplication.cpp:311
#25 0x00000031a756060b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00000031a7563dc4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00000031a758b313 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00000031a4c44272 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x00000031a4c44a50 in g_main_context_iterate.clone.5 () from /usr/lib/libglib-2.0.so.0
#30 0x00000031a4c44ced in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0x00000031a758b4af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007faf4061423e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00000031a755f9b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00000031a755fbf4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00000031a756407b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
Comment 15 Marian Kyral 2010-12-21 19:58:41 UTC
This project file causes Lokalize crash each time:

$ cat index.lokalize 
[General]
AltDir=../work
LangCode=cs
PotBaseDir=./
ProjectID=kde-summit
TargetLangCode=summit
Comment 16 Bikov Rinat 2011-01-08 17:19:14 UTC
Created attachment 55738 [details]
New crash information added by DrKonqi

lokalize (1.1) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:
Create new Lokalize project and open Scripts tab on save.

-- Backtrace (Reduced):
#13 0xb6cee661 in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb67e520e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0xb6b93cb3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb6c17cb2 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb6cab23c in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
Comment 17 opensuse.lietuviu.kalba 2011-01-08 23:09:23 UTC
Created attachment 55753 [details]
New crash information added by DrKonqi

lokalize (1.2) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

- What I was doing when the application crashed:

Started Lokalize from openSUSE 11.3 menu, select Project > Create new project, select Scripts

-- Backtrace (Reduced):
#6  0x00007fbb9d9662db in Kross::ActionCollection::actions() const () from /usr/lib64/libkrosscore.so.4
#7  0x00007fbb9d74c81d in Kross::ActionCollectionModel::rowCount(QModelIndex const&) const () from /usr/lib64/libkrossui.so.4
#8  0x00007fbb9a9c39da in QAbstractItemModel::hasChildren (this=0xb7a700, parent=...) at kernel/qabstractitemmodel.cpp:1630
#9  0x00007fbb9b426172 in QTreeView::doItemsLayout (this=0xb8d9c0) at itemviews/qtreeview.cpp:2024
#10 0x00007fbb9b4215d4 in QTreeViewPrivate::updateScrollBars (this=0xbc1520) at itemviews/qtreeview.cpp:3439
Comment 18 opensuse.lietuviu.kalba 2011-01-16 12:21:35 UTC
Created attachment 56081 [details]
New crash information added by DrKonqi

lokalize (1.2) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

- What I was doing when the application crashed:

installed fresh openSUSE 11.4 milestone5 from kde live cd and updated to kde 4.6rc2.
started Lokalize from menu, selected Project > create new project. 
I type name of project.
For a half of second appeares next dialog and Lokalize crashed (I did't do anything).

I restarted Lokalize, repeated this action and it behave idendically (both: if I try to create project in new folder and in other folder).

-- Backtrace (Reduced):
#7  0xb77e6d5e in QList (this=0x8462a48) at /usr/include/QtCore/qlist.h:118
#8  Kross::ActionCollection::actions (this=0x8462a48) at /usr/src/debug/kdelibs-4.5.95/kross/core/actioncollection.cpp:162
#9  0xb77ce546 in Kross::ActionCollectionModel::rowCount (this=0x862e440, index=...) at /usr/src/debug/kdelibs-4.5.95/kross/ui/model.cpp:228
#10 0xb60724df in QAbstractItemModel::hasChildren(QModelIndex const&) const () from /usr/lib/libQtCore.so.4
#11 0xb68e7cbd in QTreeView::doItemsLayout() () from /usr/lib/libQtGui.so.4
Comment 19 opensuse.lietuviu.kalba 2011-01-16 12:56:06 UTC
Created attachment 56085 [details]
This is log from konsole: at first started with not deleted lokalizerc and .kde4/share/apps/lokalize ; the second is after deletion of localize configuration files
Comment 20 opensuse.lietuviu.kalba 2011-01-16 13:33:06 UTC
The solution is: 

1) to start lokalize from _terminal_, not from menu
(because of https://bugs.kde.org/show_bug.cgi?id=257742#c1 - lokalize can't create project by going "Project > New project wizard" if started from menu)

2) create new project using "Project > New project wizard", not from "Create new project".

After this, seems to be good configuration files are created, so now you can create all other projects by using "Project > Create new project"! ;)
Comment 21 opensuse.lietuviu.kalba 2011-01-16 13:46:54 UTC
But I was too optimistic, because it woks (and no crashes in any tab) while you use the same Lokalize window.

If you close Lokalize and start again (from terminal or by menu - now it makes no sence), "Project > Create new project" always crashes after any tab (except the first, i.e. default)
Comment 22 opensuse.lietuviu.kalba 2011-01-16 13:53:15 UTC
Created attachment 56090 [details]
New crash information added by DrKonqi

lokalize (1.2) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

This is crash information for last case (crash after "Project > Create new project", defining file and selecting any tab [advanced|scrits|personal])

-- Backtrace (Reduced):
#7  0xb7853d5e in QList (this=0x84222c0) at /usr/include/QtCore/qlist.h:118
#8  Kross::ActionCollection::actions (this=0x84222c0) at /usr/src/debug/kdelibs-4.5.95/kross/core/actioncollection.cpp:162
#9  0xb783b546 in Kross::ActionCollectionModel::rowCount (this=0x86cca20, index=...) at /usr/src/debug/kdelibs-4.5.95/kross/ui/model.cpp:228
#10 0xb60df4df in QAbstractItemModel::hasChildren(QModelIndex const&) const () from /usr/lib/libQtCore.so.4
#11 0xb6954cbd in QTreeView::doItemsLayout() () from /usr/lib/libQtGui.so.4
Comment 23 opensuse.lietuviu.kalba 2011-01-16 14:00:48 UTC
Created attachment 56091 [details]
Log from console for last case (crash on pressing any tab, except "general")

In this log I see, that not absolute path to file is used.
Comment 24 Nick Shaforostoff 2011-01-21 23:01:23 UTC
thanks for your testing work. i'll sort it out in the next days
Comment 25 Nick Shaforostoff 2011-02-03 17:10:18 UTC
i fixed crash (with workaround), and will push it to git as soon as i deal with git auditing problems...
Comment 26 Nick Shaforostoff 2011-02-03 17:21:45 UTC
Git commit 1482ddf6a67537d71b7208084b6c5f5239c39e65 by Nick Shaforostoff.
Committed on 03/02/11 at 17:19.
Pushed by shaforo into branch 'master'.

guard ActionCollection with a QPointer. It seems that kross engine is not prepared for big changes such that happen when lokalize creates a new project.
BUG: 207791

M  +5    -2    kross/core/actioncollection.cpp     
M  +4    -3    kross/ui/model.cpp     

http://commits.kde.org/kdelibs/1482ddf6a67537d71b7208084b6c5f5239c39e65
Comment 27 Nick Shaforostoff 2011-02-03 17:28:05 UTC
*** Bug 263107 has been marked as a duplicate of this bug. ***
Comment 28 Volkan 2013-02-02 23:29:38 UTC
Not it does not crash, but it stays in configuration panel for 20 mins and does nothing...
Comment 29 Nick Shaforostoff 2013-02-03 22:40:43 UTC
does it react on muse movement?
are you doing exactly the same steps described in the original report text?
if not, can you please describe your steps to reproduce the problem. Also the version of KDE/Lokalize you're using, and maybe some other info that might be useful to reproduce/fix the issue.
Comment 30 Volkan 2013-02-04 21:07:08 UTC
(In reply to comment #29)
> does it react on muse movement?
> are you doing exactly the same steps described in the original report text?
> if not, can you please describe your steps to reproduce the problem. Also
> the version of KDE/Lokalize you're using, and maybe some other info that
> might be useful to reproduce/fix the issue.

No, only close and minimize buttons react.
I am creating a project using create wizard or manually. Then, I close lokalize and reopen it again.  Going to configure project and editing anything (e.g. mail address). When I click on apply or OK it hangs (no error no crash, but nothing).
I am using KDE 4.9.98 but it was the same I was using 4.9 too... I also checked but my index.lokalize file is not modified. I only have target language and thats all.. I added other entries manually.
Comment 31 Nick Shaforostoff 2013-02-06 17:30:12 UTC
i have installed a fresh daily build of kubuntu into virtualbox, called lokalize, created a new project for uk language (it is the first language checked out from anonsvn), then restarted lokalize, opened configure project window, changed the mail address, pressed OK and all was fine. tried several times this.
Comment 32 Volkan 2013-02-06 17:50:46 UTC
Created attachment 76948 [details]
Lokalize crash video
Comment 33 Nick Shaforostoff 2013-02-06 18:11:57 UTC
Comment on attachment 76948 [details]
Lokalize crash video

so what is in the backtrace?
Comment 34 Volkan 2013-02-06 18:54:29 UTC
(In reply to comment #33)
> Comment on attachment 76948 [details]
> Lokalize crash video
> 
> so what is in the backtrace?

There is no backtrace because it does not crash and does not show the Bug reporter...
Comment 35 Adrián Chaves (Gallaecio) 2013-08-26 04:58:16 UTC
Volkan, can you please test the following scenarios?
1. Can you reproduce this by following Nick’s steps? (downloading the uk language using Lokalize’s New Project Wizard)
2. If not, can you reproduce this by following Nick’s steps but downloading the tr language into a folder other than your current working folder?
3. If not, can you still reproduce this with your working tr translation folder?

If only the third remains true, please, compress the content of your folder with “tar -cavf tr.tar.xz <path to folder>” (should give you the best compression). If the compressed archive is not too large, please attach it. Otherwise, please, see if you can find a way to let us get access to it.
Comment 36 Volkan 2013-08-28 17:40:23 UTC
(In reply to comment #35)
> Volkan, can you please test the following scenarios?
> 1. Can you reproduce this by following Nick’s steps? (downloading the uk
> language using Lokalize’s New Project Wizard)
> 2. If not, can you reproduce this by following Nick’s steps but downloading
> the tr language into a folder other than your current working folder?
> 3. If not, can you still reproduce this with your working tr translation
> folder?
> 
> If only the third remains true, please, compress the content of your folder
> with “tar -cavf tr.tar.xz <path to folder>” (should give you the best
> compression). If the compressed archive is not too large, please attach it.
> Otherwise, please, see if you can find a way to let us get access to it.

Hi. I cannot reproduce it anymore. Probably there was a problem with the installation. Now everything is perfect :)