From kdevelop-bugs Wed Oct 31 14:59:31 2012 From: K. T. Dassoff Date: Wed, 31 Oct 2012 14:59:31 +0000 To: kdevelop-bugs Subject: [Bug 309319] New: Crash upon updating declaration signature Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=135169572420132 https://bugs.kde.org/show_bug.cgi?id=309319 Bug ID: 309319 Severity: crash Version: 4.3.1 Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: Crash upon updating declaration signature Classification: Unclassified OS: Linux Reporter: ktdassoff@comcast.net Hardware: Debian testing Status: UNCONFIRMED Component: general Product: kdevelop Application: kdevelop (4.3.1) KDE Platform Version: 4.8.4 (4.8.4) Qt Version: 4.8.2 Operating System: Linux 3.2.0-4-amd64 x86_64 Distribution: Debian GNU/Linux testing (wheezy) -- Information about the crash: - What I was doing when the application crashed: Editing the signature of a method in a C++ source file, and used the "Update declaration signature" command. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f6a1a06f760 (LWP 36920))] Thread 13 (Thread 0x7f69fe440700 (LWP 36923)): #0 0x00007f6a171d887d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f6a17201924 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007f6a14509ee2 in KDevelop::DUChainLock::lockForWrite (this=0x33bd768, timeout=0) at ../../language/duchain/duchainlock.cpp:201 #3 0x00007f6a1450a074 in KDevelop::DUChainWriteLocker::lock (this=0x7f69fe43fc10) at ../../language/duchain/duchainlock.cpp:299 #4 0x00007f6a144ca6f9 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x33bd750, retries=retries@entry=1, needLockRepository=needLockRepository@entry=true) at ../../language/duchain/duchain.cpp:700 #5 0x00007f6a144cb66d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3392970) at ../../language/duchain/duchain.cpp:291 #6 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x3392970) at thread/qthread_unix.cpp:307 #7 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #8 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f69e93a1700 (LWP 36926)): #0 0x00007f6a171fcac3 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f6a1219a624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6a1219a744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6a1861f296 in QEventDispatcherGlib::processEvents (this=0x3e5dd50, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f6a185ef8af in QEventLoop::processEvents (this=this@entry=0x7f69e93a0e40, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f6a185efb38 in QEventLoop::exec (this=0x7f69e93a0e40, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f6a184f2d70 in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x3e5d6f0) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f69e8ba0700 (LWP 36927)): #0 0x00007f6a171fcac3 in *__GI___poll (fds=, nfds=, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f6a1219a624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6a1219a744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6a1861f296 in QEventDispatcherGlib::processEvents (this=0x3e57410, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f6a185ef8af in QEventLoop::processEvents (this=this@entry=0x7f69e8b9fe40, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f6a185efb38 in QEventLoop::exec (this=0x7f69e8b9fe40, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f6a184f2d70 in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x3e533a0) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f69e7f81700 (LWP 36932)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f69ff4e71d7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #2 0x00007f69ff4e7209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4 #3 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #4 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f69e6eca700 (LWP 36938)): #0 __pthread_mutex_lock (mutex=0x47150f0) at pthread_mutex_lock.c:54 #1 0x00007f6a121d6421 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6a12199e69 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6a1219a54b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f6a1219a744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f6a1861f296 in QEventDispatcherGlib::processEvents (this=0x4708b60, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f6a185ef8af in QEventLoop::processEvents (this=this@entry=0x7f69e6ec9e10, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f6a185efb38 in QEventLoop::exec (this=0x7f69e6ec9e10, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f6a184f2d70 in QThread::exec (this=) at thread/qthread.cpp:501 #9 0x00007f6a185d01bf in QInotifyFileSystemWatcherEngine::run (this=0x4709bf0) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x4709bf0) at thread/qthread_unix.cpp:307 #11 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #12 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #13 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f69e545d700 (LWP 36995)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a0f4ccc0d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #2 0x00007f6a0f4ccd19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4 #3 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #4 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f69e5c5e700 (LWP 36996)): #0 0x00007f6a171fcac3 in *__GI___poll (fds=, nfds=, timeout=4070) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f6a1219a624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f6a1219a744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f6a1861f296 in QEventDispatcherGlib::processEvents (this=0x478ce70, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #4 0x00007f6a185ef8af in QEventLoop::processEvents (this=this@entry=0x7f69e5c5de40, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f6a185efb38 in QEventLoop::exec (this=0x7f69e5c5de40, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f6a184f2d70 in QThread::exec (this=) at thread/qthread.cpp:501 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x3dbeac0) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f69a37a6700 (LWP 37005)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a184f620b in wait (time=18446744073709551615, this=0x4b62670) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x44eb070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f6a0febc301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4e21b20, th=0x476c030) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f6a0febeb4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4736060, th=0x476c030) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f6a0febeb64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x4736060, th=0x476c030) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f6a0febd9bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f69a37a5e40, parent=0x4e21b20, th=th@entry=0x476c030) at ../../../threadweaver/Weaver/Thread.cpp:87 #7 0x00007f6a0febda4b in ThreadWeaver::Thread::run (this=0x476c030) at ../../../threadweaver/Weaver/Thread.cpp:142 #8 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x476c030) at thread/qthread_unix.cpp:307 #9 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #10 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f69a1d33700 (LWP 37198)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a184f620b in wait (time=18446744073709551615, this=0x24cf240) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x23b32e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f6a0febc301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24cf3d0, th=0x4ef2390) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f6a0febeb4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x23a3be0, th=0x4ef2390) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f6a0febd9bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f69a1d32e40, parent=0x24cf3d0, th=th@entry=0x4ef2390) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f6a0febda4b in ThreadWeaver::Thread::run (this=0x4ef2390) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x4ef2390) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f69a1532700 (LWP 37199)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a184f620b in wait (time=18446744073709551615, this=0x24cf240) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x23b32e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f6a0febc301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x24cf3d0, th=0x4f302e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f6a0febeb4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x23a3be0, th=0x4f302e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f6a0febeb64 in ThreadWeaver::WorkingHardState::applyForWork (this=0x23a3be0, th=0x4f302e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f6a0febd9bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f69a1531e40, parent=0x24cf3d0, th=th@entry=0x4f302e0) at ../../../threadweaver/Weaver/Thread.cpp:87 #7 0x00007f6a0febda4b in ThreadWeaver::Thread::run (this=0x4f302e0) at ../../../threadweaver/Weaver/Thread.cpp:142 #8 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x4f302e0) at thread/qthread_unix.cpp:307 #9 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #10 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f69a2fa1700 (LWP 54292)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a184f620b in wait (time=18446744073709551615, this=0x4b62670) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x44eb070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f6a0febc301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4e21b20, th=0x42642a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f6a0febeb4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4736060, th=0x42642a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f6a0febd9bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f69a2fa0e40, parent=0x4e21b20, th=th@entry=0x42642a0) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f6a0febda4b in ThreadWeaver::Thread::run (this=0x42642a0) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x42642a0) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f69a0c9f700 (LWP 54293)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f6a184f620b in wait (time=18446744073709551615, this=0x4b62670) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=, mutex=0x44eb070, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f6a0febc301 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4e21b20, th=0x61c6200) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f6a0febeb4b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4736060, th=0x61c6200) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f6a0febd9bf in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f69a0c9ee40, parent=0x4e21b20, th=th@entry=0x61c6200) at ../../../threadweaver/Weaver/Thread.cpp:87 #6 0x00007f6a0febda4b in ThreadWeaver::Thread::run (this=0x61c6200) at ../../../threadweaver/Weaver/Thread.cpp:142 #7 0x00007f6a184f5d0b in QThreadPrivate::start (arg=0x61c6200) at thread/qthread_unix.cpp:307 #8 0x00007f6a16590b50 in start_thread (arg=) at pthread_create.c:304 #9 0x00007f6a1720770d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6a1a06f760 (LWP 36920)): [KCrash Handler] #6 *__GI___libc_free (mem=0x1e0000) at malloc.c:3709 #7 0x00007f6a1450bfaa in ~KDevVarLengthArray (this=0x633acb0, __in_chrg=) at ../../util/kdevvarlengtharray.h:37 #8 ~AppendedList (this=0x633acb0, __in_chrg=) at ../../language/duchain/appendedlist_static.h:88 #9 ~QualifiedIdentifierPrivate (this=0x633aca0, __in_chrg=) at ../../language/duchain/identifier.cpp:175 #10 makeConstant (this=0x7fff73528aa0) at ../../language/duchain/identifier.cpp:953 #11 KDevelop::QualifiedIdentifier::makeConstant (this=0x7fff73528aa0) at ../../language/duchain/identifier.cpp:949 #12 0x00007f6a1450c0e9 in KDevelop::QualifiedIdentifier::index (this=0x7fff73528aa0) at ../../language/duchain/identifier.cpp:502 #13 0x00007f6a1450c28e in KDevelop::IndexedQualifiedIdentifier::IndexedQualifiedIdentifier (this=0x7fff73528a00, id=...) at ../../language/duchain/identifier.cpp:1183 #14 0x00007f6a1452c467 in KDevelop::DeclarationId::getDeclaration (this=0x6582c28, top=0x5d03d00, instantiateIfRequired=true) at ../../language/duchain/declarationid.cpp:135 #15 0x00007f69e9be6491 in AdaptSignatureAction::execute (this=0x6582c00) at ../../../languages/cpp/codegen/signatureassistant.cpp:235 #16 0x00007f6a18605a2e in QObject::event (this=0x6582c00, e=) at kernel/qobject.cpp:1195 #17 0x00007f6a1799a70c in QApplicationPrivate::notify_helper (this=this@entry=0x1faadb0, receiver=receiver@entry=0x6582c00, e=e@entry=0x5af2780) at kernel/qapplication.cpp:4556 #18 0x00007f6a1799eb8a in QApplication::notify (this=0x7fff7352ac00, receiver=0x6582c00, e=0x5af2780) at kernel/qapplication.cpp:4417 #19 0x00007f6a18e1e8a6 in KApplication::notify (this=0x7fff7352ac00, receiver=0x6582c00, event=0x5af2780) at ../../kdeui/kernel/kapplication.cpp:311 #20 0x00007f6a185f0b5e in QCoreApplication::notifyInternal (this=0x7fff7352ac00, receiver=receiver@entry=0x6582c00, event=event@entry=0x5af2780) at kernel/qcoreapplication.cpp:915 #21 0x00007f6a185f49e1 in sendEvent (event=0x5af2780, receiver=0x6582c00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f75670) at kernel/qcoreapplication.cpp:1539 #23 0x00007f6a1861f0e3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236 #24 postEventSourceDispatch (s=0x1fabfe0) at kernel/qeventdispatcher_glib.cpp:279 #25 0x00007f6a1219a355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #26 0x00007f6a1219a688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007f6a1219a744 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007f6a1861f276 in QEventDispatcherGlib::processEvents (this=0x1f76b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #29 0x00007f6a17a3b83e in QGuiEventDispatcherGlib::processEvents (this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #30 0x00007f6a185ef8af in QEventLoop::processEvents (this=this@entry=0x7fff7352a6d0, flags=...) at kernel/qeventloop.cpp:149 #31 0x00007f6a185efb38 in QEventLoop::exec (this=0x7fff7352a6d0, flags=...) at kernel/qeventloop.cpp:204 #32 0x00007f6a185f4cf8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #33 0x0000000000409b68 in main (argc=, argv=) at ../../app/main.cpp:479 Possible duplicates by query: bug 227675. Reported using DrKonqi -- 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