problem with silly CreateBitmap call
the3dfxdude at gmail.com
Thu Sep 6 12:02:35 CDT 2007
On 9/6/07, Deun <deun76 at yahoo.com> wrote:
> I've tried the free-to-play MMORPG game called Perfect World (
> http://perfect-w.jp ) with wine 0.9.44 and it installs fine.
> However, when running it often crashed with the following error
> in the x11drv traces :
> trace:x11drv:X11DRV_CreateBitmap (0xed4) 2147483646x2147483646
> 1 bpp
> X Error of failed request: BadAlloc (insufficient resources
> for operation)
> Major opcode of failed request: 53 (X_CreatePixmap)
> Serial number of failed request: 3155
> Current serial number in output stream: 3163
> This occured after an attempt to load a bmp file that can't be
> found anywhere.
> The size of the bitmap seems crazy... So I've made a patch to
> fix this in bitmap.c by setting 1x1 size in case of stupid
> input instead of failing with BadAlloc. However, since it works
> fine on real windows, so I'm not sure about the behaviour that
> the function should have.
Look at the +bitmap debug channel, or others and trace to the original
call's parameters. Figure out how the app is wanting to create the
bitmap and write a test case for it and test on windows and wine.
More information about the wine-devel