Another crash

Thorben Kröger thorbenk at gmx.net
Mon Feb 23 10:37:20 UTC 2009


Hi,
It's me again, trying to produce a useful backtrace for you. I now compiled 
KDevelop and kdelibs with debugfull, the checkout is from yesterday evening. I 
just tried to open a file, here is the backtrace.

Hope this helps,

Cheers,
Thorben

Calling appendChild() on a null node does nothing.                                                                                                        
kdevelop(18515)/kdevplatform (shell) 
KDevelop::MainWindowPrivate::changeActiveView: clearing last XML GUI client 
KDevelop::TextEditorWidget(0xb74c500)    
kdevelop(18515)/kdevplatform (shell) 
KDevelop::MainWindowPrivate::changeActiveView: changing active view to 
KDevelop::TextView(0xbe57220) doc KDevelop::TextDocument(0x8afd7a0, name = 
"Scanner.cpp") mw KDevelop::MainWindow(0x81ce608, name = "MainWindow")                                                       
kdevelop(18515)/kdevplatform (shell) KDevelop::Language::deactivate: 
deactivating language "C++"                                                          
kdevelop(18515)/kdevplatform (shell) KDevelop::Language::activate: activating 
language "C++"                                                              
kdevelop(18515)/kdevplatform SourceFormatterPlugin::activeDocumentChanged: doc 
is not null                                                                
kdevelop(18515)/kdevplatform SourceFormatterPlugin::activeDocumentChanged: doc 
is not null  "text/x-c++src"                                               
kdevelop(18515)/kdevelop (cpp support) UIBlockTester::lockup: ui is blocking                                                                              
Calling appendChild() on a null node does nothing.                                                                                                        
kdevelop(18515)/kdevelop (cpp support) ContextBuilder::buildContexts: built 
top-level context with 36 declarations and 12 included files                  
kdevelop(18515)/kdevplatform (shell) 
KDevelop::DocumentControllerPrivate::removeDocument: destroying document 
KDevelop::TextDocument(0xa4c14c8, name = "qimageviewer.cpp")                                                                                                                                          
kdevelop(18515)/kdevelop (cpp support) UIBlockTester::lockup: ui is blocking                                                                              

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xaeb54b90 (LWP 18616)]           
0x0c0ba279 in ?? ()                                    
(gdb) bt                                               
#0  0x0c0ba279 in ?? ()                                
#1  0xb7a10f9f in KTextEditor::SmartRange::setParentRange (this=0xbda2040, 
r=0xb7b4980)
    at 
/home/thorben/devel/src/kdelibs/interfaces/ktexteditor/smartrange.cpp:609       
#2  0xaeec41e4 in KateSmartRange::setParentRange (this=0xbda2040, r=0xb7b4980) 
at /home/thorben/devel/src/kdelibs/kate/smart/katesmartrange.cpp:207
#3  0xb5d4ce38 in 
KDevelop::EditorIntegratorPrivate::createRange<KTextEditor::SmartRange> 
(this=0x9f78838, iface=@0xaeb50c58, range=@0xaeb50c74,   
    insertBehavior={i = -1363866624}) at 
/home/thorben/devel/src/kdevplatform/language/editor/editorintegrator.cpp:255                             
#4  0xb5d4cf3c in KDevelop::EditorIntegrator::createRange (this=0xaeb53f24, 
iface=@0xaeb50c58, range=@0xaeb50c74, insertBehavior={i = -1363866512})
    at 
/home/thorben/devel/src/kdevplatform/language/editor/editorintegrator.cpp:284                                                               
#5  0xb0ce1433 in KDevelop::AbstractUseBuilder<AST, NameAST, 
ContextBuilder>::newUse (this=0xaeb53cd0, newRange=                                   
        {start = {line = 280, column = 52}, end = {line = 280, column = 57}}, 
declaration=0xc6a0730)                                               
    at 
