Re: [wmii] BUG: coredump with gtksee in floating

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Thu, 27 Apr 2006 11:21:41 +0200

On Thu, Apr 27, 2006 at 11:15:30AM +0200, Nico Golde wrote:
> Hi,
> I can reproduce crash because of window placement code. ATAM
> I have not time to write a patch but I can provide a
> backtrace. When opening gtkpod in floating wmiiwm will
> crash:

>
> #0 0x0804ae57 in place_client (a=0x8089190, c=0x808c198) at area.c:222
> 222 f->rect.x = a->rect.x + (random()%(a->rect.width - f->rect.width));

Has been fixed a while ago in hg tip. Was division by zero if
a->rect.width == f->rect.width.

Thanks for reporting,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Thu Apr 27 2006 - 11:21:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:03:44 UTC