DIB crash with gdb

Vitaliy Margolen wine-devel at kievinfo.com
Thu Dec 22 20:14:17 CST 2011


On 12/22/2011 04:45 PM, Michael Ost wrote:
> Hi,
>
> I'm seeing a SEGV crash when running any wine program with wine 1.3.24 in
> gdb but not when running without the debugger. The crash is happening when
> writing to memory allocated by CreateDIBSection in the function
> create_alpha_bitmap(). The code is in user32/cursoricon.c.

This is not a crash, this is the way it supposed to work. At least until DIB 
is finished and this hack isn't needed.

Wine uses this trick to detect when DIB memory needs to be synchronized with 
the X server.

Vitaliy.



More information about the wine-devel mailing list