Bug 68156 - "first-fit" window placement crashes Sawfish
Summary: "first-fit" window placement crashes Sawfish
Keywords:
Status: CLOSED DUPLICATE of bug 67918
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: gmp
Version: limbo
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-07 06:31 UTC by jbowman
Modified: 2007-04-18 16:43 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-07-07 21:15:30 UTC
Embargoed:


Attachments (Terms of Use)

Description jbowman 2002-07-07 06:31:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625

Description of problem:
Choosing "first-fit" for window placement in the sawfish configuration tool
results in sawfish crashing to the desktop the next time it tries to place a
window. Upon restart, it continues to crash as soon as it tries to place a window.

This has also occurred very occasionally (once a day, so far) with the standard
"top-left" placement method, however the first-fit method *always* works. 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Middle-click on the desktop and choose "customize", then "placement"
2. Choose "first-fit" and hit okay.
3. Spawn a new window by any means.
	

Actual Results:  Sawfish crashed back to the desktop and left me with the
following on my console:

rep: received fatal signal: Aborted

struct debug_buf common:

Backtrace in `fatal_signal_handler':
        <(null)+1107457944>
        <abort+409>
        <(null)+1074448636>
        <(null)+1074450908>
        <__gmp_rand+306>
        <__gmpz_urandomm+249>
        <(null)+1074026346>
        <(null)+1073985400>

Lisp backtrace:
#4   random ...
#3   sp-prune-points ...
#2   sp-make-grid ...
#1   sp-do-placement ...
#0   place-window (#<window 1a00002>)


waiting for X server to shut down


Expected Results:  The new window should have been placed appropriately.

Additional info:

This is on a pristine install of Limbo. The machine is a 1ghz Thunderbird Athlon
with 512mb RAM, Abit KT7a-RAID motherboard, and a Western Digital WD120JB hard
drive.

Comment 1 Havoc Pennington 2002-07-07 14:04:57 UTC
Filed upstream as http://bugzilla.gnome.org/show_bug.cgi?id=87565

Comment 2 jbowman 2002-07-07 19:33:24 UTC
Thanks. Here's the screendump from the occasional "top-left" mode crash:

randraw.c:118: GNU MP assertion failed: ((mp_limb_t) 1 << m2exp) > c
rep: received fatal signal: Aborted

struct debug_buf common:

Backtrace in `fatal_signal_handler':
        <(null)+1107457944>
        <abort+409>
        <(null)+1074448636>
        <(null)+1074450908>
        <__gmp_rand+306>
        <__gmpz_urandomm+249>
        <(null)+1074026346>
        <(null)+1073985400>

Lisp backtrace:
#2   random ...
#1   place-window-randomly ...
#0   place-window (#<window 1805d87>)


waiting for X server to shut down


Comment 3 Havoc Pennington 2002-07-07 21:15:26 UTC
gmp issue, see gnome.org bug comments.

Comment 4 jbowman 2002-07-07 21:28:12 UTC

*** This bug has been marked as a duplicate of 67918 ***


Note You need to log in before you can comment on or make changes to this bug.