problem with silly CreateBitmap call

Rolf Kalbermatter r.kalbermatter at
Wed Sep 12 03:34:38 CDT 2007

denis.bonnenfant at wrote:

>I experienced exactly the same problem with Solidworks 2007
>with occasionnal big slowdowns caused by a 10000x10000x24bpp bitmap
>In this case it doesn't crashed, but allocate more than 1GB of swap.
>I filed a bug :

Well in the log at around line 3000 and 3072 I see the problem.
A 10000 * 10000 24 bit bitmap seems quite a little excessive to me
and it creates two of them. And it creates a third bitmap with a
different y dimension but the rest is the same.
Could be really an unitialized variable somehow. Now to find out
who calls CreateCompatibleBitmap at that position! Could be the
app itself so the question would be where did it get those parameters
from. Other debug channels inside Wine could be +bitblt, +cursor,
+icon, or one of the comdlg controls such as +imagelist.

Several calls to

trace:x11drv:X11DRV_SetWindowPos win 0x30274 window (0,0)-(10000,14)
client (0,0)-(10000,14) style 5001000b

right after that look also suspicious.

Rolf Kalbermatter

More information about the wine-devel mailing list