This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compiled ok, but when start: plasma crash

Tags: None
(comma "," separated)
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Hi guys,

I'm trying to compile and use KDE 4.2.1 on a Suse 9.3 box. I've been manually upgrading the software on this installation by compiling new versions over the years. The installation is now quite hybrid but everything is working fine, the actual KDE 3.5, Gnome, GTK applications, etc.

I started building KDE4 following the instructions on this page:
http://techbase.kde.org/Getting_Started/Build/KDE4

Prepared a user "kde4test" with all the bashrc changes and followed this order of build (using gcc411):

qt-copy - build & install ok
kdesupport-943891 - needed to force declaration of java paths, but build and install ok.
phonon-4.3.1 - build & install ok
kdelibs-4.2.1 - build & install ok
kdepimlibs-4.2.1 - build & install ok
kdebase-4.2.1 - build & install ok
kdebase-runtime-4.2.1 - build & install ok
kdebase-workspace-4.2.1 - had to disable X11 Screensaver extension to be able to compile, but build and install ok

Modified the /opt/kde4/bin/kde4 script so I'm to run konqueror, kwrite and stuff from KDE4 on KDE35.

To test the workspace I've modified the .xinitrc to match the new KDE4 and used startx.

It loads up a bit, show the desktop for an instant but the screen refreshes and the box telling that plasm crashed shows up.

Here's my .bashrc:
http://www.megadriver.com.br/kdestuff/bashrc.txt

Here's my env:
http://www.megadriver.com.br/kdestuff/env.txt

Here's the startx stdout (stderr was empty):
http://www.megadriver.com.br/kdestuff/stdout.txt

And here's the plasm.kcrash:
http://www.megadriver.com.br/kdestuff/plasma.kcrash.txt

Any clues about what's going wrong ?

Thanks a lot!
Nino
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please try running kbuildsycoca4 --noincremental.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Please try running kbuildsycoca4 --noincremental.


Hi,

Here's the output from it:
(ran from a ssh console)

kde4test@asgard:~> kbuildsycoca4 --noincremental
process 10090: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/usr/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kbuildsycoca4 path = pid = 10090
sock_file=/home/kde4test/.kde4/socket-asgard/kdeinit4__0
Warning: connect() failed: : No such file or directory
Unable to start Dr. Konqi
kde4test@asgard:~>
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The kbuildsycoca4 command needs to run from inside a KDE session.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:The kbuildsycoca4 command needs to run from inside a KDE session.


I can't run the command inside a KDE4 session because it won't start. Right after the desktop shows up, it crashes and I have to ctrl+alt+backspace to get off.

Anyways I ran the command from my KDE3 session, started with the /opt/kde4/bin/kde4 script ... and I don't know if it will be of any good (I can upload the output here).

Thanks for your help.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
When it crashes, can you try hitting Alt + F2? This should cause KRunner to open, which will allow you to run Konsole.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:When it crashes, can you try hitting Alt + F2? This should cause KRunner to open, which will allow you to run Konsole.


Done, output is here:
http://www.megadriver.com.br/kdestuff/kbuildsycoca4.txt

Don't know if it was supposed to solve the problem but I've logged off and try to start KDE4 again and the crash still happens :S

Thank you very much for your help so far :D

[]'ss
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Just an update ...

I'm able to compile and run (inside KDE4 w/o plasm by alt-f2 or on KDE3.5) mostly all of kde4 applications, including amarok (which plays and adds music to collection and stuff, everything is fine). The only thing that is crashing is the desktop itself, plasma :S

Also tried to completely remove ~/.kde4 and rerun kbuildsycoca4 with no change, the crash still happens.

Here's some screenshots (if it seems useful):
http://www.megadriver.com.br/kdestuff/r ... -crash.png
http://www.megadriver.com.br/kdestuff/after-crash.png

Thanks again.
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Forgot something ...

This is my xsession-errors:
http://www.megadriver.com.br/kdestuff/x ... errors.txt

[]'ss
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Hi,

I've just compiled and installed kdebase-workspace-4.2.0 and plasma crashes exactly the same way.

Is there any other kde4 packages that it depends that I'm supposed to install that I'm missing ?

Thanks!
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Update ...

Found the problem to be related to the launcher applet. Found the problem by testing the applets one by one using plasmoidviewer.

Here's the output when I try to load "launcher":
http://www.megadriver.com.br/kdestuff/p ... uncher.txt

Removing the ".so" for the applet, the crash is gone, plasma loads up, but, off course, no menus.

Any clues ?!?

Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try setting XDG_DATA_DIRS to $(kde4-config --prefix)
This will ensure that only KDE 4 desktop files are found. ( Note: this will remove access to all non KDE 4 applications from the menus )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Try setting XDG_DATA_DIRS to $(kde4-config --prefix)
����This will ensure that only KDE 4 desktop files are found. ( Note: this will remove access to all non KDE 4 applications from the menus )


Unfortunately, no change :S Same problem ...
(The XDG_DATA_DIRS was already being set by startkde script exactly the same way)

Also tried to create a new user and the problem is exactly the same.

Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Have you set QTDIR? as well as LD_LIBRARY_PATH?
LD_LIBRARY_PATH should be set to: $KDEDIR/libs:$QTDIR/libs


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Have you set QTDIR? as well as LD_LIBRARY_PATH?
LD_LIBRARY_PATH should be set to: $KDEDIR/libs:$QTDIR/libs


Yes, everything is set the right way, I don't see any errors on stdou or stderr or dmesg about missing libraries and I'm sure it is finding the right ones ...

Everything is on my .bashrc file:
http://www.megadriver.com.br/kdestuff/bashrc.txt

Thanks again,
[]'ss


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, gfielding, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]