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
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try setting $XDG_DATA_DIRS to $KDEDIR/share. Also, try setting $XDG_CONFIG_DIRS to $KDEDIR/etc/xdg
If you have not installed shared-mime-info inside $KDEDIR, you will need to for mimetypes to function.

Please also try removing your Qt configuration:
Code: Select all
rm ~/.config/Trolltech.conf


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 $KDEDIR/share. Also, try setting $XDG_CONFIG_DIRS to $KDEDIR/etc/xdg
If you have not installed shared-mime-info inside $KDEDIR, you will need to for mimetypes to function.

Please also try removing your Qt configuration:
Code: Select all
rm ~/.config/Trolltech.conf



Again, thanks for your effort on trying to help. Unfortunately, no change, same problem :S

I've also tried to change my xsessions/kde4.desktop profile to run "startkde" with "env -i" to wipe out any env vars before I set the XDG ones as you recommended, but it didn't solve the problem. Removing ~/.config didn't change anything also.

I don't know what else I can try :'( The problem is definitely with the launcher applet, "plasma_applet_launcher.so". I could post an strace here if you think it might help to give us a clue ...

Thanks again!
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Hi,

Here's some strace information ...

Code: Select all
strace -f -o out.txt /opt/kde4/bin/kde4 /opt/kde4/bin/plasmoidviewer launcher
tac out.txt >strace.txt


This is the reversed output until the moment of the SIGSEGV:
http://www.megadriver.com.br/kdestuff/strace.txt

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

kmenuedit also crashes. If I delete the ksycoca files it generates a new one but crashes the same way.
kde4-menu crashes too.

[]'ss
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try removing the entire /var/tmp/kdecache-$USER folder outside a KDE session.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Try removing the entire /var/tmp/kdecache-$USER folder outside a KDE session.


Doesn't work :S Same problem ...
Booted in runlevel 3, root, rm -R /var/tmp/kdecache*, logged out, logged in with the normal user, same problem. Then, "useradd" for a new user, startx, same problem :S

Thanks
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
Just a question ...

Is there any way to compile kdebase-workspace with some debug option ? The crash messages, stderr and stuff is not giving any clue ...
It's very strange a menu applet to crash like this, also with a brand new and never logged in before user ...

Thx
[]'ss
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Could you please post the output of "export" from within KDE 4?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Could you please post the output of "export" from within KDE 4?


Here it is ...

Code: Select all
declare -x ACLOCAL_FLAGS="-I /opt/gnome/share/aclocal"
declare -x CMAKE_INCLUDE_PATH="/opt/kde4/include:/opt/kde4/include"
declare -x CMAKE_LIBRARY_PATH="/opt/kde4/lib:/opt/kde4/lib"
declare -x CMAKE_PREFIX_PATH="/opt/kde4:/opt/kde4"
declare -x COLORFGBG="15;0"
declare -x COLORTERM="1"
declare -x CPU="i686"
declare -x CVS_RSH="ssh"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-ACOahEfB3f,guid=466765f74d5255062bcbe26149d2deec"
declare -x DESKTOP_SESSION="kde4"
declare -x DESKTOP_STARTUP_ID=""
declare -x DISPLAY=":0.0"
declare -x DM_CONTROL="/var/run/xdmctl"
declare -x GNOME2_PATH="/usr/local:/opt/gnome:/usr"
declare -x GNOMEDIR="/opt/gnome"
declare -x GNOME_PATH=":/opt/gnome:/usr"
declare -x GROFF_NO_SGR="yes"
declare -x GS_LIB="/home/kde4test/.fonts"
declare -x GTK2_RC_FILES="/etc/opt/gnome/gtk-2.0/gtkrc:/home/kde4test/.gtkrc-2.0::/home/kde4test/.kde4/share/config/gtkrc-2.0"
declare -x GTK_PATH="/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0"
declare -x GTK_RC_FILES="/etc/opt/gnome/gtk/gtkrc:/home/kde4test/.gtkrc::/home/kde4test/.kde4/share/config/gtkrc"
declare -x G_BROKEN_FILENAMES="1"
declare -x G_FILENAME_ENCODING="@locale,UTF-8,ISO-8859-15,CP1252"
declare -x HISTSIZE="1000"
declare -x HOME="/home/kde4test"
declare -x HOST="asgard"
declare -x HOSTNAME="asgard"
declare -x HOSTTYPE="i386"
declare -x INFODIR="/usr/local/info:/usr/share/info:/usr/info"
declare -x INFOPATH="/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/info"
declare -x INPUTRC="/etc/inputrc"
declare -x JAVA_BINDIR="/usr/lib/jvm/java/bin"
declare -x JAVA_HOME="/usr/lib/jvm/java"
declare -x JAVA_ROOT="/usr/lib/jvm/java"
declare -x JDK_HOME="/usr/lib/jvm/java"
declare -x JRE_HOME="/usr/lib/jvm/java/jre"
declare -x KDEDIR="/opt/kde4"
declare -x KDEDIRS="/opt/kde4"
declare -x KDEHOME="/home/kde4test/.kde4"
declare -x KDETMP="/tmp/kde4-kde4test"
declare -x KDE_BUILD="/home/kde4test/kde4/build"
declare -x KDE_COLOR_DEBUG="1"
declare -x KDE_FULL_SESSION="true"
declare -x KDE_MULTIHEAD="false"
declare -x KDE_SESSION_UID="1004"
declare -x KDE_SESSION_VERSION="4"
declare -x KDE_SRC="/home/kde4test/kde4/src"
declare -x KONSOLE_DBUS_SERVICE=":1.30"
declare -x KONSOLE_DBUS_SESSION="/Sessions/1"
declare -x LANG="en_US"
declare -x LANGUAGE=""
declare -x LD_LIBRARY_PATH="/opt/kde4/lib:/opt/kde4/qt4/lib:/opt/gcc411/lib:/usr/java/jdk1.6.0_12/jre/lib/i386:/opt/kde4/qt4/lib"
declare -x LESS="-M -I"
declare -x LESSCLOSE="lessclose.sh %s %s"
declare -x LESSKEY="/etc/lesskey.bin"
declare -x LESSOPEN="lessopen.sh %s"
declare -x LESS_ADVANCED_PREPROCESSOR="no"
declare -x LOGNAME="kde4test"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:"
declare -x LS_OPTIONS="-N --color=tty -T 0"
declare -x MACHTYPE="i686-suse-linux"
declare -x MANPATH="/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11R6/man:/opt/gnome/share/man:/opt/kde3/man:/opt/gnome/man"
declare -x MINICOM="-c on"
declare -x NNTPSERVER="news"
declare -x OBJ_REPLACEMENT="s#/home/kde4test/kde4/src#/home/kde4test/kde4/build#"
declare -x OLDPWD
declare -x OPENWINHOME="/usr/openwin"
declare -x OSTYPE="linux"
declare -x PAGER="less"
declare -x PATH="/opt/kde4/bin:/opt/kde4/qt4/bin:/opt/kde4/qt4/bin:/opt/kde4/bin:/opt/gcc411/bin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/usr/X11R6/bin"
declare -x PKG_CONFIG_PATH="/opt/kde4/lib/pkgconfig:/opt/kde4/qt4/lib/pkgconfig:/opt/kde4/lib/pkgconfig:/opt/kde4/qt4/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig"
declare -x PROFILEHOME=""
declare -x PROFILEREAD="true"
declare -x PWD="/home/kde4test"
declare -x PYTHONSTARTUP="/etc/pythonstart"
declare -x QTDIR="/opt/kde4/qt4"
declare -x QTEST_COLORED="1"
declare -x QT_PLUGIN_PATH="/opt/kde4/lib/kde4/plugins:/opt/kde4/lib/kde4/plugins:/home/kde4test/.kde4/lib/kde4/plugins/:/opt/kde4/lib/kde4/plugins/"
declare -x SDK_HOME="/usr/lib/jvm/java"
declare -x SESSION_MANAGER="local/asgard:/tmp/.ICE-unix/31993,inet6/asgard:33590,inet/asgard:33591"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x TERM="xterm"
declare -x TEXINPUTS=":/home/kde4test/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX"
declare -x USER="kde4test"
declare -x WINDOWID="25165912"
declare -x WINDOWMANAGER="/opt/kde4/bin/startkde"
declare -x XCURSOR_PATH="/opt/kde4/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons"
declare -x XCURSOR_THEME="Oxygen_Black"
declare -x XDG_CONFIG_DIRS="/opt/kde4/etc/xdg"
declare -x XDG_DATA_DIRS="/opt/kde4/share"
declare -x XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
declare -x XKEYSYMDB="/usr/X11R6/lib/X11/XKeysymDB"
declare -x XNLSPATH="/usr/X11R6/lib/X11/nls"
declare -x XSESSION_IS_UP="yes"


Thx!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This is appearing more and more likely to be a bug in your systems libraries, or in the way Qt was compiled. One final thing to check though: Have you installed shared-mime-info in $KDEDIR/share?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
megadriver
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:This is appearing more and more likely to be a bug in your systems libraries, or in the way Qt was compiled. One final thing to check though: Have you installed shared-mime-info in $KDEDIR/share?


Yep, installed shared-mime-info as you said, but the problem is still there. Already tried compiling original QT4 from Trolltech and it crashes the same way. The one installed now is "qt-copy" from KDE ftp.

If it is a bug with my system libraries why the hell every single application that I compile from KDE4 works fine and just the one related to the launcher/menus crashes ?!? It is odd ...

Thanks again,
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is because most applications do not use the Sycoca, unless they have plugins. No idea how the applications with plugins ( Konqueror, any KParts app, etc ) work though.

As a final check, try configuring Qt with the following configuration flags, and be sure to apply the patches to qt-copy:
Code: Select all
-qt-gif -no-exceptions -fast -qdbus -nomake examples -nomake demos -no-phonon

Code: Select all
[Qt Source Directory]/apply_patches


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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