[xmonad] Issue 576 in xmonad: On FreeBSD Xmonad loses first hotkey sometimes

codesite-noreply at google.com codesite-noreply at google.com
Mon Oct 13 19:24:39 UTC 2014


Comment #11 on issue 576 by dernst... at gmail.com: On FreeBSD Xmonad loses  
first hotkey sometimes
https://code.google.com/p/xmonad/issues/detail?id=576

I've had this problem for some time now  
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181049). Here are some  
of my observations so far:

GHC 7.4 is not affected
GHC 7.6 and 7.8 both seem to produce this bug

xmonad 0.8 did not show that bug
xmonad 0.11 did show the bug

As a workaround I copied the definition of spawn and doubleFork from xmonad  
0.8 into the xmonad 0.11 source code which then did not seem to exhibit  
this problem.

AFAICT it is related to interval timers. interval timers are supposed to be  
disabled right before execve(). executeFile does disable the interval  
timers but in some cases the call to setitimer does not always take place.  
Then the child process is terminated by a SIGALRM.

I am observing the same behaviour even when compiling with -rtsopts  
-with-rtsopts -v0.

Sadly I have no idea to fix or debug this. I started looking at the  
generated Core for affected/unaffected spawn/doubleFork versions but have  
no clue yet..


-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings


More information about the xmonad mailing list