Bug 265933

Summary: Crash when reading the project folders
Product: [Applications] lokalize Reporter: Frederik Schwarzer <schwarzer>
Component: generalAssignee: Nick Shaforostoff <shafff>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frederik Schwarzer 2011-02-09 21:46:59 UTC
Application: lokalize (1.2)
KDE Platform Version: 4.6.00 (4.6.0) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-fs i686
Distribution (Platform): Debian unstable

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

I created a new project (which works now with newest kdelibs from 4.6 branch :)) and after the creation, the project is loaded. While building the project folder hierarchy in the project overview, Lokalize crashed.

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

Thread 6 (Thread 0xb2381b70 (LWP 18305)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5868f7f in __pthread_cond_wait (cond=0xa1e02e8, mutex=0xa1e02d0) at pthread_cond_wait.c:153
#2  0xb58ea3a7 in wait (this=0xa019148, mutex=0xa019144, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa019148, mutex=0xa019144, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb622ab82 in QFileInfoGatherer::run (this=0xa01913c) at dialogs/qfileinfogatherer.cpp:214
#5  0xb58e97e9 in QThreadPrivate::start (arg=0xa01913c) at thread/qthread_unix.cpp:285
#6  0xb5864955 in start_thread (arg=0xb2381b70) at pthread_create.c:300
#7  0xb56b4e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb19ffb70 (LWP 18306)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb56ae011 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb5a151c2 in qt_safe_select(int, struct {...} *, struct {...} *, struct {...} *, const timeval *) (nfds=16, fdread=0xa3345a0, fdwrite=0xa3347b4, fdexcept=0xa3349c8, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#3  0xb5a19c69 in QEventDispatcherUNIX::select(int, struct {...} *, struct {...} *, struct {...} *, timeval *) (this=0xa14a5c8, nfds=16, readfds=0xa3345a0, writefds=0xa3347b4, exceptfds=0xa3349c8, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:631
#4  0xb5a1a467 in QEventDispatcherUNIXPrivate::doSelect (this=0xa3344a8, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:219
#5  0xb5a1b135 in QEventDispatcherUNIX::processEvents (this=0xa14a5c8, flags=...) at kernel/qeventdispatcher_unix.cpp:918
#6  0xb59e8229 in QEventLoop::processEvents (this=0xb19ff290, flags=) at kernel/qeventloop.cpp:149
#7  0xb59e86aa in QEventLoop::exec (this=0xb19ff290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb58e652e in QThread::exec (this=0x9f5d940) at thread/qthread.cpp:490
#9  0xb59c752b in QInotifyFileSystemWatcherEngine::run (this=0x9f5d940) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb58e97e9 in QThreadPrivate::start (arg=0x9f5d940) at thread/qthread_unix.cpp:285
#11 0xb5864955 in start_thread (arg=0xb19ffb70) at pthread_create.c:300
#12 0xb56b4e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb11feb70 (LWP 18307)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5868f7f in __pthread_cond_wait (cond=0x9f15ba8, mutex=0x9f15b90) at pthread_cond_wait.c:153
#2  0xb58ea3a7 in wait (this=0x9f15ab0, mutex=0x9f15210, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9f15ab0, mutex=0x9f15210, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6ff584a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#5  0xb6ff978a in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#6  0xb6ff57c9 in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#7  0xb6ff972e in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /home/fs/usr/lib/libthreadweaver.so.4
#8  0xb6ff57a2 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /home/fs/usr/lib/libthreadweaver.so.4
#9  0xb6ff7321 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#10 0xb6ff75db in ThreadWeaver::Thread::run() () from /home/fs/usr/lib/libthreadweaver.so.4
#11 0xb58e97e9 in QThreadPrivate::start (arg=0xb1a04cc8) at thread/qthread_unix.cpp:285
#12 0xb5864955 in start_thread (arg=0xb11feb70) at pthread_create.c:300
#13 0xb56b4e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb05ffb70 (LWP 18309)):
#0  0xb4eb3e16 in clock_gettime (clock_id=-1259634700, tp=0xb05ff030) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb5944528 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5a1a035 in QTimerInfoList::updateCurrentTime (this=0xa22ef70) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb5a1a33e in QEventDispatcherUNIXPrivate::doSelect (this=0xa22e8d0, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:182
#5  0xb5a1b135 in QEventDispatcherUNIX::processEvents (this=0x9fc7410, flags=...) at kernel/qeventdispatcher_unix.cpp:918
#6  0xb59e8229 in QEventLoop::processEvents (this=0xb05ff290, flags=) at kernel/qeventloop.cpp:149
#7  0xb59e86aa in QEventLoop::exec (this=0xb05ff290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb58e652e in QThread::exec (this=0xa1c10d0) at thread/qthread.cpp:490
#9  0xb59c752b in QInotifyFileSystemWatcherEngine::run (this=0xa1c10d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb58e97e9 in QThreadPrivate::start (arg=0xa1c10d0) at thread/qthread_unix.cpp:285
#11 0xb5864955 in start_thread (arg=0xb05ffb70) at pthread_create.c:300
#12 0xb56b4e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xafcc1b70 (LWP 18319)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5868f7f in __pthread_cond_wait (cond=0x9f101f8, mutex=0x9f101e0) at pthread_cond_wait.c:153
#2  0xb58ea3a7 in wait (this=0x9f100e0, mutex=0x9f10380, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9f100e0, mutex=0x9f10380, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb6ff584a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#5  0xb6ff978a in ThreadWeaver::WorkingHardState::waitForAvailableJob(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#6  0xb6ff57c9 in ThreadWeaver::WeaverImpl::waitForAvailableJob(ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#7  0xb6ff972e in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /home/fs/usr/lib/libthreadweaver.so.4
#8  0xb6ff57a2 in ThreadWeaver::WeaverImpl::applyForWork(ThreadWeaver::Thread*, ThreadWeaver::Job*) () from /home/fs/usr/lib/libthreadweaver.so.4
#9  0xb6ff7321 in ThreadWeaver::ThreadRunHelper::run(ThreadWeaver::WeaverImpl*, ThreadWeaver::Thread*) () from /home/fs/usr/lib/libthreadweaver.so.4
#10 0xb6ff75db in ThreadWeaver::Thread::run() () from /home/fs/usr/lib/libthreadweaver.so.4
#11 0xb58e97e9 in QThreadPrivate::start (arg=0xa1e1048) at thread/qthread_unix.cpp:285
#12 0xb5864955 in start_thread (arg=0xafcc1b70) at pthread_create.c:300
#13 0xb56b4e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c92710 (LWP 18304)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5613751 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5616b82 in abort () at abort.c:92
#10 0xb58e0174 in qt_message_output (msgType=QtFatalMsg, buf=0xae77038 "ASSERT: \"lister->d->m_cachedItemsJob == 0\" in file /home/fs/kdesrc/kdelibs/kio/kio/kdirlister_p.h, line 472") at global/qglobal.cpp:2282
#11 0xb58e032a in qt_message (msgType=<value optimized out>, msg=0xb5a55fbc "ASSERT: \"%s\" in file %s, line %d", ap=0xbf86d464 "\214\003k\267\\\003k\267\330\001") at global/qglobal.cpp:2328
#12 0xb58e0439 in qFatal (msg=0xb5a55fbc "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2511
#13 0xb58e04c5 in qt_assert (assertion=0xb76b038c "lister->d->m_cachedItemsJob == 0", file=0xb76b035c "/home/fs/kdesrc/kdelibs/kio/kio/kdirlister_p.h", line=472) at global/qglobal.cpp:2027
#14 0xb758901a in KDirLister::Private::CachedItemsJob::CachedItemsJob(KDirLister*, KFileItemList const&, KFileItem const&, KUrl const&, bool) () from /home/fs/usr/lib/libkio.so.5
#15 0xb757907d in KDirListerCache::listDir(KDirLister*, KUrl const&, bool, bool) () from /home/fs/usr/lib/libkio.so.5
#16 0xb75850e8 in KDirLister::openUrl(KUrl const&, QFlags<KDirLister::OpenUrlFlag>) () from /home/fs/usr/lib/libkio.so.5
#17 0xb75976ea in KDirModel::fetchMore(QModelIndex const&) () from /home/fs/usr/lib/libkio.so.5
#18 0x080c533c in ProjectModel::fetchMore (this=0x9f0d740, parent=...) at /home/fs/kdesrc/kdesdk/lokalize/src/project/projectmodel.cpp:589
#19 0x080c8165 in ProjectModel::finishMetadataUpdate (this=0x9f0d740, _job=0xae6b878) at /home/fs/kdesrc/kdesdk/lokalize/src/project/projectmodel.cpp:1046
#20 0x080caacc in ProjectModel::qt_metacall (this=0x9f0d740, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf86d8e8) at /home/fs/kdesrc/build/kdesdk/lokalize/src/projectmodel.moc:104
#21 0xb59ef44a in QMetaObject::metacall (object=0x9f0d740, cl=18304, idx=32, argv=0xbf86d8e8) at kernel/qmetaobject.cpp:237
#22 0xb5a02035 in QMetaObject::activate (sender=0xae6b878, m=0x8156094, local_signal_index=1, argv=0xbf86d8e8) at kernel/qobject.cpp:3272
#23 0xb6ff8676 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /home/fs/usr/lib/libthreadweaver.so.4
#24 0xb6ff85b3 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /home/fs/usr/lib/libthreadweaver.so.4
#25 0xb59ef44a in QMetaObject::metacall (object=0xae6b878, cl=18304, idx=5, argv=0xaf024740) at kernel/qmetaobject.cpp:237
#26 0xb59fa796 in QMetaCallEvent::placeMetaCall (this=0xae428b50, object=0xae6b878) at kernel/qobject.cpp:534
#27 0xb59fb8c2 in QObject::event (this=0xae6b878, e=0x6) at kernel/qobject.cpp:1211
#28 0xb5c7fc6c in QApplicationPrivate::notify_helper (this=0x9e37d30, receiver=0xae6b878, e=0xae428b50) at kernel/qapplication.cpp:4445
#29 0xb5c856ce in QApplication::notify (this=0xbf86e0e0, receiver=0xae6b878, e=0xae428b50) at kernel/qapplication.cpp:3845
#30 0xb71fda12 in KApplication::notify(QObject*, QEvent*) () from /home/fs/usr/lib/libkdeui.so.5
#31 0xb59e977b in QCoreApplication::notifyInternal (this=0xbf86e0e0, receiver=0xae6b878, event=0xae428b50) at kernel/qcoreapplication.cpp:732
#32 0xb59ec97c in sendEvent (receiver=0x0, event_type=0, data=0x9e228a8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9e228a8) at kernel/qcoreapplication.cpp:1373
#34 0xb59ecadd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#35 0xb5d424c1 in sendPostedEvents (this=0x9e22358, flags=...) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 QEventDispatcherX11::processEvents (this=0x9e22358, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#37 0xb59e8229 in QEventLoop::processEvents (this=0xbf86e044, flags=) at kernel/qeventloop.cpp:149
#38 0xb59e86aa in QEventLoop::exec (this=0xbf86e044, flags=...) at kernel/qeventloop.cpp:201
#39 0xb59ecb9f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0xb5c7ec27 in QApplication::exec () at kernel/qapplication.cpp:3719
#41 0x08075619 in main (argc=) at /home/fs/kdesrc/kdesdk/lokalize/src/main.cpp:119

Possible duplicates by query: bug 247058.

Reported using DrKonqi
Comment 1 Nick Shaforostoff 2011-02-10 04:35:13 UTC
it's time i port away from kdirmodel to the new shiny qfilesystemmodel...

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