[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 200182] New: crash when closing kdevelop while indexing
From:       Armin Berres <trigger () space-based ! de>
Date:       2009-07-14 13:46:50
Message-ID: bug-200182-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=200182

           Summary: crash when closing kdevelop while indexing
           Product: kdevelop
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: trigger@space-based.de


Application that crashed: kdevelop
Version of the application: 3.9.94 (using KDevPlatform 0.9.94)
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

What I was doing when the application crashed:
Closing Kdevelop while it was indexing files was resulting in the attached
backtrace.

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
[Current thread is 0 (LWP 20565)]

Thread 5 (Thread 0x7fc04031b950 (LWP 20566)):
#0  0x0000003f9d4af1d9 in QString::realloc (this=<value optimized out>,
alloc=<value optimized out>) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#1  0x0000003f9d4af7e5 in QString::resize (this=<value optimized out>,
size=<value optimized out>) at tools/qstring.cpp:1002
#2  0x0000003f9d4af92f in replaceArgEscapes (s=<value optimized out>, d=<value
optimized out>, field_width=<value optimized out>, arg=<value optimized out>,
larg=<value optimized out>, fillChar=)
    at tools/qstring.cpp:6127
#3  0x0000003f9d4b7cb1 in QString::arg (this=<value optimized out>, a=<value
optimized out>, fieldWidth=<value optimized out>, base=<value optimized out>,
fillChar=<value optimized out>)
    at tools/qstring.cpp:6488