/home/thorben/inst/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:185                                                  
#6  0xb0ce164e in UseExpressionVisitor::usingDeclaration (this=0xaeb53310, 
node=0xb8d64bc, start_token=1075, end_token=1076, decl=@0xaeb53758)     
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:132                                                                
#7  0xb0d20024 in Cpp::ExpressionVisitor::flushUse (this=0xaeb53310) at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.h:175
#8  0xb0d20924 in Cpp::ExpressionVisitor::newUse (this=0xaeb53310, 
node=0xb8d6580, start_token=1077, end_token=1078, decl=@0xa3d17f8)                    
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.h:159                                                                 
#9  0xb0d2f14a in NameASTVisitor::visitUnqualifiedName (this=0xaeb50f28, 
node=0xb8d6580)                                                                 
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/name_visitor.cpp:119                                                                    
#10 0xb0c048be in Visitor::visit (this=0xaeb50f28, node=0xb8d6580) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#11 0xb0c02823 in DefaultVisitor::visitName (this=0xaeb50f28, node=0xb8d6564)                                                                            
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/default_visitor.cpp:239                                                                     
#12 0xb0c048be in Visitor::visit (this=0xaeb50f28, node=0xb8d6564) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#13 0xb0d2ded2 in NameASTVisitor::run (this=0xaeb50f28, node=0xb8d6564, 
skipLastNamePart=false)                                                          
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/name_visitor.cpp:287                                                                    
#14 0xb0d1aa94 in Cpp::ExpressionVisitor::visitName (this=0xaeb53310, 
node=0xb8d6564)                                                                    
---Type <return> to continue, or q <return> to quit---                                                                                                   
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:473                                                               
#15 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6564) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#16 0xb0d19a35 in Cpp::ExpressionVisitor::visitPrimaryExpression 
(this=0xaeb53310, node=0xb8d6540)                                                       
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:594                                                               
#17 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6540) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#18 0xb0d1ee26 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d65a0)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:867                                                               
#19 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d65a0) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#20 0xb0d1ee26 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d65bc)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:867                                                               
#21 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d65bc) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#22 0xb0d1cd82 in Cpp::ExpressionVisitor::visitFunctionCall (this=0xaeb53310, 
node=0xb8d65d8)                                                            
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:1558                                                              
#23 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d65d8) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#24 0xb0d17837 in Cpp::ExpressionVisitor::visitSubExpressions 
(this=0xaeb53310, node=0xb8d65f8, nodes=0xb8d65ec)                                         
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:702                                                               
#25 0xb0d17c85 in Cpp::ExpressionVisitor::visitPostfixExpression 
(this=0xaeb53310, node=0xb8d65f8)                                                       
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:740                                                               
#26 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d65f8) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#27 0xb0d1eb31 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d6b3c)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:829                                                               
#28 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6b3c) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#29 0xb0d1cd82 in Cpp::ExpressionVisitor::visitFunctionCall (this=0xaeb53310, 
node=0xb8d6b58)                                                            
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:1558                                                              
#30 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6b58) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
---Type <return> to continue, or q <return> to quit---                                                                                                   
#31 0xb0d17837 in Cpp::ExpressionVisitor::visitSubExpressions 
(this=0xaeb53310, node=0xb8d6b78, nodes=0xb8d6b6c)                                         
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:702                                                               
#32 0xb0d17c85 in Cpp::ExpressionVisitor::visitPostfixExpression 
(this=0xaeb53310, node=0xb8d6b78)                                                       
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:740                                                               
#33 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6b78) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#34 0xb0d1eb31 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d6d80)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:829                                                               
#35 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6d80) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#36 0xb0d1cd82 in Cpp::ExpressionVisitor::visitFunctionCall (this=0xaeb53310, 
node=0xb8d6d9c)                                                            
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:1558                                                              
#37 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6d9c) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#38 0xb0d17837 in Cpp::ExpressionVisitor::visitSubExpressions 
(this=0xaeb53310, node=0xb8d6dbc, nodes=0xb8d6db0)                                         
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:702                                                               
#39 0xb0d17c85 in Cpp::ExpressionVisitor::visitPostfixExpression 
(this=0xaeb53310, node=0xb8d6dbc)                                                       
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:740                                                               
#40 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6dbc) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#41 0xb0d1ee26 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d6dd8)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:867                                                               
#42 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6dd8) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#43 0xb0d199fd in Cpp::ExpressionVisitor::visitPrimaryExpression 
(this=0xaeb53310, node=0xb8d5af0)                                                       
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:592                                                               
#44 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d5af0) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#45 0xb0d1eb31 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d6e5c)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:829                                                               
#46 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6e5c) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
---Type <return> to continue, or q <return> to quit---                                                                                                   
#47 0xb0d1ee26 in Cpp::ExpressionVisitor::visitBinaryExpression 
(this=0xaeb53310, node=0xb8d6e78)                                                        
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:867                                                               
#48 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6e78) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#49 0xb0d158e3 in Cpp::ExpressionVisitor::visitExpressionStatement 
(this=0xaeb53310, node=0xb8d6e94)                                                     
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:1329                                                              
#50 0xb0c048be in Visitor::visit (this=0xaeb53310, node=0xb8d6e94) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#51 0xb0d15cb8 in Cpp::ExpressionVisitor::parse (this=0xaeb53310, 
ast=0xb8d6e94)                                                                         
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/expressionvisitor.cpp:227                                                               
#52 0xb0cddf13 in UseBuilder::visitExpression (this=0xaeb53cd0, 
node=0xb8d6e94)                                                                          
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:153                                                                      
#53 0xb0cde14a in UseBuilder::visitExpressionStatement (this=0xaeb53cd0, 
exp=0xb8d6e94)                                                                  
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:84                                                                       
#54 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d6e94) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#55 0xb0c02c2d in visitNodes<StatementAST*> (v=0xaeb53d00, nodes=0xb8d70c4) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.h:128       
#56 0xb0c02523 in DefaultVisitor::visitCompoundStatement (this=0xaeb53d00, 
node=0xb8d57c8)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/default_visitor.cpp:68                                                                      
#57 0xb0c90fe8 in ContextBuilder::visitCompoundStatement (this=0xaeb53cd0, 
node=0xb8d57c8)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:713                                                                  
#58 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d57c8) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#59 0xb0c90849 in ContextBuilder::visitIfStatement (this=0xaeb53cd0, 
node=0xb8d5038)                                                                     
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:999                                                                  
#60 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d5038) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#61 0xb0c02c2d in visitNodes<StatementAST*> (v=0xaeb53d00, nodes=0xb8d70d0) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.h:128       
#62 0xb0c02523 in DefaultVisitor::visitCompoundStatement (this=0xaeb53d00, 
node=0xb8d4a94)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/default_visitor.cpp:68                                                                      
---Type <return> to continue, or q <return> to quit---                                                                                                   
#63 0xb0c90fe8 in ContextBuilder::visitCompoundStatement (this=0xaeb53cd0, 
node=0xb8d4a94)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:713                                                                  
#64 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d4a94) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#65 0xb0c90849 in ContextBuilder::visitIfStatement (this=0xaeb53cd0, 
node=0xb8d4304)                                                                     
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:999                                                                  
#66 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d4304) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#67 0xb0c02c2d in visitNodes<StatementAST*> (v=0xaeb53d00, nodes=0xb8dac70) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.h:128       
#68 0xb0c02523 in DefaultVisitor::visitCompoundStatement (this=0xaeb53d00, 
node=0xb8d1bac)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/default_visitor.cpp:68                                                                      
#69 0xb0c90fe8 in ContextBuilder::visitCompoundStatement (this=0xaeb53cd0, 
node=0xb8d1bac)                                                               
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:713                                                                  
#70 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8d1bac) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#71 0xb0c91de4 in ContextBuilder::visitFunctionDefinition (this=0xaeb53cd0, 
node=0xb8dac7c)                                                              
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:627                                                                  
#72 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0xb8dac7c) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113              
#73 0xb0c02b69 in visitNodes<DeclarationAST*> (v=0xaeb53d00, nodes=0xc40842c) 
at /home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.h:128
#74 0xb0c02475 in DefaultVisitor::visitTranslationUnit (this=0xaeb53d00, 
node=0x95ace38)
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/default_visitor.cpp:394
#75 0xb0c048be in Visitor::visit (this=0xaeb53d00, node=0x95ace38) at 
/home/thorben/devel/src/kdevelop/languages/cpp/parser/visitor.cpp:113
#76 0xb0c8fd77 in ContextBuilder::startVisiting (this=0xaeb53cd0, 
node=0x95ace38)
    at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/contextbuilder.cpp:161

