[Bug 272408] New: kdevelop crashes while indexing large project (linux kernel)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] New: kdevelop crashes while indexing large project (linux kernel)

gshapovalov (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408

           Summary: kdevelop crashes while indexing large project (linux
                    kernel)
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-9-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Just browsing source code in two linux kernel source projects. Few .c and .h
files was opened at the moment, background indexing was at ~85%.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
malloc_consolidate (av=0xa0100010) at malloc.c:5178
    in malloc.c
[Current thread is 1 (Thread 0xb34cb710 (LWP 1814))]

Thread 14 (Thread 0xb30b3b70 (LWP 1817)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb6082f76 in __poll (fds=0xb2700468, nfds=3, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb53fc84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb53ec1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb53ec92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb31ec304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb54152df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5e3ae99 in start_thread (arg=0xb30b3b70) at pthread_create.c:304
#8  0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xa2225b70 (LWP 1841)):
#0  0xb5da8d41 in clock_gettime (clock_id=1, tp=0xa2225000) at
../sysdeps/unix/clock_gettime.c:116
#1  0xb6d42dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e0f4f2 in updateCurrentTime (this=0xb2704f14, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb2704f14, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e0dd32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xa22250dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e0ddcd in timerSourcePrepare (source=0xb2704ee0, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb53eafd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb53ebe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb53ec524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e0e577 in QEventDispatcherGlib::processEvents (this=0x994eb50,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6de0289 in QEventLoop::processEvents (this=0xa2225290, flags=...) at
kernel/qeventloop.cpp:149
#12 0xb6de0522 in QEventLoop::exec (this=0xa2225290, flags=...) at
kernel/qeventloop.cpp:201
#13 0xb6cea2a0 in QThread::exec (this=0x9968cd0) at thread/qthread.cpp:492
#14 0xb6dc1fdb in QInotifyFileSystemWatcherEngine::run (this=0x9968cd0) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6cecda2 in QThreadPrivate::start (arg=0x9968cd0) at
thread/qthread_unix.cpp:320
#16 0xb5e3ae99 in start_thread (arg=0xa2225b70) at pthread_create.c:304
#17 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0x9d1ffb70 (LWP 1853)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xb4f9f7f0, mutex=0xb4f9f7d8) at
forward.c:139
#3  0xb49e9b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb5e3ae99 in start_thread (arg=0x9d1ffb70) at pthread_create.c:304
#5  0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0x9adeeb70 (LWP 1938)):
#0  0xb5da8d41 in clock_gettime (clock_id=1, tp=0x9adee030) at
../sysdeps/unix/clock_gettime.c:116
#1  0xb6d42dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e0f4f2 in updateCurrentTime (this=0x9b2e0fec, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x9b2e0fec, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e0dd32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0x9adee10c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e0ddcd in timerSourcePrepare (source=0x9b2e0fb8, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb53eafd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb53ebe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb53ec524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e0e577 in QEventDispatcherGlib::processEvents (this=0xb424b00,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6de0289 in QEventLoop::processEvents (this=0x9adee2c0, flags=...) at
kernel/qeventloop.cpp:149
#12 0xb6de0522 in QEventLoop::exec (this=0x9adee2c0, flags=...) at
kernel/qeventloop.cpp:201
#13 0xb6cea2a0 in QThread::exec (this=0xb526100) at thread/qthread.cpp:492
#14 0xb59bd608 in KDevelop::CompletionWorkerThread::run (this=0xb526100) at
../../language/codecompletion/codecompletionmodel.cpp:80
#15 0xb6cecda2 in QThreadPrivate::start (arg=0xb526100) at
thread/qthread_unix.cpp:320
#16 0xb5e3ae99 in start_thread (arg=0x9adeeb70) at pthread_create.c:304
#17 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0x9a5edb70 (LWP 1939)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb6082f76 in __poll (fds=0xb407528, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb53fc84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb53ec1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb53ec524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6e0e577 in QEventDispatcherGlib::processEvents (this=0xb4165a8,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb6de0289 in QEventLoop::processEvents (this=0x9a5ed2c0, flags=...) at
kernel/qeventloop.cpp:149
#7  0xb6de0522 in QEventLoop::exec (this=0x9a5ed2c0, flags=...) at
kernel/qeventloop.cpp:201
#8  0xb6cea2a0 in QThread::exec (this=0xb5209c8) at thread/qthread.cpp:492
#9  0xb59bd608 in KDevelop::CompletionWorkerThread::run (this=0xb5209c8) at
../../language/codecompletion/codecompletionmodel.cpp:80
#10 0xb6cecda2 in QThreadPrivate::start (arg=0xb5209c8) at
thread/qthread_unix.cpp:320
#11 0xb5e3ae99 in start_thread (arg=0x9a5edb70) at pthread_create.c:304
#12 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0x90cafb70 (LWP 1944)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0x9829a28, mutex=0x9829a10) at
forward.c:139
#3  0xb6ced467 in wait (this=0x9829730, mutex=0x981c6c8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9829730, mutex=0x981c6c8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0xb4fb27e0 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9829718,
th=0xb3c7938) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fb547c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0x981a490, th=0xb3c7938) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fb242b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0x9829718, th=0xb3c7938) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fb556a in ThreadWeaver::WorkingHardState::applyForWork (this=0x981a490,
th=0xb3c7938) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9829718,
th=0xb3c7938, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0x981a490,
th=0xb3c7938) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9829718,
th=0xb3c7938, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0x981a490,
th=0xb3c7938) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9829718,
th=0xb3c7938, previous=0x60b60620) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4fb3f9e in ThreadWeaver::ThreadRunHelper::run (this=0x90caf2f4,
parent=0x9829718, th=0xb3c7938) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb4fb405b in ThreadWeaver::Thread::run (this=0xb3c7938) at
../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb6cecda2 in QThreadPrivate::start (arg=0xb3c7938) at
thread/qthread_unix.cpp:320
#17 0xb5e3ae99 in start_thread (arg=0x90cafb70) at pthread_create.c:304
#18 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0x904aeb70 (LWP 1945)):
[KCrash Handler]
#7  0xb76f0424 in __kernel_vsyscall ()
#8  0xb5febe71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb5fef34e in abort () at abort.c:92
#10 0xb61d00b5 in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#11 0xb61cdfa5 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#12 0xb61cdfe2 in std::terminate() () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#13 0xb61ce14e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#14 0xb6ce1f85 in qBadAlloc () at global/qglobal.cpp:2019
#15 0xb6cef2aa in QByteArray::resize (this=0x904ad020, size=2147483647) at
tools/qbytearray.cpp:1387
#16 0xb6d77a59 in QIODevice::read (this=0x8c978548, maxSize=<value optimized
out>) at io/qiodevice.cpp:953
#17 0xb595c913 in KDevelop::ItemRepository<KDevelop::PersistentSymbolTableItem,
KDevelop::PersistentSymbolTableRequestItem, true, false, 0u,
1048576u>::initializeBucket (this=0x8c5ca2c8, bucketNumber=291) at
../../language/duchain/repositories/itemrepository.h:2534
#18 0xb595cc2c in KDevelop::ItemRepository<KDevelop::PersistentSymbolTableItem,
KDevelop::PersistentSymbolTableRequestItem, true, false, 0u,
1048576u>::findIndex (this=0x8c5ca2c8, request=...) at
../../language/duchain/repositories/itemrepository.h:1611
#19 0xb5959209 in KDevelop::PersistentSymbolTable::addDeclaration
(this=0xb5a0f2f0, id=..., declaration=...) at
../../language/duchain/persistentsymboltable.cpp:175
#20 0xb58e15d4 in KDevelop::Declaration::setInSymbolTable (this=0x86b85158,
inSymbolTable=true) at ../../language/duchain/declaration.cpp:659
#21 0xb58e03ef in KDevelop::Declaration::setIdentifier (this=0x86b85158,
identifier=...) at ../../language/duchain/declaration.cpp:299
#22 0x9ae616d4 in KDevelop::FunctionDefinition*
DeclarationBuilder::openDeclarationReal<KDevelop::FunctionDefinition>(NameAST*,
AST*, KDevelop::Identifier const&, bool, bool, KDevelop::RangeInRevision
const*) () from /usr/lib/libkdev4cppduchain.so
#23 0x9ae6710c in KDevelop::FunctionDefinition*
DeclarationBuilder::openDeclaration<KDevelop::FunctionDefinition>(NameAST*,
AST*, KDevelop::Identifier const&, bool, bool) () from
/usr/lib/libkdev4cppduchain.so
#24 0x9ae51a5e in DeclarationBuilder::openFunctionDeclaration(NameAST*, AST*)
() from /usr/lib/libkdev4cppduchain.so
#25 0x9ae529e0 in DeclarationBuilder::visitDeclarator(DeclaratorAST*) () from
/usr/lib/libkdev4cppduchain.so
#26 0x9ae3d7d6 in ContextBuilder::visitInitDeclarator(InitDeclaratorAST*) ()
from /usr/lib/libkdev4cppduchain.so
#27 0x9ae4d19c in DeclarationBuilder::visitInitDeclarator(InitDeclaratorAST*)
() from /usr/lib/libkdev4cppduchain.so
#28 0x9be1dd83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#29 0x9ae39e3b in
ContextBuilder::visitFunctionDeclaration(FunctionDefinitionAST*) () from
/usr/lib/libkdev4cppduchain.so
#30 0x9ae7a572 in TypeBuilder::visitFunctionDeclaration(FunctionDefinitionAST*)
() from /usr/lib/libkdev4cppduchain.so
#31 0x9ae4de8c in
DeclarationBuilder::visitFunctionDeclaration(FunctionDefinitionAST*) () from
/usr/lib/libkdev4cppduchain.so
#32 0x9ae3db74 in
ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from
/usr/lib/libkdev4cppduchain.so
#33 0x9be1dd83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#34 0x9be1c8c9 in ?? () from /usr/lib/libkdev4cppparser.so
#35 0x9be1dd83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#36 0x9ae39dcc in ContextBuilder::startVisiting(AST*) () from
/usr/lib/libkdev4cppduchain.so
#37 0x9ae3f811 in ?? () from /usr/lib/libkdev4cppduchain.so
#38 0x9ae3e9ef in
ContextBuilder::buildContexts(KSharedPtr<Cpp::EnvironmentFile>, AST*,
QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from
/usr/lib/libkdev4cppduchain.so
#39 0x9ae4be2c in
DeclarationBuilder::buildDeclarations(KSharedPtr<Cpp::EnvironmentFile>, AST*,
QList<LineContextPair>*, KDevelop::ReferencedTopDUContext const&, bool) () from
/usr/lib/libkdev4cppduchain.so
#40 0x9be76353 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#41 0xb4fb47f4 in ThreadWeaver::JobRunHelper::runTheJob (this=0x904ae23c,
th=0xb3c54b8, job=0x60b53c50) at ../../../threadweaver/Weaver/Job.cpp:106
#42 0xb4fb4941 in ThreadWeaver::Job::execute (this=0x60b53c50, th=0xb3c54b8) at
../../../threadweaver/Weaver/Job.cpp:135
#43 0xb4fb61c3 in ThreadWeaver::JobCollectionJobRunner::execute
(this=0x60b60620, t=0xb3c54b8) at
../../../threadweaver/Weaver/JobCollection.cpp:82
#44 0xb4fb3f6a in ThreadWeaver::ThreadRunHelper::run (this=0x904ae2f4,
parent=0x9829718, th=0xb3c54b8) at ../../../threadweaver/Weaver/Thread.cpp:95
#45 0xb4fb405b in ThreadWeaver::Thread::run (this=0xb3c54b8) at
../../../threadweaver/Weaver/Thread.cpp:142
#46 0xb6cecda2 in QThreadPrivate::start (arg=0xb3c54b8) at
thread/qthread_unix.cpp:320
#47 0xb5e3ae99 in start_thread (arg=0x904aeb70) at pthread_create.c:304
#48 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa1a07b70 (LWP 7934)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xae7322b0, mutex=0xae732298) at
forward.c:139
#3  0xae619817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xae72d1c0)
at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xae619851 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0xae72d1c0) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb5e3ae99 in start_thread (arg=0xa1a07b70) at pthread_create.c:304
#6  0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb1ce4b70 (LWP 8256)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xa1db028, mutex=0xa1db010) at
forward.c:139
#3  0xb6ced467 in wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0xb4fb27e0 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xad819c8,
th=0xd84d068) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fb547c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xe95ee40, th=0xd84d068) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fb242b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xad819c8, th=0xd84d068) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fb556a in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xd84d068) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xd84d068, previous=0x668eebb8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fb3f9e in ThreadWeaver::ThreadRunHelper::run (this=0xb1ce42f4,
parent=0xad819c8, th=0xd84d068) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4fb405b in ThreadWeaver::Thread::run (this=0xd84d068) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6cecda2 in QThreadPrivate::start (arg=0xd84d068) at
thread/qthread_unix.cpp:320
#13 0xb5e3ae99 in start_thread (arg=0xb1ce4b70) at pthread_create.c:304
#14 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0x630ffb70 (LWP 8257)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xa1db028, mutex=0xa1db010) at
forward.c:139
#3  0xb6ced467 in wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0xb4fb27e0 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xad819c8,
th=0xf562e98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fb547c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xe95ee40, th=0xf562e98) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fb242b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xad819c8, th=0xf562e98) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fb556a in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xf562e98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xf562e98, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xf562e98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xf562e98, previous=0x875eb850) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4fb3f9e in ThreadWeaver::ThreadRunHelper::run (this=0x630ff2f4,
parent=0xad819c8, th=0xf562e98) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb4fb405b in ThreadWeaver::Thread::run (this=0xf562e98) at
../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6cecda2 in QThreadPrivate::start (arg=0xf562e98) at
thread/qthread_unix.cpp:320
#15 0xb5e3ae99 in start_thread (arg=0x630ffb70) at pthread_create.c:304
#16 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0x604ffb70 (LWP 10609)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xa1db028, mutex=0xa1db010) at
forward.c:139
#3  0xb6ced467 in wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0xb4fb27e0 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xad819c8,
th=0xe56a338) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fb547c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xe95ee40, th=0xe56a338) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fb242b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xad819c8, th=0xe56a338) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fb556a in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xe56a338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xe56a338, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xe56a338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xe56a338, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xe56a338) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xe56a338, previous=0x13543c80) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4fb3f9e in ThreadWeaver::ThreadRunHelper::run (this=0x604ff2f4,
parent=0xad819c8, th=0xe56a338) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb4fb405b in ThreadWeaver::Thread::run (this=0xe56a338) at
../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb6cecda2 in QThreadPrivate::start (arg=0xe56a338) at
thread/qthread_unix.cpp:320
#17 0xb5e3ae99 in start_thread (arg=0x604ffb70) at pthread_create.c:304
#18 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0x5fcfeb70 (LWP 10610)):
#0  0xb76f0424 in __kernel_vsyscall ()
#1  0xb5e3f48c in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb609f3fd in __pthread_cond_wait (cond=0xa1db028, mutex=0xa1db010) at
forward.c:139
#3  0xb6ced467 in wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xad819e0, mutex=0xe507cd8, time=4294967295) at
thread/qwaitcondition_unix.cpp:160
#5  0xb4fb27e0 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xad819c8,
th=0xb0255b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4fb547c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xe95ee40, th=0xb0255b0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4fb242b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xad819c8, th=0xb0255b0) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4fb556a in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xb0255b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xb0255b0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xb0255b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xb0255b0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xb0255b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xb0255b0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xb0255b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xb0255b0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0xb4fb5589 in ThreadWeaver::WorkingHardState::applyForWork (this=0xe95ee40,
th=0xb0255b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#17 0xb4fb2373 in ThreadWeaver::WeaverImpl::applyForWork (this=0xad819c8,
th=0xb0255b0, previous=0x87b787f8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#18 0xb4fb3f9e in ThreadWeaver::ThreadRunHelper::run (this=0x5fcfe2f4,
parent=0xad819c8, th=0xb0255b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#19 0xb4fb405b in ThreadWeaver::Thread::run (this=0xb0255b0) at
../../../threadweaver/Weaver/Thread.cpp:142
#20 0xb6cecda2 in QThreadPrivate::start (arg=0xb0255b0) at
thread/qthread_unix.cpp:320
#21 0xb5e3ae99 in start_thread (arg=0x5fcfeb70) at pthread_create.c:304
#22 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x690ffb70 (LWP 12082)):
#0  0xb5da8d41 in clock_gettime (clock_id=1, tp=0x690ff000) at
../sysdeps/unix/clock_gettime.c:116
#1  0xb6d42dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6e0f4f2 in updateCurrentTime (this=0xb3ffc7c, tm=...) at
kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb3ffc7c, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0xb6e0dd32 in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0x690ff0dc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6e0ddcd in timerSourcePrepare (source=0xb3ffc48, timeout=<value
optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb53eafd4 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb53ebe63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb53ec524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6e0e577 in QEventDispatcherGlib::processEvents (this=0xb09e408,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb6de0289 in QEventLoop::processEvents (this=0x690ff290, flags=...) at
kernel/qeventloop.cpp:149
#12 0xb6de0522 in QEventLoop::exec (this=0x690ff290, flags=...) at
kernel/qeventloop.cpp:201
#13 0xb6cea2a0 in QThread::exec (this=0x8697d258) at thread/qthread.cpp:492
#14 0xb6dc1fdb in QInotifyFileSystemWatcherEngine::run (this=0x8697d258) at
io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6cecda2 in QThreadPrivate::start (arg=0x8697d258) at
thread/qthread_unix.cpp:320
#16 0xb5e3ae99 in start_thread (arg=0x690ffb70) at pthread_create.c:304
#17 0xb609173e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb34cb710 (LWP 1814)):
#0  malloc_consolidate (av=0xa0100010) at malloc.c:5178
#1  0xb602e21a in _int_free (av=<value optimized out>, p=0x64a00010) at
malloc.c:5034
#2  0xb603141d in __libc_free (mem=0x64a10020) at malloc.c:3738
#3  0xb61cc4d1 in operator delete(void*) () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#4  0xb61cc52d in operator delete[](void*) () from
/usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0xb6d0ab82 in QHashData::free_helper (this=0x9b476730,
node_delete=0xb589ed30 <QHash<unsigned int,
KSharedPtr<KDevelop::ParsingEnvironmentFile> >::deleteNode2(QHashData::Node*)>)
at tools/qhash.cpp:277
#6  0xb58a6cdf in freeData (this=0x98fa538, __in_chrg=<value optimized out>) at
/usr/include/qt4/QtCore/qhash.h:568
#7  ~QHash (this=0x98fa538, __in_chrg=<value optimized out>) at
/usr/include/qt4/QtCore/qhash.h:284
#8  KDevelop::DUChainPrivate::~DUChainPrivate (this=0x98fa538, __in_chrg=<value
optimized out>) at ../../language/duchain/duchain.cpp:358
#9  0xb589bc5a in destroy () at ../../language/duchain/duchain.cpp:1102
#10 0xb588d89b in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0xb5a0ea68,
__in_chrg=<value optimized out>) at /usr/include/kglobal.h:62
#11 0xb5ff0a6f in __run_exit_handlers (status=1, listp=0xb611e324,
run_list_atexit=true) at exit.c:78
#12 0xb5ff0acf in exit (status=1) at exit.c:100
#13 0xb22eca90 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#14 0xb717511a in KApplication::xioErrhandler (this=0xbfe2bef8, dpy=0x9546a50)
at ../../kdeui/kernel/kapplication.cpp:419
#15 0xb7175156 in kde_xio_errhandler (dpy=0x9546a50) at
../../kdeui/kernel/kapplication.cpp:126
#16 0xb5636166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#17 0xb563381f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#18 0xb56244eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#19 0xb63ee555 in x11EventSourceCheck (s=0x9537000) at
kernel/qguieventdispatcher_glib.cpp:85
#20 0xb53eb71d in g_main_context_check () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#21 0xb53ec03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0xb53ec524 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb6e0e577 in QEventDispatcherGlib::processEvents (this=0x94f5a90,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#24 0xb63ee775 in QGuiEventDispatcherGlib::processEvents (this=0x94f5a90,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0xb6de0289 in QEventLoop::processEvents (this=0xbfe2bc94, flags=...) at
kernel/qeventloop.cpp:149
#26 0xb6de0522 in QEventLoop::exec (this=0xbfe2bc94, flags=...) at
kernel/qeventloop.cpp:201
#27 0xb6de4ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#28 0xb63388e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#29 0x08053005 in _start ()

