http://bugs.winehq.com/show_bug.cgi?id=1490
------- Additional Comments From k_wayne@linuxpower.org 2003-22-07 22:33 ------- I am new to wine debugging, but I saved the output from: wine --debugmsg +relay Bcs.exe
Below is the output leading up to the MessageBox error. I didn't know how much context to post. I don't really understand this stuff.
But I thought this might be helpful. (better than simply attaching the 18M of output!)
(the same problem occurs in win31 or win98 modes)
000a:Call PE DLL (proc=0x4148e188,module=0x41480000 (winedos.dll),type=1,res=(nil)) 000a:Call kernel32.SELECTOR_AllocBlock(000d0030,00000017,0000001b) ret=4148e828 000a:Ret kernel32.SELECTOR_AllocBlock() retval=000003b7 ret=4148e828 000a:Call kernel32.SELECTOR_AllocBlock(000d0050,00000600,0000001b) ret=4148e828 000a:Ret kernel32.SELECTOR_AllocBlock() retval=0000041f ret=4148e828 000a:Call kernel32.SELECTOR_AllocBlock(000d0650,00000500,0000001b) ret=4148e828 000a:Ret kernel32.SELECTOR_AllocBlock() retval=00000427 ret=4148e828 000a:Call kernel32.SELECTOR_AllocBlock(000d0b50,00000005,0000001b) ret=4148e828 000a:Ret kernel32.SELECTOR_AllocBlock() retval=0000042f ret=4148e828 000a:Call kernel32.SELECTOR_AllocBlock(000d0b60,00001000,00000013) ret=4148e878 000a:Ret kernel32.SELECTOR_AllocBlock() retval=00000437 ret=4148e878 000a:Call kernel32.CreateEventA(00000000,00000000,00000000,00000000) ret=4148e1ce 000a:Ret kernel32.CreateEventA() retval=0000006c ret=4148e1ce 000a:Ret PE DLL (proc=0x4148e188,module=0x41480000 (winedos.dll),type=1,res=(nil)) retval=1 000a:Call winedos.CallBuiltinHandler(4109290c,00000021) ret=4009d4d5 000a:Call kernel32.GetVersion16() ret=41494989 000a:Ret kernel32.GetVersion16() retval=07005f03 ret=41494989 000a:Call kernel32.GetVersion16() ret=414949a1 000a:Ret kernel32.GetVersion16() retval=07005f03 ret=414949a1 000a:Ret winedos.CallBuiltinHandler() retval=00000000 ret=4009d4d5 000a:Ret KERNEL.102: DOS3CALL() retval=none ret=02a7:9946 ds=02bf AX=0007 BX=0812 CX=3456 DX=0700 SI=0000 DI=02be ES=023f EFL=00000202 000a:Call KERNEL.30: WAITEVENT(0000) ret=02a7:9968 ds=02bf 000a:Ret KERNEL.30: WAITEVENT() retval=0000 ret=02a7:9968 ds=02bf 000a:Call USER.5: INITAPP(02be) ret=02a7:9971 ds=02bf 000a:Call kernel32.GlobalLock16(0000032f) ret=4084e9d9 000a:Ret kernel32.GlobalLock16() retval=402f7ff8 ret=4084e9d9 000a:Ret USER.5: INITAPP() retval=0001 ret=02a7:9971 ds=02bf 000a:Call KERNEL.102: DOS3CALL() ret=02a7:99ef ds=02bf AX=3500 BX=0812 CX=3456 DX=0700 SI=0000 DI=02be ES=023f EFL=00000202 000a:Call winedos.CallBuiltinHandler(4109290c,00000021) ret=4009d4d5 000a:Ret winedos.CallBuiltinHandler() retval=00000000 ret=4009d4d5 000a:Ret KERNEL.102: DOS3CALL() retval=none ret=02a7:99ef ds=02bf AX=3500 BX=0000 CX=3456 DX=0700 SI=0000 DI=02be ES=0427 EFL=00000202 000a:Call KERNEL.102: DOS3CALL() ret=02a7:9a11 ds=02a7 AX=2500 BX=0000 CX=3456 DX=9e1e SI=0000 DI=02be ES=0427 EFL=00000202 000a:Call winedos.CallBuiltinHandler(4109290c,00000021) ret=4009d4d5 000a:Ret winedos.CallBuiltinHandler() retval=00000000 ret=4009d4d5 000a:Ret KERNEL.102: DOS3CALL() retval=none ret=02a7:9a11 ds=02a7 AX=2500 BX=0000 CX=3456 DX=9e1e SI=0000 DI=02be ES=0427 EFL=00000202 000a:Call WIN87EM.1: _FPMATH() ret=02a7:9a33 ds=02bf AX=0000 BX=0000 CX=03ef DX=0000 SI=0097 DI=02be ES=023f EFL=00000246 000a:Ret WIN87EM.1: _FPMATH() retval=none ret=02a7:9a33 ds=02bf AX=0000 BX=0000 CX=03ef DX=0000 SI=0097 DI=02be ES=023f EFL=00000246 000a:Call WIN87EM.1: _FPMATH() ret=02a7:9a46 ds=02bf AX=e470 BX=0003 CX=03ef DX=02a7 SI=0097 DI=02be ES=023f EFL=00000246 000a:Ret WIN87EM.1: _FPMATH() retval=none ret=02a7:9a46 ds=02bf AX=e470 BX=0003 CX=03ef DX=02a7 SI=0097 DI=02be ES=023f EFL=00000246 000a:Call KERNEL.102: DOS3CALL() ret=02a7:ce1e ds=02bf AX=2abf BX=9132 CX=003c DX=0000 SI=91fe DI=91fe ES=02bf EFL=00000202 000a:Call winedos.CallBuiltinHandler(4109290c,00000021) ret=4009d4d5 000a:Call kernel32.GetLocalTime(41092808) ret=4149472d 000a:Ret kernel32.GetLocalTime() retval=00000001 ret=4149472d 000a:Ret winedos.CallBuiltinHandler() retval=00000000 ret=4009d4d5 000a:Ret KERNEL.102: DOS3CALL() retval=none ret=02a7:ce1e ds=02bf AX=2a03 BX=9132 CX=07d3 DX=0717 SI=91fe DI=91fe ES=02bf EFL=00000202 000a:Call KERNEL.102: DOS3CALL() ret=02a7:ce88 ds=02bf AX=2cbf BX=f9d2 CX=07d3 DX=0717 SI=91fe DI=91fe ES=02bf EFL=00000202 000a:Call winedos.CallBuiltinHandler(4109290c,00000021) ret=4009d4d5 000a:Call kernel32.GetLocalTime(410927f8) ret=414947ea 000a:Ret kernel32.GetLocalTime() retval=00000001 ret=414947ea 000a:Ret winedos.CallBuiltinHandler() retval=00000000 ret=4009d4d5 000a:Ret KERNEL.102: DOS3CALL() retval=none ret=02a7:ce88 ds=02bf AX=2cbf BX=f9d2 CX=0d23 DX=3652 SI=91fe DI=91fe ES=02bf EFL=00000202 000a:Call KERNEL.23: LOCKSEGMENT(ffff) ret=02a7:e4d0 ds=02bf 000a:Ret KERNEL.23: LOCKSEGMENT() retval=02bf ret=02a7:e4d0 ds=02bf 000a:Call KERNEL.5: LOCALALLOC(0020,0104) ret=02a7:e4dc ds=02bf 000a:Ret KERNEL.5: LOCALALLOC() retval=fa80 ret=02a7:e4dc ds=02bf 000a:Call KERNEL.24: UNLOCKSEGMENT(ffff) ret=02a7:e4e8 ds=02bf 000a:Ret KERNEL.24: UNLOCKSEGMENT() retval=4fa8 ret=02a7:e4e8 ds=02bf 000a:Call KERNEL.49: GETMODULEFILENAME(02be,02bf:fa80,0104) ret=02a7:9c35 ds=02bf 000a:Ret KERNEL.49: GETMODULEFILENAME() retval=000e ret=02a7:9c35 ds=02bf 000a:Call KERNEL.131: GETDOSENVIRONMENT() ret=02a7:9d9e ds=02bf 000a:Ret KERNEL.131: GETDOSENVIRONMENT() retval=00970000 ret=02a7:9d9e ds=02bf 000a:Call KERNEL.23: LOCKSEGMENT(ffff) ret=02a7:e4d0 ds=02bf 000a:Ret KERNEL.23: LOCKSEGMENT() retval=02bf ret=02a7:e4d0 ds=02bf 000a:Call KERNEL.5: LOCALALLOC(0020,064c) ret=02a7:e4dc ds=02bf err:local:LOCAL_GetBlock not enough space in local heap 02bf for 1616 bytes 000a:Ret KERNEL.5: LOCALALLOC() retval=0000 ret=02a7:e4dc ds=02bf 000a:Call KERNEL.24: UNLOCKSEGMENT(ffff) ret=02a7:e4e8 ds=02bf 000a:Ret KERNEL.24: UNLOCKSEGMENT() retval=4fa8 ret=02a7:e4e8 ds=02bf 000a:Call KERNEL.137: FATALAPPEXIT(0000,02bf9404 "not enough space for environment") ret=02a7:9e5c ds=02bf 000a:Call user32.MessageBoxA(00000000,402ee1d4 "not enough space for environment",00000000,00001000) ret=40081b75 000a:Call ntdll.RtlCreateUnicodeStringFromAsciiz(41092a40,402ee1d4 "not enough space for environment") ret=40848a8d 000a:Ret ntdll.RtlCreateUnicodeStringFromAsciiz() retval=00000001 ret=40848a8d