codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

Crash when closing pidgin #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start pidgin.
2. Start a conversation, so pidgin has two visible windows.
3. Close the main pidgin window with Alt-Shift-c.

What is the expected output? What do you see instead?

Pidgin and all conversation windows should close, and XMonad should happily
rearange other windows if they exist. Instead, the XMonad session crashes.
In my case, gdm presents me with a login screen.

What version of the product are you using? On what operating system?

I'm using:
 * xmonad 0.6
 * X11 Haskell libraries 1.4.1
 * xmonad-contrib 0.6 (although using a non-standard layout is not required
for the bug to occur)
 * xmobar 0.8 (probably irrelevant)

Please provide any additional information below.

.xsession-errors reports a segmentation fault without further information.
I'm not sure how to get more information about what goes wrong exactly.

Original issue reported on code.google.com by jeroenleeuwestein@gmail.com on 15 Feb 2008 at 3:03

GoogleCodeExporter commented 8 years ago
> xmonad-contrib 0.6 (although using a non-standard layout is not required
for the bug to occur)

Can you please double check that this is the case?  This sounds like an old 
issue in
avoidStruts (that should be fixed now).  Please see if you can reproduce with 
the
stock config only.  Your xmonad.hs or a list of extensions used would also be 
helpful.

Also, what architecture are you on?

Original comment by SpencerJ...@gmail.com on 16 Feb 2008 at 11:43

GoogleCodeExporter commented 8 years ago
I've been suffering from this issue too. My xmonad.hs is here:
http://hg.scarybox.net/configs/file/tip/.xmonad/xmonad.hs

Should I try with "vanilla" layouts (myLayout = tiled ||| Mirror tiled ||| 
Full)?

Original comment by meqif.ki...@gmail.com on 26 Feb 2008 at 10:27

GoogleCodeExporter commented 8 years ago
This happened again when I was using only the layoutHints module (myLayout =
layoutHints $ tiled ||| Mirror tiled ||| Full).

I'm now trying with only the NoBorders module (myLayout = smartBorders $ tiled 
|||
Mirror tiled ||| Full). If xmonad crashes again in the same situation, I'll try 
the
vanilla layouts, though I'm fairly confident the problem lies with the 
layoutHints
module.

Original comment by meqif.ki...@gmail.com on 27 Feb 2008 at 12:14

GoogleCodeExporter commented 8 years ago
Ok, it happened both with only the NoBorders module and with vanilla layouts.

Original comment by meqif.ki...@gmail.com on 27 Feb 2008 at 2:11

GoogleCodeExporter commented 8 years ago
Can you confirm pidgin still fails with no extensions (or xmonad.hs file) 
whatsoever?

Original comment by don...@gmail.com on 7 Mar 2008 at 7:32

GoogleCodeExporter commented 8 years ago
I tried the default configuration (no xmonad.hs-file) and the crash did not 
occur. I
narrowed the problem down to withUrgencyHook, so I guess that makes it a bug in
xmonad-contrib.

fails:
  main = xmonad $ withUrgencyHook NoUrgencyHook myConfiguration
works:
  main = xmonad myConfiguration

Original comment by jeroenleeuwestein@gmail.com on 27 Mar 2008 at 3:24

GoogleCodeExporter commented 8 years ago
If you set the environment variable AWT_TOOLKIT=MToolkit (for example, put the 
line

export AWT_TOOLKIT=MToolkit

in your .xsession or wherever you start xmonad from), does it still crash?  
This has
worked for me and might be a viable workaround until the real bug is addressed.

Also see #165.

Original comment by byor...@gmail.com on 27 Mar 2008 at 6:58

GoogleCodeExporter commented 8 years ago
sjanssen just made a patch to the X11 library, can you test and see whether 
this is
now fixed?

http://code.haskell.org/~sjanssen/X11-1.4.2.tar.gz

Be sure to clean and rebuild xmonad and xmonad-contrib (runhaskell Setup clean; 
then
runhaskell Setup config ...  whatever you normally do to build) after 
installing the
new X11, then force xmonad.hs to be recompiled by running 'xmonad --recompile' 
at the
command line.

Original comment by byor...@gmail.com on 27 Mar 2008 at 8:00

GoogleCodeExporter commented 8 years ago
The 'export' byorgey recommended didn't help. I tried removing the UrgencyHook 
and
pidgin didn't crash. Then I re-added the UrgencyHook, installed the patched X11 
lib,
recompiled xmonad and xmonad-contribs and pidgin didn't crash after my tests. :)

Can anyone else confirm that the patched X11 library fixes this?

Original comment by meqif.ki...@gmail.com on 27 Mar 2008 at 10:24

GoogleCodeExporter commented 8 years ago
After disabling UrgencyHooks, my xmonad doesn't crash anymore while closing 
Pidgin or
Swing-based applications.

Original comment by luizribe...@gmail.com on 28 Mar 2008 at 2:11

GoogleCodeExporter commented 8 years ago
Fixed in the new X11, which will be on hackage shortly.

Original comment by SpencerJ...@gmail.com on 28 Mar 2008 at 6:28