Red Hat Bugzilla – Bug 68429
when random(gmp_rand(lt)) is called, assertion failed and sawfish exits
Last modified: 2007-04-18 12:44:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625
Description of problem:
I've installed Limbo and want to try Sawfish WM alone without Gnome.
`switchdesk windowmaker`, wmaker -> sawfish (.Xclients-default) and
login. Now, I little bit customize sawfish by sawfish-ui tool and
set random window placement. Oooops, each new window crash sawfish,
especially gmp library where assertion failed in lt function
(see below). So, I modified ~/.sawfish/custom and I removed all
random stuff. Now, sawfish works "fine". Yesterday I was working
on some math stuff in LaTeX and I want to see my output in
xdvi and it fails again in the same way as above. As you can see,
everything is related to assertion failed in _gmp_rand, especially
lt( function. Related output is here ...
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-50.17) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.17-0.13smp i686 [ELF]
Build Host: daffy.perf.redhat.com
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.1.log", Time: Wed Jul 10 08:24:42 2002
(==) Using config file: "/etc/X11/XF86Config-4"
randraw.c:118: GNU MP assertion failed: ((mp_limb_t) 1 << m2exp) > c
rep: received fatal signal: Nezspl9nl ukonhen (SIGABRT)
struct debug_buf common:
Backtrace in `fatal_signal_handler':
#2 random ...
#1 place-window-randomly ...
#0 place-window (#<window 800035>)
waiting for X server to shut down xterm: fatal IO error 32 (Pxeru9ena roura
(SIGPIPE)) or KillClient on X server ":1.0"
As you can see from list backtrace, random was called and
then _gmp_rand (from this lt( ) and crash is here.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Limbo, choose Sawfish as alone WM (without gnome)
2.Choose random window placement (in customization tool)
3.Try to open any window, for intance xterm
Actual Results: Non working sawfish with random, it's not usable for
desktop work with lot of windows ...
I'll attach my tahak.tex file, so you can dvi it `latex tahak.tex`
and try to display result by `xdvi tahak.dvi` and you'll see crashed
Sawfish. If this will not work, try the other thing, customize
sawfish to place new windows randomly and sawfish crash will be here
Created attachment 64525 [details]
DVI it and try to display, Sawfish crash
P.S. Maybe, it's not Sawfish related problem, it can be rep-gtk or gmp library,
but I'm not sure, so I started at Sawfish ...
Believed to be fixed in gmp 4.1-4
Tried with 4.1-4 and it works fine here, thanks ...