I hit this issue while trying to run winetest for WineConf. I looked into it and the crash is caused by this line in dlls/user32/tests/win.c:
SetWindowPos(hwnd, 0, 32768, 40000, 32768, 40000, SWP_NOMOVE);
More precisely it's the setting of the window width and height to 32768 x 40000 that causes the crash. Looking at the .xsession-errors file I see the window manager reporting the following X server error:
Anomalie dans le gestionnaire de fenĂȘtres : Unexpected X error: BadAlloc (insufficient resources for operation) serial 11940 error_code 11 request_code 53 minor_code 0)
Is it possible that this is just an out of memory issue caused by the huge window size? According to my tests 32000x32000 (a tad < 3GB) works but 32767x32767 (a tad >3GB) cause the crash.
Here's my configuration: * Intel Corporation Mobile 945GME Express Integrated Graphics Controller rev 3 * VideoRAM: 256MB (according to /var/log/Xorg.0.log) * xserver-xorg-video-intel 2:2.9.0-1 Latest from Debian Testing. Debian Unstable does not seem to have a more recent driver.
Marcus got the same issue and he had an Intel card too and we were the only two with this issue. So apparently this is Intel-specific.
Does any one have an Intel card where this does not happen? What's your driver version?
Francois Gouget wrote:
I hit this issue while trying to run winetest for WineConf. I looked into it and the crash is caused by this line in dlls/user32/tests/win.c:
SetWindowPos(hwnd, 0, 32768, 40000, 32768, 40000, SWP_NOMOVE);
More precisely it's the setting of the window width and height to 32768 x 40000 that causes the crash. Looking at the .xsession-errors file I see the window manager reporting the following X server error:
Anomalie dans le gestionnaire de fenĂȘtres : Unexpected X error: BadAlloc (insufficient resources for operation) serial 11940 error_code 11 request_code 53 minor_code 0)
Is it possible that this is just an out of memory issue caused by the huge window size? According to my tests 32000x32000 (a tad < 3GB) works but 32767x32767 (a tad >3GB) cause the crash.
Here's my configuration:
- Intel Corporation Mobile 945GME Express Integrated Graphics Controller rev 3
- VideoRAM: 256MB (according to /var/log/Xorg.0.log)
- xserver-xorg-video-intel 2:2.9.0-1 Latest from Debian Testing. Debian Unstable does not seem to have a more recent driver.
Marcus got the same issue and he had an Intel card too and we were the only two with this issue. So apparently this is Intel-specific.
Does any one have an Intel card where this does not happen? What's your driver version?
This happens on Mac OS X, too. Check out http://xquartz.macosforge.org/trac/ticket/293
Chip
On Sun, 8 Nov 2009, Francois Gouget wrote: [...]
Here's my configuration:
- Intel Corporation Mobile 945GME Express Integrated Graphics Controller rev 3
- VideoRAM: 256MB (according to /var/log/Xorg.0.log)
- xserver-xorg-video-intel 2:2.9.0-1 Latest from Debian Testing. Debian Unstable does not seem to have a more recent driver.
More data: * Marcus is running version 2.9.1 of the Intel driver (and gets the crash). * Michael Stefaniuc does not have the problem. He is using FC11's 2.8.0 version of the driver. * I tried Michael's FC11 intel_drv.so file on my system and I still get a crash. I also tried the 2.8.1 Ubuntu driver and got the same result. So the problem comes from some other part of Xorg or the kernel. * Michael is running the 2.6.32 kernel and I'm running the 2.6.30 one.