[Bug 474509] [NEW] Kdevelop background parses crashes

Dirk Kraft dirk.kraft at gmail.com
Wed Nov 4 18:04:27 UTC 2009


Public bug reported:

Binary package hint: kdevelop

Kdevelop crashes while parsing C++ files in the background.

I was able to bisect a large codebase down to one file and then one
include statement that causes the crash. But most likely there are other
code situations that trigger this crash. The actual crash happens while
the background code parser is analysing the file. That means the file is
already opened and only when a certain part is reached the application
really crashes.

ubuntu release: Ubuntu 9.10
package: kdevelop 4:3.9.95-0ubuntu3

The console output is:
kraft at XXX:~$ kdevelop Test/Test.hpp 
WARNING: deleting stale lockfile /home/kraft/.kdevduchain/0/lock
<unknown program name>(2390)/ KDevelop::allocateRepository: picked duchain directory "/home/kraft/.kdevduchain/0"
QObject::connect: Cannot connect (null)::sessionAdded(KDevelop::IDebugSession*) to KDevelop::VariableCollection::updateAutoUpdate(KDevelop::IDebugSession*)
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::CodeCompletionModel(0x8fdb1d8), parent's thread is QThread(0x8552468), current thread is QThread(0x9036978)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::MissingIncludeCompletionModel(0x9055230), parent's thread is QThread(0x8552468), current thread is QThread(0x902beb8)
Calling appendChild() on a null node does nothing.
<unknown>: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
SpecialTemplateDeclarationData::m_specializations There were items left on destruction: 25
TopDUContextData::m_usedDeclarationIds There were items left on destruction: 1
DUContextData::m_uses There were items left on destruction: 1
DUContextData::m_localDeclarations There were items left on destruction: 66
DUContextData::m_childContexts There were items left on destruction: 60
DUContextData::m_importers There were items left on destruction: 178
DUContextData::m_importedContexts There were items left on destruction: 155
pp_macro::formals There were items left on destruction: 3320
pp_macro::definition There were items left on destruction: 5361

** (<unknown>:2390): WARNING **: Serious fd usage error 15

** (<unknown>:2390): WARNING **: Serious fd usage error 13
KCrash: Application 'kdevelop' crashing...
sock_file=/home/kraft/.kde/socket-COVIL--tek-4205/kdeinit4__0
kraft at XXX:~$

How to reproduce:
- Make sure libboost1.38-dev is installed
- Create a file called Test.hpp containing one line: 
#include <boost/assign/ptr_list_inserter.hpp>
- Start kdevelop
- Open the Test.hpp file

** Affects: kdevelop (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Kdevelop background parses crashes
https://bugs.launchpad.net/bugs/474509
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdevelop in ubuntu.




More information about the kubuntu-bugs mailing list