Bug 69538

Summary: Kdevelop crashes on startup
Product: [Applications] kdevelop Reporter: David He <david>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 3.0.0b2   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description David He 2003-12-03 01:37:11 UTC
Version:           3.0b2 (using KDE KDE 3.1)
Installed from:    Mandrake RPMs
Compiler:          g++ (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) 
OS:          Linux

The Tooltip dialog gets loaded for a second and then the whole program goes down. I ran the program fine the first few times. ThenI turned off my computer and the next time I turned in back on, KDevelop would crash on start up like this. Here's the backtrace:

[New Thread 16384 (LWP 2485)]
[New Thread 32769 (LWP 2516)]
[New Thread 16386 (LWP 2517)]
0x413ba6ba in waitpid () from /lib/i686/libpthread.so.0
#0  0x413ba6ba in waitpid () from /lib/i686/libpthread.so.0
#1  0x40ac8e7b in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x4151d3b8 in __libc_sigaction () from /lib/i686/libc.so.6

Thanks for looking into this. 

David
Comment 1 Amilcar do Carmo Lucas 2003-12-03 01:58:13 UTC
Are you sure you have Beta 2 version?
What does it say on Help -> About ?
or kdevelop --version

Try to delete all kdev* files and directories from your ~/.kde directory
This looks like a duplicate of a similar bug also on a Mandrake system.
I guess the problem is a brokem Mandrake rpm.

Comment 2 Amilcar do Carmo Lucas 2003-12-03 02:03:07 UTC
Yeap looks dupe to me.


*** This bug has been marked as a duplicate of 69423 ***
Comment 3 David He 2003-12-03 02:04:07 UTC
Subject: Re:  Kdevelop crashes on startup

Hi, thanks for the fast response. After checking the forum, I see that someone 
suggested the removal of project.kdevelop.pcs may help prevent the crash. 
This has worked for me, although I'm not sure what that file is or does (it 
appears to be a binary file of some sort). The version of Kdevelop I'm using 
is, in fact, 3.0.0b2. I'm sorry I mistakenly selected mandrake rpm as the 
install in the original report...I actually installed from source this 
morning. Thanks for the help.

David


On December 2, 2003 04:58 pm, you wrote:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=69538
> a.lucas@tu-bs.de changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Version|unspecified                 |3.0.0b2
>
>
>
> ------- Additional Comments From a.lucas@tu-bs.de  2003-12-03 01:58 -------
> Are you sure you have Beta 2 version?
> What does it say on Help -> About ?
> or kdevelop --version
>
> Try to delete all kdev* files and directories from your ~/.kde directory
> This looks like a duplicate of a similar bug also on a Mandrake system.
> I guess the problem is a brokem Mandrake rpm.

Comment 4 Sascha Cunz 2003-12-03 03:52:08 UTC
Just to be complete:

Yes, kdevelop.pcs files are binary files. These files build the "persistant class storage". Databases (indeed Berkeley-DBs), which store the information that a parser produced and are used for codecompletion.

Deleting this file forces kdevelop to reparse the complete project as of the next opening.

Cheers Sascha
Comment 5 ArchNGEL 2003-12-23 15:31:52 UTC
umm... does resolved means that i have to delete the file always manually?