Bug 282481

Summary: KDevelop reproducely crashes when typed text [KDevelop::Declaration::abstractType]
Product: [Applications] kdevelop Reporter: alecn2002
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, andre.stein.1985, cmazarine, niko.sams, zarzych
Priority: NOR    
Version: 4.2.2   
Target Milestone: 4.2.3   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KDevelop Crash on pressing <Enter> inside h file

Description alecn2002 2011-09-21 14:30:52 UTC
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-8-generic i686
Distribution: Ubuntu 11.04

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

just typed text (created new class in bigger class), it fails every time I enter semicolon at the last line of code inside inner class

Text was not exactly the same at all attempts, first time it was text itself, next time I've copied diff (wih '-' in the first position of every line) and inserted it, crash occurs too.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb647c710 (LWP 888))]

Thread 14 (Thread 0xb6213b70 (LWP 890)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x0046af76 in __poll (fds=0x93ef720, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0132384b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x013131af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0131392b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x018e6304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x0133c2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x001f6e99 in start_thread (arg=0xb6213b70) at pthread_create.c:304
#8  0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xb1afbb70 (LWP 892)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb834 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00487454 in __pthread_cond_timedwait (cond=0x9724200, mutex=0x97241e8, abstime=0xb1afb2c0) at forward.c:152
#3  0x00f493e5 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x067a775d in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#5  0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#6  0x001f6e99 in start_thread (arg=0xb1afbb70) at pthread_create.c:304
#7  0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xb12fab70 (LWP 894)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x978c958, mutex=0x978c940) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x04b7f7e0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x04b8247c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x04b7f42b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x04b8256a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x04b80f9e in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x001f6e99 in start_thread (arg=0xb12fab70) at pthread_create.c:304
#15 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xb0af9b70 (LWP 897)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x978c958, mutex=0x978c940) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x04b7f7e0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x04b8247c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x04b7f42b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x04b8256a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x04b80f9e in ?? () from /usr/lib/libthreadweaver.so.4
#16 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#17 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#18 0x001f6e99 in start_thread (arg=0xb0af9b70) at pthread_create.c:304
#19 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xb02f8b70 (LWP 898)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x978c958, mutex=0x978c940) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x04b7f7e0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x04b8247c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x04b7f42b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x04b8256a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x04b80f9e in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#15 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#16 0x001f6e99 in start_thread (arg=0xb02f8b70) at pthread_create.c:304
#17 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xafaf7b70 (LWP 899)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x00441fe6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0x004731ac in usleep (useconds=500) at ../sysdeps/unix/sysv/linux/usleep.c:33
#3  0x067ece2c in KDevelop::DUChainLock::lockForWrite(unsigned int) () from /usr/lib/libkdevplatformlanguage.so.3
#4  0x067ed07e in KDevelop::DUChainWriteLocker::lock() () from /usr/lib/libkdevplatformlanguage.so.3
#5  0x067ed0de in KDevelop::DUChainWriteLocker::DUChainWriteLocker(KDevelop::DUChainLock*, unsigned int) () from /usr/lib/libkdevplatformlanguage.so.3
#6  0x024869d1 in CMakeProjectVisitor::createUses(CMakeFunctionDesc const&) () from /usr/lib/libkdev4cmakecommon.so
#7  0x02489f52 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&, int, bool) () from /usr/lib/libkdev4cmakecommon.so
#8  0x0249d916 in CMakeParserUtils::includeScript(QString const&, KDevelop::ReferencedTopDUContext, CMakeProjectData*, QString const&) () from /usr/lib/libkdev4cmakecommon.so
#9  0x0242ca45 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#10 0x02430b62 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#11 0x005e7d27 in ?? () from /usr/lib/libkdevplatformproject.so.3
#12 0x005e7824 in ?? () from /usr/lib/libkdevplatformproject.so.3
#13 0x005e797e in ?? () from /usr/lib/libkdevplatformproject.so.3
#14 0x00f3c866 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#16 0x001f6e99 in start_thread (arg=0xafaf7b70) at pthread_create.c:304
#17 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xaeaf5b70 (LWP 946)):
#0  0x001bed41 in clock_gettime (clock_id=1, tp=0xaeaf5030) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00f9edd8 in ?? () from /usr/lib/libQtCore.so.4
#2  0x0106b4f2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x01069d32 in ?? () from /usr/lib/libQtCore.so.4
#4  0x01069dcd in ?? () from /usr/lib/libQtCore.so.4
#5  0x01311fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x01312e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01313524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0106a577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x0103c289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x0103c522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00f462a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x068b3608 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#13 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x001f6e99 in start_thread (arg=0xaeaf5b70) at pthread_create.c:304
#15 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xad5ffb70 (LWP 947)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x0046af76 in __poll (fds=0x9aa0fc0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0132384b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x013131af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01313524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0106a577 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x0103c289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x0103c522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00f462a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x068b3608 in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#10 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#11 0x001f6e99 in start_thread (arg=0xad5ffb70) at pthread_create.c:304
#12 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xac3ffb70 (LWP 972)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x2ffc2b0, mutex=0x2ffc298) at forward.c:139
#3  0x02ee3817 in ?? () from /usr/lib/libQtScript.so.4
#4  0x02ee3851 in ?? () from /usr/lib/libQtScript.so.4
#5  0x001f6e99 in start_thread (arg=0xac3ffb70) at pthread_create.c:304
#6  0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa3fbcb70 (LWP 1138)):
[KCrash Handler]
#7  0x067d645d in KDevelop::Declaration::abstractType() const () from /usr/lib/libkdevplatformlanguage.so.3
#8  0x03b7f9f6 in Cpp::ExpressionVisitor::visitPrimaryExpression(PrimaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so
#9  0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#10 0x03b85de6 in Cpp::ExpressionVisitor::visitUnaryExpression(UnaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so
#11 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#12 0x03b7ecb7 in Cpp::ExpressionVisitor::visitPrimaryExpression(PrimaryExpressionAST*) () from /usr/lib/libkdev4cppduchain.so
#13 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#14 0x03b8053b in Cpp::ExpressionVisitor::visitPostfixExpression(PostfixExpressionAST*) () from /usr/lib/libkdev4cppduchain.so
#15 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#16 0x03244591 in DefaultVisitor::visitInitializerClause(InitializerClauseAST*) () from /usr/lib/libkdev4cppparser.so
#17 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#18 0x03243b61 in DefaultVisitor::visitInitializer(InitializerAST*) () from /usr/lib/libkdev4cppparser.so
#19 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#20 0x03243b30 in DefaultVisitor::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppparser.so
#21 0x03b8716d in Cpp::ExpressionVisitor::visitInitDeclarator(InitDeclaratorAST*) () from /usr/lib/libkdev4cppduchain.so
#22 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#23 0x03b7e860 in Cpp::ExpressionVisitor::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#24 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#25 0x03b7d5cb in Cpp::ExpressionVisitor::parse(AST*) () from /usr/lib/libkdev4cppduchain.so
#26 0x03b3db56 in UseBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#27 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#28 0x032438bb in DefaultVisitor::visitDeclarationStatement(DeclarationStatementAST*) () from /usr/lib/libkdev4cppparser.so
#29 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#30 0x03244929 in ?? () from /usr/lib/libkdev4cppparser.so
#31 0x03af8c9a in ContextBuilder::visitCompoundStatement(CompoundStatementAST*) () from /usr/lib/libkdev4cppduchain.so
#32 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#33 0x03244929 in ?? () from /usr/lib/libkdev4cppparser.so
#34 0x03af8c9a in ContextBuilder::visitCompoundStatement(CompoundStatementAST*) () from /usr/lib/libkdev4cppduchain.so
#35 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#36 0x03afacb3 in ContextBuilder::visitFunctionDefinition(FunctionDefinitionAST*) () from /usr/lib/libkdev4cppduchain.so
#37 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#38 0x032448c9 in ?? () from /usr/lib/libkdev4cppparser.so
#39 0x03af8ed9 in ContextBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#40 0x03b3e922 in UseBuilder::visitClassSpecifier(ClassSpecifierAST*) () from /usr/lib/libkdev4cppduchain.so
#41 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#42 0x03244671 in DefaultVisitor::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppparser.so
#43 0x03b3dee4 in UseBuilder::visitSimpleDeclaration(SimpleDeclarationAST*) () from /usr/lib/libkdev4cppduchain.so
#44 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#45 0x032448c9 in ?? () from /usr/lib/libkdev4cppparser.so
#46 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#47 0x03243c6b in DefaultVisitor::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppparser.so
#48 0x03af7849 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#49 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#50 0x032448c9 in ?? () from /usr/lib/libkdev4cppparser.so
#51 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#52 0x03243c6b in DefaultVisitor::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppparser.so
#53 0x03af7849 in ContextBuilder::visitNamespace(NamespaceAST*) () from /usr/lib/libkdev4cppduchain.so
#54 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#55 0x032448c9 in ?? () from /usr/lib/libkdev4cppparser.so
#56 0x03245d83 in Visitor::visit(AST*) () from /usr/lib/libkdev4cppparser.so
#57 0x03af6dcc in ContextBuilder::startVisiting(AST*) () from /usr/lib/libkdev4cppduchain.so
#58 0x03b3cbe5 in UseBuilder::buildUses(AST*) () from /usr/lib/libkdev4cppduchain.so
#59 0x032dfbae in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#60 0x04b817f4 in ?? () from /usr/lib/libthreadweaver.so.4
#61 0x04b81941 in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#62 0x04b831c3 in ?? () from /usr/lib/libthreadweaver.so.4
#63 0x04b80f6a in ?? () from /usr/lib/libthreadweaver.so.4
#64 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#65 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#66 0x001f6e99 in start_thread (arg=0xa3fbcb70) at pthread_create.c:304
#67 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa37bbb70 (LWP 1139)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x9697f98, mutex=0x9697f80) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x04b7f7e0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x04b8247c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x04b7f42b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x04b8256a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x04b82589 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x04b80f9e in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#13 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#14 0x001f6e99 in start_thread (arg=0xa37bbb70) at pthread_create.c:304
#15 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa18f1b70 (LWP 1147)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0xb77e17f0, mutex=0xb77e17d8) at forward.c:139
#3  0xb722bb57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x001f6e99 in start_thread (arg=0xa18f1b70) at pthread_create.c:304
#5  0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb5a12b70 (LWP 1178)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x978c958, mutex=0x978c940) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x04b7f7e0 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x04b8247c in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x04b7f42b in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x04b8256a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x04b7f373 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x04b80f9e in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x04b8105b in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0x00f48da2 in ?? () from /usr/lib/libQtCore.so.4
#12 0x001f6e99 in start_thread (arg=0xb5a12b70) at pthread_create.c:304
#13 0x0047973e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb647c710 (LWP 888)):
#0  0x001ca416 in __kernel_vsyscall ()
#1  0x001fb48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x004873fd in __pthread_cond_wait (cond=0x97ff670, mutex=0x97ff658) at forward.c:139
#3  0x00f49467 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x00f3bf33 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00f3ce50 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#6  0x00f3ceb2 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#7  0x00f3d3ca in ?? () from /usr/lib/libQtCore.so.4
#8  0x003d8a6f in __run_exit_handlers (status=1, listp=0x506324, run_list_atexit=true) at exit.c:78
#9  0x003d8acf in exit (status=1) at exit.c:100
#10 0x05c63a90 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x00add11a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0x00add156 in ?? () from /usr/lib/libkdeui.so.5
#13 0x011b4166 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#14 0x011b181f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#15 0x011a24eb in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#16 0x07741555 in ?? () from /usr/lib/libQtGui.so.4
#17 0x0131271d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0x0131303a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0x01313524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0x0106a53c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x07741775 in ?? () from /usr/lib/libQtGui.so.4
#22 0x0103c289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x0103c522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0x01040ecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#25 0x0768b8e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#26 0x08053005 in _start ()

This bug may be a duplicate of or related to bug 273707.

Possible duplicates by query: bug 273707.

Reported using DrKonqi
Comment 1 zarzych 2011-10-06 21:16:38 UTC
I've tried to reproduce the crash but I can't. Could you post a simple test case that crashes your kdevelop?
Comment 2 cristi 2012-08-23 19:03:53 UTC
Created attachment 73420 [details]
KDevelop Crash on pressing <Enter> inside h file

Crash report
Comment 3 cristi 2012-08-23 19:12:26 UTC
KDevelop often crashes while developing (writing in header or source files (h or cpp))

I suspect that is related to intellisense but I'm not 100% sure. I'm still trying to find a way to always reproduce the crashes.
There is no special word or character I type prior to crash (at least until now I didn't noticed crashes to be triggered by a special word/character).
The frequency of crashes is between few minutes or 2 hours, I've always got a crash in less than 2 hours of working with KDevelop.

Also question related to the dump report. There are some question marks in that file like:
#7  0x0000000000000000 in ?? ()
I don't know how to find the dbg symbols for these lines and the crash report generator doesn't allow the report to be sent while there are question marks in report.
Do you have any hint on solving this?
Comment 4 Niko Sams 2012-08-24 08:09:28 UTC
cristi, your crash is not related to this bug. I suspect 297661 is your issue (QtScript is used in indentation scripts when pressing Enter).
Comment 5 André Stein 2012-09-18 18:05:57 UTC
I still have crashes when typing text in C++ source files (Sometimes when typing in comments, sometimes if a open a new namespace/class scope). I have a recent KDE version so the mentioned bug can't be the cause.. I'll to find something reproducible.
Comment 6 Kevin Funk 2012-12-22 22:04:42 UTC

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