http://bugs.winehq.org/show_bug.cgi?id=2778
------- Additional Comments From xerox_xerox2000@yahoo.co.uk 2005-26-10 06:53 ------- maybe this might clarify things:this is just before the messagebox comes up (wine compiled without flag -m32):
0009:Ret user32.InvalidateRect() retval=00000001 ret=006b96ef trace:seh:__regs_RtlRaiseException code=c0000005 flags=0 addr=0x57319e trace:seh:__regs_RtlRaiseException info[0]=00000000 trace:seh:__regs_RtlRaiseException info[1]=00000258 trace:seh:__regs_RtlRaiseException eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=7e1b7374 trace:seh:__regs_RtlRaiseException ebp=7fa7f3dc esp=7fa7f394 cs=0073 ds=007b es=007b fs=003b gs=0033 flags=00210246 trace:seh:EXC_CallHandler calling handler at 0x7193db code=c0000005 flags=0 0009:Call kernel32.GetModuleFileNameA(00000000,7fa7ed40,00000080) ret=0071f0b0 0009:Ret kernel32.GetModuleFileNameA() retval=00000023 ret=0071f0b0 0009:Call kernel32.GetVersion() ret=0071f033 0009:Ret kernel32.GetVersion() retval=08930005 ret=0071f033 0009:Call user32.MessageBoxA(00000000,00790dc0 "Assertion failed: !"bogus context in _ExceptionHandler()", file xx.cpp, li ne 3071",7fa7ed58 "KProbe2.exe",00012010) ret=0071f0fb (program fails)
compiled with m32 it looks like this:
0009:Ret user32.InvalidateRect() retval=00000001 ret=006b96ef trace:seh:__regs_RtlRaiseException code=c0000005 flags=0 addr=0x57319e trace:seh:__regs_RtlRaiseException info[0]=00000000 trace:seh:__regs_RtlRaiseException info[1]=00000258 trace:seh:__regs_RtlRaiseException eax=00000000 ebx=00000000 ecx=00000000 edx=00000000 esi=00000000 edi=7e027364 trace:seh:__regs_RtlRaiseException ebp=7fa6f3c4 esp=7fa6f37c cs=0073 ds=007b es=007b fs=003b gs=0033 flags=00210246 trace:seh:EXC_CallHandler calling handler at 0x7193db code=c0000005 flags=0 0009:Call ntdll.RtlUnwind(7fa6f3a0,0071a28f,7fa6f324,00000000) ret=0071a28f fs=003b eax=7fa6f3a0 ebx=7fa6f324 ecx=0073b090 edx=7fa6f324 esi=00000010 edi=7fa6f324 ebp=7fa6ed8c esp=7fa6ed28 ds=007b es=007b gs=0033 flags=00200202 trace:seh:__regs_RtlUnwind code=c0000005 flags=2 trace:seh:EXC_CallHandler calling handler at 0x7193db code=c0000005 flags=2 trace:seh:EXC_CallHandler handler returned 1 trace:seh:EXC_CallHandler calling handler at 0x7beaa6c4 code=c0000005 flags=2 trace:seh:EXC_CallHandler handler returned 1 0009:Ret ntdll.RtlUnwind() retval=00000000 ret=0071a28f fs=003b eax=00000000 ebx=7fa6f324 ecx=0073b090 edx=7fa6f324 esi=00000010 edi=7fa6f324 ebp=7fa6ed8c esp=7fa6ed28 ds=007b es=007b gs=0033 flags=00200202 0009:Call user32.InvalidateRect(00010034,00000000,00000000) ret=006b96ef (program proceeds fine)