Re: [wmii] wmii-3.1 bug: libixp overload

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Tue, 19 Sep 2006 10:50:24 +0200

On Tue, Sep 19, 2006 at 01:45:37AM -0700, Suraj N. Kurapati wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello all,
>
> In wmii-3.1, it is possible to overload libixp with lots of 9P
> traffic, maintained _continuously_ for about a minute, such that it
> freezes. Attached is a GDB backtrace of the frozen state.
>
>
> You can reproduce this bug via the following steps.
>
> 1. Open two xterms in the same column.
>
> 2. Run "wmiir read /event" in the first xterm, so you can see what
> is happening.
>
> 3. Run the following command in the second xterm. (Increase the
> value of the $LOAD variable if this is not enough to freeze libixp
> on your system.)
>
> LOAD=100; for i in `seq $LOAD`; do echo $i; (while :; do echo 'Key
> Mod1-j' | wmiir write /event; done)& done
>
> 4. Wait until all the subprocesses have been spawned (hopefully wmii
> will have frozen by now).
>
> 5. Verify that wmii has frozen by running "wmiir read /" and
> noticing that no output is produced. Also, your shortcuts will not
> produce any effect.

Does this happens with hg tip as well? Can anyone check?

Please check if tuning maxfiles in your Unix environment will
increase this boundary (maybe the amount of fd's is exceeded).

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Sep 19 2006 - 10:50:24 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:14:06 UTC