Bug 242888 - [kdirmodel] Crash when changing some project settings with Lokalize
Summary: [kdirmodel] Crash when changing some project settings with Lokalize
Status: RESOLVED DUPLICATE of bug 175035
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 18:08 UTC by Geoffray Levasseur
Modified: 2011-02-10 04:36 UTC (History)
0 users

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 Geoffray Levasseur 2010-06-26 18:08:12 UTC
Application: lokalize (1.1)
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.4 (lenny)

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

After a clean up of my KDE configuration files (simply some files erased), I was forced to reconfigure Lokalize. Everything was running OK. To be more productive I've decided to use the project feature of Lokalize. When clicking OK after a change in project settings, and if one or more files of the project are opened, Lokalize crash.

-- Backtrace:
Application: Lokalize (lokalize), signal: Aborted
[Current thread is 1 (Thread 0x7f26ddf8a760 (LWP 21355))]

Thread 3 (Thread 0x7f26c81e2710 (LWP 21356)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26d98cfe8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x879900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x879900, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f26dc7189d1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8d0580, th=0x10e99d0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f26dc71c810 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d7c10, th=0x10e99d0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f26dc71aea4 in ThreadWeaver::ThreadRunHelper::run (this=0x7f26c81e1e30, parent=0x8d0580, th=0x10e99d0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f26dc71afa4 in ThreadWeaver::Thread::run (this=0x10e99d0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f26d98cee35 in QThreadPrivate::start (arg=0x10e99d0) at thread/qthread_unix.cpp:248
#8  0x00007f26d962f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f26d8beb01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f26c7544710 (LWP 21392)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f26d98cfe8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x8e1ac0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x8e1ac0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f26dc7189d1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f1a50, th=0x197ffb0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f26dc71c810 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8e7830, th=0x197ffb0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f26dc71aea4 in ThreadWeaver::ThreadRunHelper::run (this=0x7f26c7543e30, parent=0x8f1a50, th=0x197ffb0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f26dc71afa4 in ThreadWeaver::Thread::run (this=0x197ffb0) at /share/src/kde/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f26d98cee35 in QThreadPrivate::start (arg=0x197ffb0) at thread/qthread_unix.cpp:248
#8  0x00007f26d962f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f26d8beb01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f26ddf8a760 (LWP 21355)):
[KCrash Handler]
#6  0x00007f26d8b4e175 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f26d8b50f80 in *__GI_abort () at abort.c:92
#8  0x00007f26d98c6c9f in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2266
#9  0x00007f26d98c6e42 in qt_message (msgType=QtFatalMsg, msg=0x7f26d9a20408 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff1ea15450) at global/qglobal.cpp:2312
#10 0x00007f26d98c6ff5 in qFatal (msg=0x536b <Address 0x536b out of bounds>) at global/qglobal.cpp:2495
#11 0x00007f26dd38388a in CachedItemsJob (this=0x1d257e0, lister=0x8eb5d0, items=..., rootItem=..., url=..., reload=false) at /share/src/kde/KDE/kdelibs/kio/kio/kdirlister_p.h:471
#12 0x00007f26dd376145 in KDirListerCache::listDir (this=0x7fff1ea15740, lister=0x8eb5d0, _u=<value optimized out>, _keep=<value optimized out>, _reload=<value optimized out>)
    at /share/src/kde/KDE/kdelibs/kio/kio/kdirlister.cpp:259
#13 0x00007f26dd3779e5 in KDirLister::openUrl (this=0x8eb5d0, _url=..., _flags=<value optimized out>) at /share/src/kde/KDE/kdelibs/kio/kio/kdirlister.cpp:1963
#14 0x00007f26dd383fe0 in KDirModel::fetchMore (this=0x8eaf80, parent=<value optimized out>) at /share/src/kde/KDE/kdelibs/kio/kio/kdirmodel.cpp:1092
#15 0x00000000004847da in ProjectModel::fetchMore (this=0x8eaf50, parent=<value optimized out>) at /share/src/kde/KDE/kdesdk/lokalize/src/project/projectmodel.cpp:589
#16 0x0000000000483bc4 in ProjectModel::finishMetadataUpdate (this=0x8eaf50, _job=<value optimized out>) at /share/src/kde/KDE/kdesdk/lokalize/src/project/projectmodel.cpp:1046
#17 0x00000000004857a4 in ProjectModel::qt_metacall (this=0x8eaf50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ea15c30)
    at /share/src/build/kde/KDE/kdesdk/lokalize/src/projectmodel.moc:104
#18 0x00007f26d99d1346 in QMetaObject::activate (sender=0x2b66920, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#19 0x00007f26dc71b282 in ThreadWeaver::Job::done (this=0x536b, _t1=0x2b66920) at /share/src/build/kde/KDE/kdelibs/threadweaver/Weaver/Job.moc:97
#20 0x00007f26dc71b424 in ThreadWeaver::Job::qt_metacall (this=0x2b66920, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2a5fe40)
    at /share/src/build/kde/KDE/kdelibs/threadweaver/Weaver/Job.moc:77
#21 0x00007f26d99cde89 in QObject::event (this=0x2b66920, e=0x1be5040) at kernel/qobject.cpp:1248
#22 0x00007f26d9ece32c in QApplicationPrivate::notify_helper (this=0x7a4cb0, receiver=0x2b66920, e=0x1be5040) at kernel/qapplication.cpp:4302
#23 0x00007f26d9ed480b in QApplication::notify (this=0x7fff1ea16700, receiver=0x2b66920, e=0x1be5040) at kernel/qapplication.cpp:4185
#24 0x00007f26dcb5cd91 in KApplication::notify (this=0x7fff1ea16700, receiver=0x2b66920, event=0x1be5040) at /share/src/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:309
#25 0x00007f26d99be15c in QCoreApplication::notifyInternal (this=0x7fff1ea16700, receiver=0x2b66920, event=0x1be5040) at kernel/qcoreapplication.cpp:726
#26 0x00007f26d99c1804 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x7926d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x7926d0) at kernel/qcoreapplication.cpp:1367
#28 0x00007f26d99e7bd3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#30 0x00007f26d50376c2 in g_main_dispatch (context=0x7a7870) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#31 IA__g_main_context_dispatch (context=0x7a7870) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#32 0x00007f26d503b538 in g_main_context_iterate (context=0x7a7870, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#33 0x00007f26d503b6ec in IA__g_main_context_iteration (context=0x7a7870, may_block=1) at /tmp/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#34 0x00007f26d99e7713 in QEventDispatcherGlib::processEvents (this=0x7a4c70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#35 0x00007f26d9f7e14e in QGuiEventDispatcherGlib::processEvents (this=0x536b, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f26d99bca82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f26d99bce5c in QEventLoop::exec (this=0x7fff1ea16630, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f26d99c1aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#39 0x0000000000438d85 in main (argc=<value optimized out>, argv=<value optimized out>) at /share/src/kde/KDE/kdesdk/lokalize/src/main.cpp:118

Possible duplicates by query: bug 214313, bug 202054.

Reported using DrKonqi
Comment 1 Geoffray Levasseur 2010-06-26 18:15:43 UTC
Same problem when using the project creation wizard.

It seems to happen even when none of the project files are opened.
Comment 2 Nick Shaforostoff 2010-06-29 14:03:31 UTC
how did you create / open the project?

can you reproduce the bug running Lokalzie from konsole, and then paste it's output here?
Comment 3 Geoffray Levasseur 2010-06-30 13:35:13 UTC
Here you have the end of the console output. I hope this is enough cause it's huge but doesn't seems to have any other error messages...

(...)
lokalize(28654)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///share/traduc/pology/l10n/sr/spell")
lokalize(28654)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x24edfd0) KIO::Slave(0x23d4300)
lokalize(28654)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///share/traduc/pology/l10n/sr/bin")
lokalize(28654)/kio (KDirListerCache) KDirListerCache::listDir: Entry in cache: KUrl("file:///share/traduc/pology/l10n/sr/spell/wesnoth")
lokalize(28654)/kio (KDirListerCache) KDirListerCache::listDir: Entry in cache: KUrl("file:///share/traduc/pology/l10n/sr/spell/kde")
ASSERT: "lister->d->m_cachedItemsJob == 0" in file /share/src/kde/KDE/kdelibs/kio/kio/kdirlister_p.h, line 471
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = lokalize path = /usr/bin pid = 28654
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/jeff/.kde/socket-debian-ltop/kdeinit4__0
Comment 4 Geoffray Levasseur 2010-06-30 13:38:36 UTC
PS: I was starting Lokalize with the menu (I use Lancelot) but same problem when starting it with Konsole.
Comment 5 Nick Shaforostoff 2011-02-10 01:33:38 UTC
see also 193800.

to be fixed in lokalize of kde 4.7 by switching to qfilesystemmodel
Comment 6 Nick Shaforostoff 2011-02-10 04:36:35 UTC

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