problem with silly CreateBitmap call

Jesse Allen the3dfxdude at
Thu Sep 6 13:42:57 CDT 2007

On 9/6/07, Rolf Kalbermatter <r.kalbermatter at> wrote:
> Since you say that this comes from trying to load a bitmap that can be
> nowhere
> found I wonder if this is the result of some unitialized structures that
> result
> in garbage but somehow the loading is not aborted with an error for whatever
> reasons but just passed further to X11DRV_CreateBitmap with whatever garbage
> happened to be in memory and here probably on the stack.

In testing the dib engine I found that I could pass in corrupt bitmaps
to the LoadImage function and wine would attempt to load it. I can't
remember the details exactly but I knew that it would not exactly
fail, while all image programs and windows itself didn't like the
bitmaps. There are some conformance issues there that I do not have
time to research. I do not think this problem is exactly related to
LoadImage, but however it might be having to do with uninitialized
structures like you say so I still suggest to trace the problem to the
original call.


More information about the wine-devel mailing list