[xmonad] Xmonad Restart not working

Raghavendra D Prabhu raghu.prabhu13 at gmail.com
Fri Dec 28 19:53:30 CET 2012


* On Fri, Dec 28, 2012 at 11:52:22PM +0530, Raghavendra D Prabhu <raghu.prabhu13 at gmail.com> wrote:
>With xmonad --recompile followed by xmonad --restart, sometimes there 
>is no restart but instead I get "stack overflow" in the xinit log 
>everytime I try to restart xmonad. This is with 1.13.1 version of X 
>server and darcs xmonad.

I fixed this by providing higher stack size while building 
cabal install --haddock-executables --ghc-option=+RTS --ghc-option=-K16m --ghc-option=-RTS

The default max stack size is 8M and if anything goes higher than 
that, a stack overflow exception is raised. (http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/runtime-control.html )

I wonder why this overflow happens when I restart it but not 
during normal start, is it because during restart double or more 
than double the stack size is required for a short while?


Raghavendra Prabhu
GPG Id : 0xD72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20121229/1b1c75c6/attachment.pgp>

More information about the xmonad mailing list