Possible duplicates by query: bug 262289, bug 253253, bug 246985, bug 237124.

Reported using DrKonqi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] kdevelop crashes while indexing large project (linux kernel)

bangerth (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408


Wolfgang Bangerth <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Wolfgang Bangerth <bangerth dealii org>  2011-05-06 06:16:11 ---
You ran out of memory in thread #8, throwing an exception of kind qBadAlloc
because it does a
  QByteArray::resize (this=0x904ad020, size=2147483647)
Note: 2147483647 == std::numeric_limits<int>::max()

W.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] kdevelop crashes while indexing large project (linux kernel)

Christoph Feck
In reply to this post by gshapovalov (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408





--- Comment #2 from Christoph Feck <christoph maxiom de>  2011-05-14 22:13:53 ---
It is very unlikely that KDevelop intended to allocate 2 gigabytes of
contingous memory. It is more likely a bug while computing the memory size.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] kdevelop crashes while indexing large project (linux kernel)

Milian Wolff
In reply to this post by gshapovalov (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408





--- Comment #3 from Milian Wolff <mail milianw de>  2011-08-28 13:21:43 ---
can someone try to reproduce this?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] kdevelop crashes while indexing large project (linux kernel)

Aleix Pol Gonzalez-2
In reply to this post by gshapovalov (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408


Aleix Pol <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
          Component|general                     |Language Support: CPP




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Reply | Threaded
Open this post in threaded view
|

[Bug 272408] kdevelop crashes while indexing large project (linux kernel)

Bugzilla from kevin@kfunk.org
In reply to this post by gshapovalov (Bugzilla)
https://bugs.kde.org/show_bug.cgi?id=272408

Kevin Funk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #4 from Kevin Funk <[hidden email]> ---
Reproduced:
kdevelop(22383)/kdevelop (cpp support) CPPInternalParseJob::run: ===-- PARSING
--===>  "/home/krf/devel/src/linux/arch/arm/mach-omap1/board-sx1.c"
kdevelop(22383)/kdevelop (cpp support) CPPInternalParseJob::run: building
duchain for "/home/krf/devel/src/linux/arch/arm/mach-omap1/board-sx1.c"
kdevelop(22383)/kdevelop (cpp support) ContextBuilder::buildContexts:
ContextBuilder::buildContexts: compiling
ASSERT: "bucketForIndex(bucketNumber)->noNextBuckets()" in file
/home/krf/devel/src/kdevplatform/language/duchain/repositories/itemrepository.h,
line 2565

Out of memory, I guess.

--
You are receiving this mail because:
You are watching all bug changes.