Application: kdevelop (4.2.2) KDE Platform Version: 4.6.2 (4.6.2) Qt Version: 4.7.2 Operating System: Linux 2.6.39+ x86_64 Distribution: Ubuntu 11.04 -- Information about the crash: - What I was doing when the application crashed: the crash was happening, when editing a c++ source file. it happened while typing, nothing unusal was going on ... -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault [Current thread is 1 (Thread 0x7f54ad00a780 (LWP 8201))] Thread 13 (Thread 0x7f5494e41700 (LWP 8202)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216 #1 0x00007f54ab51b79e in wait (this=<value optimized out>, mutex=0x22d1330, time=1000) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x22d1330, time=1000) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f54a7b4622b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x22d1310) at ../../language/duchain/duchain.cpp:286 #4 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x22d1310) at thread/qthread_unix.cpp:320 #5 0x00007f54a95ded8c in start_thread (arg=0x7f5494e41700) at pthread_create.c:304 #6 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f54840f1700 (LWP 8267)): #0 0x00007f54aa248f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f54a53e3104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f54a53e3639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f54ab62d446 in QEventDispatcherGlib::processEvents (this=0x7f547c030ab0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f54ab601882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f54ab601abc in QEventLoop::exec (this=0x7f54840f0dd0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f54ab518924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #7 0x00007f54ab5e3c2f in QInotifyFileSystemWatcherEngine::run (this=0x2f0ccb0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x2f0ccb0) at thread/qthread_unix.cpp:320 #9 0x00007f54a95ded8c in start_thread (arg=0x7f54840f1700) at pthread_create.c:304 #10 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f547afbf700 (LWP 8277)): #0 0x00007f54aa248f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f54a53e3104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f54a53e3639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f54ab62d446 in QEventDispatcherGlib::processEvents (this=0x2f67940, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f54ab601882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f54ab601abc in QEventLoop::exec (this=0x7f547afbee00, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f54ab518924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #7 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x2f87650) at thread/qthread_unix.cpp:320 #8 0x00007f54a95ded8c in start_thread (arg=0x7f547afbf700) at pthread_create.c:304 #9 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f547a7be700 (LWP 8278)): #0 0x00007f54aa248f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f54a53e3104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f54a53e3639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f54ab62d446 in QEventDispatcherGlib::processEvents (this=0x2f50630, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f54ab601882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f54ab601abc in QEventLoop::exec (this=0x7f547a7bde00, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f54ab518924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #7 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x7f547c026bf0) at thread/qthread_unix.cpp:320 #8 0x00007f54a95ded8c in start_thread (arg=0x7f547a7be700) at pthread_create.c:304 #9 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f547955a700 (LWP 8301)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54958212a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5495b3a180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007f54958212d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f5495b48254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007f54a95ded8c in start_thread (arg=0x7f547955a700) at pthread_create.c:304 #4 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f54838f0700 (LWP 8429)): #0 0x00007f54aa248f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f54a53e3104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f54a53e3639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f54ab62d446 in QEventDispatcherGlib::processEvents (this=0x4f4d630, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f54ab601882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f54ab601abc in QEventLoop::exec (this=0x7f54838efdd0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f54ab518924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #7 0x00007f54ab5e3c2f in QInotifyFileSystemWatcherEngine::run (this=0x4f557d0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x4f557d0) at thread/qthread_unix.cpp:320 #9 0x00007f54a95ded8c in start_thread (arg=0x7f54838f0700) at pthread_create.c:304 #10 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f5478642700 (LWP 8483)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54a26c6832 in ?? () from /usr/lib/libQtWebKit.so.4 #2 0x00007f54a95ded8c in start_thread (arg=0x7f5478642700) at pthread_create.c:304 #3 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #4 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f5476b3a700 (LWP 8488)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54ab51b82b in wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f54a2f1b0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1289470, th=0x4238980) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f54a2f1d723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x4238980) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x4238980) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x4238980) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x4238980) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #8 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x4238980) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #9 0x00007f54a2f1c53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5476b39e20, parent=0x1289470, th=0x4238980) at ../../../threadweaver/Weaver/Thread.cpp:87 #10 0x00007f54a2f1c5cb in ThreadWeaver::Thread::run (this=0x4238980) at ../../../threadweaver/Weaver/Thread.cpp:142 #11 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x4238980) at thread/qthread_unix.cpp:320 #12 0x00007f54a95ded8c in start_thread (arg=0x7f5476b3a700) at pthread_create.c:304 #13 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f5476339700 (LWP 8489)): #0 0x00007f54aa21d5ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x00007f54aa24e984 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007f54a7b86cec in KDevelop::DUChainLock::lockForWrite (this=0x22d0e88, timeout=0) at ../../language/duchain/duchainlock.cpp:201 #3 0x00007f54a7b86eb4 in KDevelop::DUChainWriteLocker::lock (this=0x7f5476334690) at ../../language/duchain/duchainlock.cpp:299 #4 0x00007f54803a82af in ?? () from /usr/lib/libkdev4cppduchain.so #5 0x00007f5480400400 in NameASTVisitor::visitUnqualifiedName(UnqualifiedNameAST*) () from /usr/lib/libkdev4cppduchain.so #6 0x00007f54803fe8cc in NameASTVisitor::run(NameAST*, bool) () from /usr/lib/libkdev4cppduchain.so #7 0x00007f54803eb43d in Cpp::ExpressionVisitor::visitName(NameAST*) () from /usr/lib/libkdev4cppduchain.so #8 0x00007f54803e2d38 in Cpp::ExpressionVisitor::visitPrimaryExpression(PrimaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so #9 0x00007f54803e2bba in Cpp::ExpressionVisitor::visitPostfixExpression(PostfixExpressionAST*) () from /usr/lib/libkdev4cppduchain.so #10 0x00007f54803e120a in Cpp::ExpressionVisitor::parse(AST*) () from /usr/lib/libkdev4cppduchain.so #11 0x00007f54803a5dfc in UseBuilder::visitExpression(AST*) () from /usr/lib/libkdev4cppduchain.so #12 0x00007f54800d2c2e in ?? () from /usr/lib/libkdev4cppparser.so #13 0x00007f5480367c0a in ContextBuilder::visitCompoundStatement(CompoundStatementAST*) () from /usr/lib/libkdev4cppduchain.so #14 0x00007f5480369a78 in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so #15 0x00007f54800d2bce in ?? () from /usr/lib/libkdev4cppparser.so #16 0x00007f5480367e12 in ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so #17 0x00007f54803a6dd8 in UseBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so #18 0x00007f54800d29ae in DefaultVisitor::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppparser.so #19 0x00007f54803a6700 in UseBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so #20 0x00007f5480368e11 in ContextBuilder::visitTemplateDeclaration(TemplateDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so #21 0x00007f54800d2bce in ?? () from /usr/lib/libkdev4cppparser.so #22 0x00007f5480366995 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so #23 0x00007f54800d2bce in ?? () from /usr/lib/libkdev4cppparser.so #24 0x00007f5480366995 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so #25 0x00007f54800d2bce in ?? () from /usr/lib/libkdev4cppparser.so #26 0x00007f54803a5702 in UseBuilder::buildUses(AST*) () from /usr/lib/libkdev4cppduchain.so #27 0x00007f548089812a in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so #28 0x00007f54a2f1cc21 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f5476338d80, th=0x422c420, job=0x62593d0) at ../../../threadweaver/Weaver/Job.cpp:106 #29 0x00007f54a2f1cd4c in ThreadWeaver::Job::execute (this=0x62593d0, th=0x422c420) at ../../../threadweaver/Weaver/Job.cpp:135 #30 0x00007f54a2f1dff3 in ThreadWeaver::JobCollectionJobRunner::execute (this=<value optimized out>, t=0x422c420) at ../../../threadweaver/Weaver/JobCollection.cpp:82 #31 0x00007f54a2f1c50f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5476338e20, parent=0x1289470, th=0x422c420) at ../../../threadweaver/Weaver/Thread.cpp:95 #32 0x00007f54a2f1c5cb in ThreadWeaver::Thread::run (this=0x422c420) at ../../../threadweaver/Weaver/Thread.cpp:142 #33 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x422c420) at thread/qthread_unix.cpp:320 #34 0x00007f54a95ded8c in start_thread (arg=0x7f5476339700) at pthread_create.c:304 #35 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #36 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f5475b38700 (LWP 8490)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54ab51b82b in wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f54a2f1b0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1289470, th=0x3ccab80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f54a2f1d723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3ccab80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3ccab80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3ccab80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00007f54a2f1c53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5475b37e20, parent=0x1289470, th=0x3ccab80) at ../../../threadweaver/Weaver/Thread.cpp:87 #8 0x00007f54a2f1c5cb in ThreadWeaver::Thread::run (this=0x3ccab80) at ../../../threadweaver/Weaver/Thread.cpp:142 #9 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x3ccab80) at thread/qthread_unix.cpp:320 #10 0x00007f54a95ded8c in start_thread (arg=0x7f5475b38700) at pthread_create.c:304 #11 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #12 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f5475337700 (LWP 8491)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54ab51b82b in wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f54a2f1b0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1289470, th=0x41f0b10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f54a2f1d723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x41f0b10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x41f0b10) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f54a2f1c53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5475336e20, parent=0x1289470, th=0x41f0b10) at ../../../threadweaver/Weaver/Thread.cpp:87 #7 0x00007f54a2f1c5cb in ThreadWeaver::Thread::run (this=0x41f0b10) at ../../../threadweaver/Weaver/Thread.cpp:142 #8 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x41f0b10) at thread/qthread_unix.cpp:320 #9 0x00007f54a95ded8c in start_thread (arg=0x7f5475337700) at pthread_create.c:304 #10 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f5474b36700 (LWP 8492)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f54ab51b82b in wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1230760, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007f54a2f1b0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1289470, th=0x3f74d20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365 #4 0x00007f54a2f1d723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3f74d20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71 #5 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3f74d20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #6 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3f74d20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #7 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3f74d20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #8 0x00007f54a2f1d73c in ThreadWeaver::WorkingHardState::applyForWork (this=0x122f230, th=0x3f74d20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74 #9 0x00007f54a2f1c53f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5474b35e20, parent=0x1289470, th=0x3f74d20) at ../../../threadweaver/Weaver/Thread.cpp:87 #10 0x00007f54a2f1c5cb in ThreadWeaver::Thread::run (this=0x3f74d20) at ../../../threadweaver/Weaver/Thread.cpp:142 #11 0x00007f54ab51b175 in QThreadPrivate::start (arg=0x3f74d20) at thread/qthread_unix.cpp:320 #12 0x00007f54a95ded8c in start_thread (arg=0x7f5474b36700) at pthread_create.c:304 #13 0x00007f54aa25604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #14 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f54ad00a780 (LWP 8201)): [KCrash Handler] #6 KDevelop::Declaration::abstractType (this=0x0) at ../../language/duchain/declaration.cpp:311 #7 0x00007f54819b7252 in type<KDevelop::FunctionType> (this=0x2e1ad80, context=<value optimized out>) at ../../../language/duchain/declaration.h:212 #8 ContextBrowserPlugin::updateDeclarationListBox (this=0x2e1ad80, context=<value optimized out>) at ../../../plugins/contextbrowser/contextbrowser.cpp:1171 #9 0x00007f54819b8dd3 in ContextBrowserPlugin::updateHistory (this=0x2e1ad80, context=0x7bfe820, position=..., force=false) at ../../../plugins/contextbrowser/contextbrowser.cpp:1127 #10 0x00007f54819bdeea in ContextBrowserPlugin::updateForView (this=0x2e1ad80, view=0x3e630a0) at ../../../plugins/contextbrowser/contextbrowser.cpp:629 #11 0x00007f54819bdfec in ContextBrowserPlugin::updateViews (this=0x2e1ad80) at ../../../plugins/contextbrowser/contextbrowser.cpp:651 #12 0x00007f54819be39e in ContextBrowserPlugin::qt_metacall (this=0x2e1ad80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdd124560) at ./contextbrowser.moc:143 #13 0x00007f54ab6175f8 in QMetaObject::activate (sender=0x2e278a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287 #14 0x00007f54ab6161c9 in QObject::event (this=0x2e278a0, e=<value optimized out>) at kernel/qobject.cpp:1190 #15 0x00007f54aa9c39e4 in QApplicationPrivate::notify_helper (this=0xe69590, receiver=0x2e278a0, e=0x7fffdd124ca0) at kernel/qapplication.cpp:4462 #16 0x00007f54aa9c83aa in QApplication::notify (this=<value optimized out>, receiver=0x2e278a0, e=0x7fffdd124ca0) at kernel/qapplication.cpp:4341 #17 0x00007f54abde9866 in KApplication::notify (this=0x7fffdd125220, receiver=0x2e278a0, event=0x7fffdd124ca0) at ../../kdeui/kernel/kapplication.cpp:311 #18 0x0000000000404bf6 in _start () Reported using DrKonqi
hm anyone an idea how this could happen? looking at the source this would mean a nullptr returned from applySpecialization ? which should not happen :-S @tim: is this reproducible?
waiting for info
haven't been able to reproduce it :/
please reopen once you can trigger it again
thanks for resolving the bug
Created attachment 61471 [details] New crash information added by DrKonqi kdevelop (4.2.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2 When I was coding, KDevelop crashed, but I didn't look at the backtrace. Then whenever I start KDevelop again, it offers to recover one of my files that I was editing before. I decline the recovery because there is not really something to recover. Whenever I start with adding a specific line of code to this file (entering 'typedef ' on a new line), KDevelop crashs after the space after typedef. I have been able to reproduce this crash three times using the same steps. After the third crash I have not tried again. If there is something I can help with to analyze this bug, let me know. -- Backtrace (Reduced): #6 KDevelop::Declaration::abstractType (this=0x0) at ../../language/duchain/declaration.cpp:311 #7 0x00007f2a3453185a in Cpp::ExpressionVisitor::visitPrimaryExpression(PrimaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so #8 0x00007f2a34530bba in Cpp::ExpressionVisitor::visitPostfixExpression(PostfixExpressionAST*) () from /usr/lib/libkdev4cppduchain.so #9 0x00007f2a34530d1e in Cpp::ExpressionVisitor::visitPrimaryExpression(PrimaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so #10 0x00007f2a3453258b in Cpp::ExpressionVisitor::visitBinaryExpression(BinaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so
Git commit 089782fa06d2a685c2ff26b8907b786a207d1f9f by Milian Wolff. Committed on 04/07/2011 at 17:36. Pushed by mwolff into branch 'master'. use context that is checked in the conditional instead of member var this hopefully fixes a rare crash also cleanup duplicate checks of owner CCBUG: 273707 M +3 -3 languages/cpp/cppduchain/expressionvisitor.cpp http://commits.kde.org/kdevelop/089782fa06d2a685c2ff26b8907b786a207d1f9f
please send us the file that triggers this crash and/or create a new minimal testcase along with detailed steps on what is required to trigger the crash.
Created attachment 61616 [details] C++ files triggering kdevelop project crash The following triggers a kdevelop crash for me: 1. start a new session 2. open permlib/include/permlib/bsgs.h from the extracted tar.gz 3. go to line 104 (which is a blank line) 4. type: 'typedef ' as if adding a new typedef After the space after typedef, kdevelop crashes for me reproducibly.
works for me now with the latest patch. or is it still not working for you?
I've just compiled kdevelop from git, it does not crash any more on this bug. Thanks a lot!
*** Bug 282481 has been marked as a duplicate of this bug. ***