Bug 81166

Summary: KDevelop crashes when opening existing projects or creating new ones
Product: [Applications] kdevelop Reporter: Paul Fairhurst <paul.fairhurst>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Fairhurst 2004-05-08 22:42:14 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:          Linux

Hi

I've seen a similar bug elsewhere (Bug 73346 for example) but it is marked as closed. I think there is still a problem as I'm using pretty up-to-date code:

Gentoo Linux 2.6 kernel
GCC 3.3.2
KDE Libs 3.2.1
KDevelop 3.0.3 (from source tarball. I 3.0.1 Gentoo package had the same problem)

It's fairly easy to reproduce. You can create a new project and it will crash right at the end (after all the stuff has been created on disk but just as it attempts to open it), or you just open an existing project.

The last part of the console window shows:

kdevelop (core): dcop emitting project opened
kdevelop (core): CvsPart::slotProjectOpened() here!
kdevelop (cvs interface): Project has no CVS Support: too bad!! :-(
kdevelop (grep view): GrepViewPart::projectOpened()
kdevelop (cpp support): projectOpened( )
kdevelop (cpp support): CppSupportPart::setupCatalog()
kdevelop (cpp support): ProblemReporter::configure()
QGArray::at: Absolute index 0 out of range
KCrash: Application 'kdevelop' crashing...

I even tried the patch detailed in #7 of Bug 73346 but this didn't fix it.

Is there a solution to this - I'm getting quite desperate to continue development..

Cheers
Comment 1 Jens Dagerbo 2004-05-09 12:55:45 UTC
A backtrace would _really_ help. (Of course it doesn't always crash for everyone when setting up a project.)

configure with --enable-debug=full and please submit the backtrace.
Comment 2 Jens Dagerbo 2004-07-17 02:46:59 UTC
No feedback for two months. We can't do anything with this info and the crash is probably the KStyle crash in the old documentation plugin anyway (and thus fixed). 

Closing as INVALID.