[Xfce-bugs] [XFCE 0000138]: Stops responding and takes CPU on workspace switching

xfce-bugs at xfce.org xfce-bugs at xfce.org
Wed Mar 24 22:06:53 CET 2004


A BUGNOTE has been added to this bug.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000138
=======================================================================
Reporter:                   bursa
Handler:                    olivier
=======================================================================
Project:                    XFCE
Bug ID:                     0000138
Category:                   xfwm
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
=======================================================================
Date Submitted:             2004-03-17 18:20 GMT
Last Modified:              2004-03-24 21:06 GMT
=======================================================================
Summary:                    Stops responding and takes CPU on workspace switching
Description: 
Occasionally when I switch workspaces, xfwm4 stops responding. I can still
type in the window with focus, but moving windows, creating new windows
(including menus), and switching workspaces is not possible. top shows
that xfwm4 is taking over 90% of the CPU. killall xfwm4 does not work.
killall -KILL xfwm4 does, but also restarts the X session. This time it
happened I captured a backtrace using gdb.

I'm using the debian package, version 4.0.3.1-2. Please let me know if
there is anything else I can do to help track this down next time it
happens.

Thanks
James
=======================================================================

-----------------------------------------------------------------------
 olivier - 2004-03-17 20:43 GMT 
-----------------------------------------------------------------------
Humm, never heard of any similar problem. The loop seems to occur in gtk,
anything special about your install?

PS: You may update to the latest xfce release.

Cheers,
Olivier.

-----------------------------------------------------------------------
 olivier - 2004-03-17 20:46 GMT 
-----------------------------------------------------------------------
Also, the killall -KILL xfwm4 should not restart your session as xfwm4
doesn't control it (on a "normal" install)

-----------------------------------------------------------------------
 olivier - 2004-03-19 07:15 GMT 
-----------------------------------------------------------------------
Also if you could identify the exact sequence that leads to this, that
would help... What apps are running, what few actions you perform just
before the problem arises, what seettings you hav set (focus mode, auto
raise, etc.)

TIA
Olivier.

-----------------------------------------------------------------------
 bursa - 2004-03-19 11:03 GMT 
-----------------------------------------------------------------------
I can't think of anything special about my install. I'm using the debian
unstable packages.

.xsession contains this:

/usr/bin/xfce-mcs-manager
export TERMCMD=gnome-terminal
/usr/bin/xfwm4 --daemon
xscreensaver &
gdesklets &
exec /usr/bin/xfce4-panel

.xfce4/settings/xfwm4.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mcs-option SYSTEM "mcs-option.dtd">
 
<mcs-option>
        <option name="Xfwm/BoxMove" type="int" value="0"/>
        <option name="Xfwm/BoxResize" type="int" value="0"/>
        <option name="Xfwm/ButtonLayout" type="string" value="O|HMC"/>
        <option name="Xfwm/ClickToFocus" type="int" value="0"/>
        <option name="Xfwm/DblClickAction" type="string" value="shade"/>
        <option name="Xfwm/FocusNewWindow" type="int" value="1"/>
        <option name="Xfwm/FocusRaise" type="int" value="0"/>
        <option name="Xfwm/KeyThemeName" type="string"
value="james.keys"/>
        <option name="Xfwm/RaiseDelay" type="int" value="250"/>
        <option name="Xfwm/RaiseOnClick" type="int" value="0"/>
        <option name="Xfwm/SnapToBorder" type="int" value="1"/>
        <option name="Xfwm/SnapToWindows" type="int" value="1"/>
        <option name="Xfwm/SnapWidth" type="int" value="10"/>
        <option name="Xfwm/ThemeName" type="string" value="ops"/>
        <option name="Xfwm/TitleAlign" type="string" value="left"/>
        <option name="Xfwm/TitleFont" type="string" value="Impact 13"/>
        <option name="Xfwm/WrapResistance" type="int" value="10"/>
        <option name="Xfwm/WrapWindows" type="int" value="1"/>
        <option name="Xfwm/WrapWorkspaces" type="int" value="0"/>
</mcs-option>

I'll see if I can reproduce the crash.

-----------------------------------------------------------------------
 olivier - 2004-03-19 21:50 GMT 
-----------------------------------------------------------------------
Please make sure you try either xfwm-4.0.4 or this preview version:

http://www.xfce.org/archive/test/xfwm4-4.0.5-cvs.tar.gz

TIA
Olivier.

-----------------------------------------------------------------------
 olivier - 2004-03-24 18:13 GMT 
-----------------------------------------------------------------------
Any update on this?

Olivier.

-----------------------------------------------------------------------
 bursa - 2004-03-24 20:05 GMT 
-----------------------------------------------------------------------
It has happened once since I reported the bug (today).

I've just got the latest cvs of xfwm4 and compiled it with debug enabled.
Hopefully this will give us some hint of the problem if it happens again.

James

-----------------------------------------------------------------------
 olivier - 2004-03-24 20:52 GMT 
-----------------------------------------------------------------------
Humm, you mean it happened before or after you upgrade to the latest
version?

Also, debug is *"very* verbose and may slow things too much (not counting
the size of the log)

One more thing, did you install xfwm4-4.0.4 or
http://www.xfce.org/archive/test/xfwm4-4.0.5-cvs.tar.gz ?

-----------------------------------------------------------------------
 Moe - 2004-03-24 20:57 GMT 
-----------------------------------------------------------------------
As a short sidenote: xfwm with debugging turned on was producing a logfile
of 70 MB while just starting up, moving the mouse a bit and shutting down
again. And that was ... almost 1 1/2 year ago ;-)

-----------------------------------------------------------------------
 bursa - 2004-03-24 21:06 GMT 
-----------------------------------------------------------------------
It happened before I upgraded. I've compiled what's in the cvs repository
at cvs.xfce.org (ie. from cvs checkout of xfwm4, libxfce4mcs,
libxfce4util, libxfcegui4, xfce-mcs-manager). I haven't noticed any
performance problems. The log has reached 700K in about an hour, but it's
no problem.



More information about the Xfce-bugs mailing list