[xmonad] Segfault

Spencer Janssen spencerjanssen at gmail.com
Tue Mar 31 19:23:49 EDT 2009


On Tue, Mar 31, 2009 at 07:50:29AM +0100, Jim Burton wrote:
> Hi, I'm using xmonad 0.8.1, GHC 6.10, Ubuntu intrepid, and every now and
> then I get an X error immediately after logging in and am bounced back to
> the login screen. Logging in again normally works fine. Here is
> .xsession-errors from one of those occasions:
> 
> /etc/gdm/Xsession: Beginning session setup...
> Setting IM through im-switch for locale=en_GB.
> Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to
> /etc/X11/xinit/xinput.d/default.
> /home/jim/.xsession: line 9:  5756 Segmentation fault      $CABAL_BIN/xmonad
> 
> ###############
> 
> And here is my .xinitrc:
> 
> #!/usr/bin/env bash
> xsetroot -cursor_name top_left_arrow -solid gray30
> CABAL_BIN=/home/jim/.cabal/bin
> $CABAL_BIN/xmobar &
> gnome-settings-daemon &
> numlockx on &
> unclutter &
> 
> $CABAL_BIN/xmonad
> 
> ################
> 
> The line .xsession-errors refers to is the last one, which launches
> xmonad. What's going on?
> 
> Thanks,
> 
> 
> -- 
> Jim Burton

We need information to see what is going on.  The most likely problem is a
miscompiled xmonad, try cleaning, rebuilding, and reinstalling xmonad and
contrib.  Finally, execute "xmonad --recompile".

If the problem persists, try to get a stack trace.


Cheers,
Spencer Janssen


More information about the xmonad mailing list