#77 0xb0c9a1c2 in KDevelop::AbstractContextBuilder<AST, NameAST>::supportBuild 
(this=0xaeb53cd0, node=0x95ace38, context=0xa6b88d8)
    at 
/home/thorben/inst/include/kdevplatform/language/duchain/builders/abstractcontextbuilder.h:201
#78 0xb0ce1857 in KDevelop::AbstractUseBuilder<AST, NameAST, 
ContextBuilder>::buildUses (this=0xaeb53cd0, node=0x95ace38)
    at 
/home/thorben/inst/include/kdevplatform/language/duchain/builders/abstractusebuilder.h:70
---Type <return> to continue, or q <return> to quit---
#79 0xb0cde6ae in UseBuilder::buildUses (this=0xaeb53cd0, node=0x95ace38) at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppduchain/usebuilder.cpp:66
#80 0xb0d8420c in CPPInternalParseJob::run (this=0x8a12358) at 
/home/thorben/devel/src/kdevelop/languages/cpp/cppparsejob.cpp:643
#81 0xb79dca48 in ThreadWeaver::JobRunHelper::runTheJob (this=0xaeb542ac, 
th=0x9a1d648, job=0x8a12358)
    at /home/thorben/devel/src/kdelibs/threadweaver/Weaver/Job.cpp:106
#82 0xb79dccf6 in ThreadWeaver::Job::execute (this=0x8a12358, th=0x9a1d648) at 
/home/thorben/devel/src/kdelibs/threadweaver/Weaver/Job.cpp:135
#83 0xb79df519 in ThreadWeaver::JobCollectionJobRunner::execute 
(this=0xc4e5040, t=0x9a1d648)
    at 
/home/thorben/devel/src/kdelibs/threadweaver/Weaver/JobCollection.cpp:82
#84 0xb79dbe86 in ThreadWeaver::ThreadRunHelper::run (this=0xaeb54344, 
parent=0x8274d20, th=0x9a1d648)
    at /home/thorben/devel/src/kdelibs/threadweaver/Weaver/Thread.cpp:95
#85 0xb79dc013 in ThreadWeaver::Thread::run (this=0x9a1d648) at 
/home/thorben/devel/src/kdelibs/threadweaver/Weaver/Thread.cpp:142
#86 0xb6e3ed4e in QThreadPrivate::start (arg=0x9a1d648) at 
thread/qthread_unix.cpp:184
#87 0xb6d9b1b5 in start_thread () from /lib/libpthread.so.0
#88 0xb619c3be in clone () from /lib/libc.so.6
(gdb)





More information about the KDevelop-devel mailing list