[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    RE: Weird lockups (fwd)
From:       David Faure <David.Faure () cramersystems ! com>
Date:       2000-01-25 11:42:09
[Download RAW message or body]

I've heard that krootwm could cause X server locks.
See the following newsgroup post.
Fortunately we dropped this and have a clean solution now (kdesktop).

David.

-----------------------

Subject: 
             Re: KDE is locked up - can't do anything: TEMPORARY SOLUTION
        Date: 
             Thu, 20 Jan 2000 13:53:13 +0300
       From: 
             Nikita V. Youshchenko <yoush@cs.msu.su>
 Organization: 
             CS MSU
 Newsgroups: 
             comp.windows.x.kde
  References: 
             1 , 2 , 3

>> Kill the X server: Ctrl-Alt-Backspace
>> 
>> That's a bit draconic, so you could also run through the ps output
looking
>> for things that start with 'k' running under your ID.
>
>A couple of times my KDE seemed to hang as well. Even Ctrl-Alt-Backspace
>did not work. However I was able to log in to my machine from another
>one, using telnet, and I found out that kwm was using all CPU-time
>available. Killing kwm also killed the X-server. Starting KDE again
>worked fine thereafter.
>
>The problem seems (but I am not sure) to be related to switching between
>the virtual desktops, I remapped the ctrl-arrows to do that, and so far
>the problem only occured when I was using these ctrl-arrows relatively
>fast.

Being somewhat tired of KDE 1.1.2 lockups, I wrote a LD_PRELOAD and dlopen()
stub to find out, what KDE component actually grabs X server and doesn't
ungrab
it.

I was quite surprised to know that is was krootwm ...
The code that is there seems to be quite clear and bug-free. But the fact is
that on X locks, krootwm calls XGrabServer() and doesn't call
XUngrabServer()...

A temporary solution for now is to log in remotely and kill krootwm. The
session will unlock. Then do Alt+F2 and restart krootwm.

A better solution may be to hack krootwm code and make it to stop root icon
selection operation and ungrab server anyway, say, in 15 seconds.

Good luck.

Nikita.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic