List Info

Thread: kdevelop crashing at startup




kdevelop crashing at startup
user name
2006-07-24 12:22:09
Hello!

I just got the latest kdevelop/3.4 branch code from svn.
Compiled it successfully and installed it in my home
directory (not system-wide).

When starting kdevelop it immediately crashes. I see the
green splash screen flashing up. Then it disappears and
the console reads:

kdevelop: [virtual void DDockWindow::addWidget(const
QString&, QWidget*)]
kdevelop: SimpleMainWindow::embedPartView: [Null pointer]
KCrash: Application 'kdevelop' crashing...

The KDE crash manager gives me:

Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1242080832 (LWP 3847)]
[KCrash handler]
#6  0xb678647c in QMetaObject::findSlot () from
/usr/lib/libqt-mt.so.3
#7  0xb6794e57 in QObject::disconnect () from
/usr/lib/libqt-mt.so.3
#8  0xb6796cf8 in QObject::installEventFilter () from
/usr/lib/libqt-mt.so.3
#9  0xb70a2250 in KToggleFullScreenAction::setWindow ()
   from /usr/lib/libkdeui.so.4
#10 0xb71c39c2 in KStdAction::fullScreen () from
/usr/lib/libkdeui.so.4
#11 0xb5e5481c in FullScreenPart::FullScreenPart ()
   from /usr/lib/kde3/libkdevfullscreen.so
#12 0xb5e54de8 in KGenericFactory<FullScreenPart,
QObject>::createObject ()
   from /usr/lib/kde3/libkdevfullscreen.so
#13 0xb6e2350b in KLibFactory::create () from
/usr/lib/libkdecore.so.4
#14 0xb7eebb98 in
createInstanceFromFactory<KDevPlugin>
(factory=0x82c03a0, 
    parent=0x81dd8b0, name=0x0, args=0xbf92ce74) at
componentfactory.h:67
#15 0xb7eebcae in
createInstanceFromLibrary<KDevPlugin> (
    libraryName=0x82c2e78 "libkdevfullscreen",
parent=0x81dd8b0, name=0x0, 
    args=0xbf92ce74, error=0xbf92ce70) at
componentfactory.h:147
#16 0xb7eebd7e in
createInstanceFromService<KDevPlugin> (service=0x8263690, 
    parent=0x81dd8b0, name=0x0, args=0xbf92ce74,
error=0xbf92ce70)
    at componentfactory.h:216
#17 0xb7eebdf1 in PluginController::loadPlugin (service=0x8263690)
    at plugincontroller.cpp:204
#18 0xb7eec4a2 in PluginController::loadPlugins
(this=0x81dc568, 
    offers=0xbf92cf20, ignorePlugins=0xbf92cf1c) at
plugincontroller.cpp:147
#19 0xb7eecb4e in PluginController::loadCorePlugins
(this=0x81dc568)
    at plugincontroller.cpp:120
#20 0xb7eecd09 in PluginController::loadInitialPlugins
(this=0x81dc568)
    at plugincontroller.cpp:99
#21 0x0804ec13 in main (argc=1, argv=0xbf92d214) at
main.cpp:106

System is Kubuntu 6.06, 2.6.15-26-k7,
gcc-Version 4.0.3 (Ubuntu 4.0.3-1ubuntu5),
KDE 3.5.3, QT 3.3.3.

Any ideas?

RU,
Andreas

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
kdevelop crashing at startup
user name
2006-07-24 13:16:44
On 24.07.06 14:22:09, Andreas Schallenberg wrote:
> I just got the latest kdevelop/3.4 branch code from
svn.
> Compiled it successfully and installed it in my home
> directory (not system-wide).

Did you set KDEDIRS according to the output of configure?
You need to
set something like:

KDEDIRS=$HOME/kdevelop:$KDEDIR

The backtrace shows that KDEDIR and the system-wide
installed kdevelop
plugins are found before the ones in $HOME, this crashes
kdevelop.

Andreas

-- 
Make a wish, it might come true.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
kdevelop crashing at startup
user name
2006-07-24 15:42:25
Hello!

Am Montag, 24. Juli 2006 15:16 schrieb Andreas Pakulat:
> ...
> Did you set KDEDIRS according to the output of
configure? You need to
> set something like:
> 
> KDEDIRS=$HOME/kdevelop:$KDEDIR
> 
> The backtrace shows that KDEDIR and the system-wide
installed kdevelop
> plugins are found before the ones in $HOME, this
crashes kdevelop.
> ...

Setting this environment variable solved the problem.
Setting it prior to "configure" had no effect
but
setting it before calling the kdevelop executable
made it work.

The compilation instructions on the web page
told me to type:

export KDEDIR=/where/your/kde3/is

Note: KDEDIR instead of KDEDIRS. The instructions
are for people which want to replace their system-wide
installation, therefore I didn't do that.

Thank you for your advice!
Andreas

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
kdevelop crashing at startup
user name
2006-07-24 16:43:21
On 24.07.06 17:42:25, Andreas Schallenberg wrote:
> Am Montag, 24. Juli 2006 15:16 schrieb Andreas Pakulat:
> > ...
> > Did you set KDEDIRS according to the output of
configure? You need to
> > set something like:
> > 
> > KDEDIRS=$HOME/kdevelop:$KDEDIR
> > 
> > The backtrace shows that KDEDIR and the
system-wide installed kdevelop
> > plugins are found before the ones in $HOME, this
crashes kdevelop.
> > ...
> 
> Setting this environment variable solved the problem.
> Setting it prior to "configure" had no
effect but
> setting it before calling the kdevelop executable
> made it work.

Right, KDEDIRS is for telling KDE the various places where
it can find
plugins, application data and so on. When asked for
application data KDE
will look into share/apps/<appname>/ for every dir in
KDEDIRS (that's
why KDEDIR itself also needs to be in there if you set the
variable not
only inside a temporary shell) + $HOME/.kde/.

> The compilation instructions on the web page
> told me to type:
> 
> export KDEDIR=/where/your/kde3/is
> 
> Note: KDEDIR instead of KDEDIRS. The instructions
> are for people which want to replace their system-wide
> installation, therefore I didn't do that.

Right, but at the end of configure, when you provide the
--prefix option
it tells you to set KDEDIRS apropriately 

Anyway, good that it's working for you now. KDevelop3.4
really rocks.

Andreas

-- 
Courage is your greatest present need.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )