Kdevelop background parser crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdevelop (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
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@XXX:~$ kdevelop Test/Test.hpp
WARNING: deleting stale lockfile /home/kraft/
<unknown program name>(2390)/ KDevelop:
QObject::connect: Cannot connect (null):
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::CodeComple
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::MissingInc
Calling appendChild() on a null node does nothing.
<unknown>: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
SpecialTemplate
TopDUContextDat
DUContextData:
DUContextData:
DUContextData:
DUContextData:
DUContextData:
pp_macro::formals There were items left on destruction: 3320
pp_macro:
** (<unknown>:2390): WARNING **: Serious fd usage error 15
** (<unknown>:2390): WARNING **: Serious fd usage error 13
KCrash: Application 'kdevelop' crashing...
sock_file=
kraft@XXX:~$
How to reproduce:
- Make sure libboost1.38-dev is installed
- Create a file called Test.hpp containing one line:
#include <boost/
- Start kdevelop
- Open the Test.hpp file
summary: |
- Kdevelop background parses crashes + Kdevelop background parser crashes |
Changed in kdevelop (Ubuntu): | |
status: | New → Invalid |
I do not see the massive memory usage reported in Bug #459655 . I therefore doubt these bugs are duplicates.