Registered Member
|
Similar topic I found (but without answers): viewtopic.php?f=225&t=109219
Since yesterday, native KDE applications and a few others will no longer start in KDE. What I've tried: clearing /var/tmp/kdecache-*. This is on KDE 4.11.1, Arch Linux. More details I thought might be relevant are here: http://paste.kde.org/p521d00a5/ (some example outputs when launching programs, .xsession-errors, list of recently changed packages) Any ideas what might be causing this or how to find out?
Last edited by mueslo on Fri Sep 20, 2013 8:35 pm, edited 1 time in total.
|
Global Moderator
|
Hi,
no immediate ideas, just what I'd do: Run the application from konsole. Is there any relevant output? Run the application from konsole in gdb, wait a few seconds and press Ctrl+C, then get the backtrace via "bt". Is there anything useful in there? Run the application in strace, e.g. run strace -f kwrite in konsole. There will be a lot of output; is there anything repeating in the end when it hangs? If you need help in interpreting the output, please post it here. Cheers, Sven
I'm working on the KDevelop IDE.
|
Registered Member
|
Thanks for the swift reply! However, I am hopefully unknowledgeable in dealing with these backtraces, since I'm not really familiar with the structure of KDE programs. I would be very thankful if you could give me some pointers.
Here are some of the outputs you mentioned for kwrite (the output when running it straight from the console is empty): (gdb) bt
last few lines before strace -f kwrite hangs:
recvfrom(6, 0x6a19c4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) this part repeats a few times before it as well. Thank you very much for your time! |
Global Moderator
|
Hm, this looks quite meaningful, but still I unfortunately can't deduce much tips for fixing it from it
Hopefully someone else comes across this thread who is more knowledgeable about this ICE stuff... I assume restarting X11 doesn't fix the issue? Does it work for a different user account? Cheers, Sven
I'm working on the KDevelop IDE.
|
Manager
|
did you just do an upgrade of KDE
run: kbuildsycoca4 --noincremental 2> /dev/null if things are also bad for a new user I'd reinstall KDE |
Registered Member
|
Restarting doesn't fix it. For other users, see below:
I did do an upgrade from 4.10.5 to 4.11.1 about a week ago (though I'm not sure if I restarted X between that session and before I noticed it). kbuildsycoca doesn't change anything. It also doesn't work for some older user (whose configuration files haven't been touched in about a year. However, a brand new user works, so it would seem to me that it is related to configuration files. Indeed, renaming .kde4/ lets it work again for my current user, but having to reconfigure everything would be a pain. Any ideas what configuration in .kde4/ could lead to something like this? I can't confirm that it was due to 4.10.5. -> 4.11.1 because I ran out of space in / a few days ago so I cleaned up my package cache (which in retrospect was pretty stupid), so I can't currently roll back easily. |
Manager
|
there's 3 groups of config files I'd move/rename in $KDEHOME/share/config, obviously this will cause things to revert to default values
1) move all kde* files then restart KDE 2) plasma, backup and reset to default:
3) move all kwin* files then run:
|
Registered Member
|
Same behaviour as before (i.e. still can't launch anything, and no change apart from fonts and visual styles)
plasma-desktop fails, due to "QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave." If I restart kdm with those config files moved, it still doesn't work.
Nothing happens when I run that (also can't ctrl-c), also outputs "QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave." Restarting kdm with those files moved also doesn't change anything. |
Manager
|
think the D-Bus message isn't important
all I can think of is renaming various chunks of ~/.kde and then restarting KDE starting with the the share/config folder and if that fixes it I'd bring back 1/2 the files at a time and restart until I could id the bad file(s) maybe someone else will have a better idea |
Global Moderator
|
Random guess from the backtrace: Try disabling session management...
I'm working on the KDevelop IDE.
|
Administrator
|
Please try removing /tmp/.ICE-unix and /tmp/.X11-unix, with no X processes running.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks, but it's too late, it's started working again. What I did prior to it working agian was test individual components of .kde4/, and suddenly after adding them all again it started to work again. |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]