Issue 448 in xmonad: Applications crash with message 'BadAlloc (insufficient resources for operation)' in specific workspace

Status: New Owner: ---- New issue 448 by damian.o...@gmail.com: Applications crash with message 'BadAlloc (insufficient resources for operation)' in specific workspace http://code.google.com/p/xmonad/issues/detail?id=448 I get this error randomly, if I try to open 2 windows in a specific workspace, I get as an error: The program 'xxx' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 2697 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I don't have the problem in other workspaces. What steps will reproduce the problem? Sadly this error occurs randomly. Here are the steps that caused the last error. 1. Open evince document viewer in workspace 2. 2. Open a new evince window (using Ctrl+n) 3. Try to resize the masterpane. Evince will crash, and from this point onwards it is not possible to have two windows at the same time in workspace 2. What version of the product are you using? On what operating system? Xmonad version: xmonad 0.9.1 Operating system: Ubuntu 11.04, kernel 2.6.38-9-generic Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". Please provide any additional information below. Attachments: xmonad.hs 7.1 KB xorg.conf 2.2 KB

Comment #1 on issue 448 by damian.o...@gmail.com: Applications crash with message 'BadAlloc (insufficient resources for operation)' in specific workspace http://code.google.com/p/xmonad/issues/detail?id=448 The steps I entered indeed reproduce the bug. I've tried without xinerama and I get the same error.

Comment #2 on issue 448 by damian.o...@gmail.com: Applications crash with message 'BadAlloc (insufficient resources for operation)' in specific workspace http://code.google.com/p/xmonad/issues/detail?id=448 I found out the error. I used a 0.5 increment ratio: normal = (Tall 1 (50/100) (1/2)) Instead of 3/100. If I change my config file replacing the above line to normal = (Tall 1 (3/100) (1/2)) then the crash does not occur. Now my question is, can this be prevented, even if a silly user like me enters these values in the configuration?
participants (1)
-
codesite-noreply@google.com