Bug 210663 - crash when loading project
Summary: crash when loading project
Status: RESOLVED DUPLICATE of bug 206775
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-15 14:09 UTC by Ignat Semenov
Modified: 2009-10-15 14:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ignat Semenov 2009-10-15 14:09:37 UTC
Version:            (using Devel)
Compiler:          gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) 
OS:                Linux
Installed from:    Compiled sources

Qt: 4.7.0
KDE: 4.3.72 (KDE 4.3.72 (KDE 4.4 >= 20091013))
KDevelop: 3.9.95 (using KDevPlatform 0.9.95)

KDevelop crashed while running "Background parser" after loading a KDE project (namely Digikam) Running in GDB gave the following backtrace

0  0x0000003655e332f5 in raise () from /lib64/libc.so.6
#1  0x0000003655e34b20 in abort () from /lib64/libc.so.6
#2  0x0000003655e7005d in __libc_message () from /lib64/libc.so.6
#3  0x0000003655e75a96 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007ffff4b9a1ec in QString::free (d=0x1359cd0) at tools/qstring.cpp:1108
#5  0x00007ffff7c237c2 in QDebug::operator<< (this=0x7fffd8fb9390, t=<value optimized out>) at /home/thorgt/kde/include/QtCore/qdebug.h:111
#6  0x00007ffff7c6e681 in KDebugPrivate::printHeader (this=<value optimized out>, s={stream = 0x1508430}, areaName=@0x7fffd8fb9400,        
    funcinfo=0x7fffdd11c760 "virtual bool StringAst::parseFunctionInfo(const CMakeFunctionDesc&)", type=QtDebugMsg, colored=true)          
    at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:513                                                                          
#7  0x00007ffff7c6ec27 in KDebugPrivate::stream (this=0x62f6b0, type=QtDebugMsg, area=<value optimized out>, debugFile=<value optimized out>, line=<value optimized out>, 
    funcinfo=0x7fffdd11c760 "virtual bool StringAst::parseFunctionInfo(const CMakeFunctionDesc&)") at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:622          
#8  0x00007ffff7c6bfac in kDebugStream (level=QtDebugMsg, area=9042, file=0x7fffdd11c5b0 "/home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeast.cpp", line=3140, 
    funcinfo=<value optimized out>) at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:698                                                                                  
#9  0x00007fffdd0dc2ea in KDebug::operator() (this=0x0, area=6) at /home/thorgt/kde/include/kdebug.h:246                                                                           
#10 0x00007fffdd0ed756 in StringAst::parseFunctionInfo (this=<value optimized out>, func=<value optimized out>)                                                                    
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeast.cpp:3140                                                                                            
#11 0x00007fffdd104378 in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=7, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1996                                                                                 
#12 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x142bb50)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#13 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=3, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#14 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#15 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=85, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#16 0x00007fffdd105250 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, fea=0x13897a0)                                                                                          
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1612                                                                                 
#17 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=79, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#18 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13c5f20)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#19 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=72, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#20 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13593a0)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#21 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=23, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#22 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#23 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=3, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#24 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x1390a00)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#25 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=1, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#26 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#27 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=29, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#28 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13ef460)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#29 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=27, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 

#30 0x00007fffd9412308 in CMakeManager::parse (this=<value optimized out>, item=0x11c71c0) at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/cmakemanager.cpp:402
#31 0x00007ffff2be7126 in KDevelop::ImportProjectJobPrivate::import (this=0x11bfc10, folder=0x6) at /home/thorgt/kde/src/KDE/kdevplatform/project/importprojectjob.cpp:46 
#32 0x00007ffff2be6ef6 in QtConcurrent::RunFunctionTask<void>::run (this=0x11df220) at /home/thorgt/kde/include/QtCore/qtconcurrentrunbase.h:120                          
#33 0x00007ffff4b4c709 in QThreadPoolThread::run (this=0x11d9ea0) at concurrent/qthreadpool.cpp:106                                                                       
#34 0x00007ffff4b56085 in QThreadPrivate::start (arg=0x11d9ea0) at thread/qthread_unix.cpp:244                                                                            
#35 0x0000003656a0686a in start_thread () from /lib64/libpthread.so.0                                                                                                     
#36 0x0000003655ede3bd in clone () from /lib64/libc.so.6                                                                                                                  
#37 0x0000000000000000 in ?? ()                                                                                                                                           
(gdb)                                                                                                                                                                     
#0  0x0000003655e332f5 in raise () from /lib64/libc.so.6                                                                                                                  
#1  0x0000003655e34b20 in abort () from /lib64/libc.so.6                                                                                                                  
#2  0x0000003655e7005d in __libc_message () from /lib64/libc.so.6                                                                                                         
#3  0x0000003655e75a96 in malloc_printerr () from /lib64/libc.so.6                                                                                                        
#4  0x00007ffff4b9a1ec in QString::free (d=0x1359cd0) at tools/qstring.cpp:1108                                                                                           
#5  0x00007ffff7c237c2 in QDebug::operator<< (this=0x7fffd8fb9390, t=<value optimized out>) at /home/thorgt/kde/include/QtCore/qdebug.h:111                               
#6  0x00007ffff7c6e681 in KDebugPrivate::printHeader (this=<value optimized out>, s={stream = 0x1508430}, areaName=@0x7fffd8fb9400,                                       
    funcinfo=0x7fffdd11c760 "virtual bool StringAst::parseFunctionInfo(const CMakeFunctionDesc&)", type=QtDebugMsg, colored=true)                                         
    at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:513                                                                                                         
#7  0x00007ffff7c6ec27 in KDebugPrivate::stream (this=0x62f6b0, type=QtDebugMsg, area=<value optimized out>, debugFile=<value optimized out>, line=<value optimized out>, 
    funcinfo=0x7fffdd11c760 "virtual bool StringAst::parseFunctionInfo(const CMakeFunctionDesc&)") at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:622          
#8  0x00007ffff7c6bfac in kDebugStream (level=QtDebugMsg, area=9042, file=0x7fffdd11c5b0 "/home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeast.cpp", line=3140, 
    funcinfo=<value optimized out>) at /home/thorgt/kde/src/KDE/kdelibs/kdecore/io/kdebug.cpp:698                                                                                  
#9  0x00007fffdd0dc2ea in KDebug::operator() (this=0x0, area=6) at /home/thorgt/kde/include/kdebug.h:246                                                                           
#10 0x00007fffdd0ed756 in StringAst::parseFunctionInfo (this=<value optimized out>, func=<value optimized out>)                                                                    
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeast.cpp:3140                                                                                            
#11 0x00007fffdd104378 in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=7, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1996                                                                                 
#12 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x142bb50)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#13 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=3, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#14 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#15 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=85, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#16 0x00007fffdd105250 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, fea=0x13897a0)                                                                                          
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1612                                                                                 
#17 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=79, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#18 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13c5f20)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#19 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=72, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#20 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13593a0)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#21 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=23, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#22 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#23 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=3, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#24 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x1390a00)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#25 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=1, isClean=<value optimized out>)                                         
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#26 0x00007fffdd105e08 in CMakeProjectVisitor::visit (this=0x7fffd8fbe490, call=<value optimized out>)                                                                             
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1066                                                                                 
#27 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=29, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#28 0x00007fffdd10842d in CMakeProjectVisitor::visit (this=<value optimized out>, ifast=0x13ef460)                                                                                 
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:1190                                                                                 
#29 0x00007fffdd10470f in CMakeProjectVisitor::walk (this=0x7fffd8fbe490, fc=<value optimized out>, line=27, isClean=<value optimized out>)                                        
    at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/parser/cmakeprojectvisitor.cpp:2027                                                                                 
#30 0x00007fffd9412308 in CMakeManager::parse (this=<value optimized out>, item=0x11c71c0) at /home/thorgt/kde/src/KDE/kdevelop/projectmanagers/cmake/cmakemanager.cpp:402         
#31 0x00007ffff2be7126 in KDevelop::ImportProjectJobPrivate::import (this=0x11bfc10, folder=0x6) at /home/thorgt/kde/src/KDE/kdevplatform/project/importprojectjob.cpp:46          
#32 0x00007ffff2be6ef6 in QtConcurrent::RunFunctionTask<void>::run (this=0x11df220) at /home/thorgt/kde/include/QtCore/qtconcurrentrunbase.h:120                                   
#33 0x00007ffff4b4c709 in QThreadPoolThread::run (this=0x11d9ea0) at concurrent/qthreadpool.cpp:106                                                                                
#34 0x00007ffff4b56085 in QThreadPrivate::start (arg=0x11d9ea0) at thread/qthread_unix.cpp:244                                                                                     
#35 0x0000003656a0686a in start_thread () from /lib64/libpthread.so.0                                                                                                              
#36 0x0000003655ede3bd in clone () from /lib64/libc.so.6                                                                                                                           
#37 0x0000000000000000 in ?? ()
Comment 1 Andreas Pakulat 2009-10-15 14:24:25 UTC

*** This bug has been marked as a duplicate of bug 206775 ***
Comment 2 Milian Wolff 2009-10-15 14:36:55 UTC
If this is reproducable, please paste us the assert message from the CLI.

Maybe it is linked to the libc issue with _MALLOC_CHECK, see other bug reports (dunno wich one exactly, apaku, do you remember?)
Comment 3 Milian Wolff 2009-10-15 14:37:14 UTC
ähem, ok apaku was faster again - my bad :D