Kdevelop3.4 crash at start while openning project

Jens Zurheide jens.zurheide at gmx.de
Sat Nov 4 00:47:44 UTC 2006


Hi *

I think I'm experiencing the same crash which is in no way reproducible. It 
might happen during startup of kdevelop or after saving a changed file or 
while recompiling the project. The behaviour is always the same. kdevelop 
eats up all memory until it crashes after probably having occupied 4 GB of 
RAM+swap. The crash occurs often enough to start to bother me.

I am using kdevelop from SVN on a SuSE Linux 10.1 with SMP. The problem occurs 
with Berkeley DB v. 4.2 and 4.5. Due to the unreproducible behaviour I tend 
to think of a race condition somewhere e.g updating the pcs-file while 
reading it from a different thread.

Does anybody already have an idea what might go wrong or where I should look 
into the code to help finding a solution?

Thanks,
Jens

The backtrace is always the same:
----------------------------------------------------------------------------------
System configuration startup check disabled.

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 48006505959680 (LWP 4989)]
[New Thread 1082132800 (LWP 5017)]
[KCrash handler]
#5  0x00002ba9628b6aa5 in raise () from /lib64/libc.so.6
#6  0x00002ba9628b7e60 in abort () from /lib64/libc.so.6
#7  0x00002ba9624e2d24 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib64/libstdc++.so.6
#8  0x00002ba9624e0e56 in std::set_unexpected () 
from /usr/lib64/libstdc++.so.6
#9  0x00002ba9624e0e83 in std::terminate () from /usr/lib64/libstdc++.so.6
#10 0x00002ba9624e0f6a in __cxa_throw () from /usr/lib64/libstdc++.so.6
#11 0x00002ba9624e1249 in operator new () from /usr/lib64/libstdc++.so.6
#12 0x00002ba9624e1309 in operator new[] () from /usr/lib64/libstdc++.so.6
#13 0x00002ba9609dd5e8 in operator>> () from /usr/lib/qt3/lib64/libqt-mt.so.3
#14 0x00002ba95cf05166 in ClassModel::read ()
   from /opt/kde3/lib64/libkdevelop.so.1
#15 0x00002ba95cf05854 in NamespaceModel::read ()
   from /opt/kde3/lib64/libkdevelop.so.1
#16 0x00002ba95cf05c8f in FileModel::read ()
   from /opt/kde3/lib64/libkdevelop.so.1
#17 0x00002ba9666845d9 in CppSupportPart::slotParseFiles ()
   from /opt/kde3/lib64/kde3/libkdevcppsupport.so
#18 0x00002ba96668e262 in CppSupportPart::qt_invoke ()
   from /opt/kde3/lib64/kde3/libkdevcppsupport.so
#19 0x00002ba9607507ac in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#20 0x00002ba960a32308 in QSignal::signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002ba9607692b5 in QSignal::activate ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#22 0x00002ba96076f8d8 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#23 0x00002ba9606f9985 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#24 0x00002ba9606fa5b7 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#25 0x00002ba95fb6d708 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#26 0x00002ba9606efef5 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002ba9606b04bd in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002ba96070e6a1 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002ba96070e54a in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x0000000000407b75 in main ()
----------------------------------------------------------------------------------

These are the last lines of the console output:
----------------------------------------------------------------------------------
kdevelop (filecreate part): subnode: descr
kdevelop (filecreate part): node: C++ Source
kdevelop (filecreate part): subnode: descr
kdevelop (cpp support): CppSupportPart::parseProject 1
kdevelop (cpp support): Read 254 files from pcs
kdevelop (cpp support): CppSupportPart::parseProject 2
kdevelop (cpp support): CppSupportPart::parseProject 3
kdevelop (cpp support): CppSupportPart::parseProject 4
kdevelop (cpp support): CppSupportPart::parseProject 5
ASSERT: "part && parent" 
in /local/kde/3.5/src/kdevelop-3.4-kde3/parts/fileview/partwidget.cpp (41)
ERROR: syntax error
kdevelop (file view): Requested FileTree 
for: /home/zuzu/projects/augen/src/xeye
ERROR: syntax error
kdevelop (file view): FileTreeViewWidgetImpl::FileTreeViewWidgetImpl()
kdevelop (file view): StdFileTreeWidgetImpl::StdFileTreeWidgetImpl()
kdevelop (file view): 
FileTreeWidget::openDirectory(): /home/zuzu/projects/augen/src/xeye
kdevelop (file view): files added to project: 369
kdevelop (file view): 
MyFileTreeViewItem::hideOrShow(): /home/zuzu/projects/augen/src/xeye
kdevelop (cpp support): 
reading /home/zuzu/projects/augen/src/xeye/src.new/xeye.h
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
KCrash: Application 'kdevelop' crashing...
----------------------------------------------------------------------------------




More information about the KDevelop-devel mailing list