Bug 171196

Summary: kdevelop won't start: " failed to open a repository"
Product: [Applications] kdevelop Reporter: Franz Trischberger <franz.trischberger>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED NOT A BUG    
Severity: normal CC: apaku
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Franz Trischberger 2008-09-17 09:46:05 UTC
Version:            (using Devel)
Compiler:          gcc-Version 4.3.1 (Gentoo 4.3.1-r1 p1.1) 
OS:                Linux
Installed from:    Compiled sources

I can't start kdevelop from kde4, recent trunk.
I get this output:

$ kdevelop 
<unknown program name>(30164)/: failed to open a repository 
Abgebrochen

===

This is the backtrace from gdb:
(gdb) bt
#0  0x00007fd1ec9b2f45 in raise () from /lib/libc.so.6
#1  0x00007fd1ec9b4463 in abort () from /lib/libc.so.6
#2  0x00007fd1ebac7d42 in KDevelop::ItemRepositoryRegistry::registerRepository ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#3  0x00007fd1ebab1cfc in KDevelop::globalStringRepository ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#4  0x00007fd1ebab22e5 in KDevelop::IndexedString::IndexedString ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#5  0x00007fd1eba8f685 in KDevelop::Identifier::Identifier ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#6  0x00007fd1eba85059 in global constructors keyed to classfunctiondeclaration.cpp ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#7  0x00007fd1ebad8056 in __do_global_ctors_aux ()
   from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#8  0x00007fd1eba2d1b3 in _init () from /usr/kde/svn/lib64/libkdevplatformlanguage.so.1
#9  0x00007ffff931ad98 in ?? ()
#10 0x00007fd1f110c910 in call_init () from /lib64/ld-linux-x86-64.so.2
#11 0x00007fd1f110ca3e in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#12 0x00007fd1f10ffb4a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#13 0x0000000000000001 in ?? ()
#14 0x00007ffff931bdb4 in ?? ()
#15 0x0000000000000000 in ?? ()

===

I have removed my kdevelop-configs but nothing changed.
It would be nice if i could use kdevelop again, as this is the only IDE I like ;)

Franz
Comment 1 Andreas Pakulat 2008-09-17 11:26:20 UTC
rm -rf ~/.kdevduchain whenever kdevelop fails to start.
BTW: If you want something more stable use KDevelop3.5