#4  0x00007fc044e3984c in KDevelop::TopDUContextDynamicData::filePath
(this=0x7fc03b5296d0) at /usr/include/qt4/QtCore/qstring.h:732
#5  0x00007fc044e3bc2a in KDevelop::TopDUContextDynamicData::store
(this=0x7fc03b5296d0) at ../../language/duchain/topducontextdynamicdata.cpp:543
#6  0x00007fc044e0cf97 in KDevelop::DUChainPrivate::doMoreCleanup
(this=0x1c531c0, retries=1, needLockRepository=true) at
../../language/duchain/duchain.cpp:701
#7  0x00007fc044e0e054 in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x18e42c0) at ../../language/duchain/duchain.cpp:288
#8  0x0000003f9d46c3f5 in QThreadPrivate::start (arg=<value optimized out>) at
thread/qthread_unix.cpp:188
#9  0x0000003e00e06faa in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x0000003e002ce29d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc0247d6950 (LWP 20683)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x0000003f9d46d3e9 in QWaitCondition::wait (this=<value optimized out>,
mutex=<value optimized out>, time=<value optimized out>) at
thread/qwaitcondition_unix.cpp:87
#2  0x0000003b1980ada4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=<value
optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x0000003b1980d4eb in ThreadWeaver::WorkingHardState::applyForWork
(this=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x0000003b1980d504 in ThreadWeaver::WorkingHardState::applyForWork
(this=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#5  0x0000003b1980d504 in ThreadWeaver::WorkingHardState::applyForWork
(this=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003b1980babf in ThreadWeaver::ThreadRunHelper::run (this=<value
optimized out>, parent=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x0000003b1980bef9 in ThreadWeaver::Thread::run (this=<value optimized
out>) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x0000003f9d46c3f5 in QThreadPrivate::start (arg=<value optimized out>) at
thread/qthread_unix.cpp:188
#9  0x0000003e00e06faa in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x0000003e002ce29d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc023fd5950 (LWP 20684)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x0000003f9d46d3e9 in QWaitCondition::wait (this=<value optimized out>,
mutex=<value optimized out>, time=<value optimized out>) at
thread/qwaitcondition_unix.cpp:87
#2  0x0000003b1980ada4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=<value
optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x0000003b1980d4eb in ThreadWeaver::WorkingHardState::applyForWork
(this=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x0000003b1980babf in ThreadWeaver::ThreadRunHelper::run (this=<value
optimized out>, parent=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/Thread.cpp:87
#5  0x0000003b1980bef9 in ThreadWeaver::Thread::run (this=<value optimized
out>) at ../../../threadweaver/Weaver/Thread.cpp:142
#6  0x0000003f9d46c3f5 in QThreadPrivate::start (arg=<value optimized out>) at
thread/qthread_unix.cpp:188
#7  0x0000003e00e06faa in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#8  0x0000003e002ce29d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc0237d4950 (LWP 20685)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x0000003f9d46d3e9 in QWaitCondition::wait (this=<value optimized out>,
mutex=<value optimized out>, time=<value optimized out>) at
thread/qwaitcondition_unix.cpp:87
#2  0x0000003b1980ada4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=<value
optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WeaverImpl.cpp:365
#3  0x0000003b1980d4eb in ThreadWeaver::WorkingHardState::applyForWork
(this=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#4  0x0000003b1980babf in ThreadWeaver::ThreadRunHelper::run (this=<value
optimized out>, parent=<value optimized out>, th=<value optimized out>) at
../../../threadweaver/Weaver/Thread.cpp:87
#5  0x0000003b1980bef9 in ThreadWeaver::Thread::run (this=<value optimized
out>) at ../../../threadweaver/Weaver/Thread.cpp:142
#6  0x0000003f9d46c3f5 in QThreadPrivate::start (arg=<value optimized out>) at
thread/qthread_unix.cpp:188
#7  0x0000003e00e06faa in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#8  0x0000003e002ce29d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc044496760 (LWP 20565)):
[KCrash Handler]
#5  0x0000003e00232065 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x0000003e00235153 in *__GI_abort () at abort.c:88
#7  0x000000328a2c7eb5 in __gnu_cxx::__verbose_terminate_handler () from
/usr/lib/libstdc++.so.6
#8  0x000000328a2c62a6 in ?? () from /usr/lib/libstdc++.so.6
#9  0x000000328a2c62d3 in std::terminate () from /usr/lib/libstdc++.so.6
#10 0x000000328a2c6bbf in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#11 0x00007fc044de0afd in KDevelop::BackgroundParserPrivate::createParseJob
(this=0x1ae0430, url=@0x6eb5700,
features=KDevelop::TopDUContext::VisibleDeclarationsAndContexts,
notifyWhenReady=
        {{p = {static shared_null = {ref = {_q_value = 34340}, alloc = 0, begin
= 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7ffff588f7f0}, d =
0x7ffff588f7f0}})
    at ../../language/backgroundparser/backgroundparser.cpp:201
#12 0x00007fc044de2b61 in
KDevelop::BackgroundParserPrivate::parseDocumentsInternal (this=0x1ae0430) at
../../language/backgroundparser/backgroundparser.cpp:160
#13 0x00007fc044dddd5a in KDevelop::BackgroundParser::parseDocuments
(this=0x1a8c9d0) at ../../language/backgroundparser/backgroundparser.cpp:501
#14 0x00007fc044ddee32 in KDevelop::BackgroundParser::qt_metacall
(this=0x1a8c9d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x6dedf70) at ./backgroundparser.moc:167
#15 0x0000003f9d561ee8 in QObject::event (this=<value optimized out>, e=<value
optimized out>) at kernel/qobject.cpp:1110
#16 0x0000003b13fd77ad in QApplicationPrivate::notify_helper (this=<value
optimized out>, receiver=<value optimized out>, e=<value optimized out>) at
kernel/qapplication.cpp:4056
#17 0x0000003b13fdf80a in QApplication::notify (this=<value optimized out>,
receiver=<value optimized out>, e=<value optimized out>) at
kernel/qapplication.cpp:4021
#18 0x0000003b16423a1b in KApplication::notify (this=<value optimized out>,
receiver=<value optimized out>, event=<value optimized out>) at
../../kdeui/kernel/kapplication.cpp:302
#19 0x0000003f9d55249c in QCoreApplication::notifyInternal (this=<value
optimized out>, receiver=<value optimized out>, event=<value optimized out>) at
kernel/qcoreapplication.cpp:610
#20 0x0000003f9d5530e4 in QCoreApplicationPrivate::sendPostedEvents
(receiver=<value optimized out>, event_type=<value optimized out>, data=<value
optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 0x0000003f9d57aef3 in postEventSourceDispatch (s=<value optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0x0000003e02a39f7a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#23 0x0000003e02a3d640 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x0000003e02a3d7dc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#25 0x0000003f9d57ab7f in QEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:327
#26 0x0000003b1406e5ef in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#27 0x0000003f9d550d62 in QEventLoop::processEvents (this=<value optimized
out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#28 0x0000003f9d551134 in QEventLoop::exec (this=<value optimized out>,
flags=<value optimized out>) at kernel/qeventloop.cpp:201
#29 0x0000003f9d5533a4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#30 0x0000000000407fbf in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic