Hello,

I tried to run a 16 bit app and it crashed. The famous last words are
in SWITCHSTACKTO. I did a --debugmsg +all but I've included only a few
lines, as the location seems obvious. Ideas anyone?

 Thanks
           Joerg

--
Joerg Mayer                                 eMail: <[EMAIL PROTECTED]>
Give an engineer a problem and a curious form of time dilation occurs /AC
trace:selector:SELECTOR_FreeBlock (228f,1)
trace:ldt:LDT_SetEntry entry=0451 base=00000000 limit=00000 bytes 16-bit flags=rw-
trace:global:GlobalHandle16 00ff
Ret  KERNEL.185: GLOBALDOSFREE() retval=0x0000 ret=1eef:15f9 ds=1ef7
trace:global:GlobalHandle16 00ff
Call KERNEL.18: GLOBALLOCK(0x2297) ret=1eef:22f2 ds=1ef7
trace:global:WIN16_GlobalLock16 (2297) -> 22970000
trace:global:GlobalHandle16 00ff
Ret  KERNEL.18: GLOBALLOCK() retval=0x22970000 ret=1eef:22f2 ds=1ef7
trace:global:GlobalHandle16 024f
RET  NL.235: _SNLMAL() retval = 2297:0012 ret=1abf:9629
trace:heap:HeapFree (40470000,00000002,41fa2830): returning TRUE
trace:global:GlobalHandle16 024f
trace:global:GlobalHandle16 00ff
Call KERNEL.15: GLOBALALLOC(0x0040,0x00004e20) ret=1abf:98bd ds=1c6f
trace:global:GLOBAL_Alloc 20000 flags=0040
trace:virtual:VirtualAlloc 41fb0000 00010000 1000 00000040
trace:virtual:VIRTUAL_SetProt 41fb0000-41fbffff c-rWx
View: 41eb0000 - 41fbffff -1
      41eb0000 - 41fbffff c-rWx
trace:heap:HeapAlloc (40470000,00000002,00004e20): returning 41fae92c
trace:ldt:LDT_SetEntry entry=0438 base=00000000 limit=00001 bytes 16-bit flags=rw-
trace:ldt:LDT_SetEntry entry=0438 base=41fae92c limit=04e1f bytes 16-bit flags=rw-
trace:global:GlobalHandle16 00ff
Ret  KERNEL.15: GLOBALALLOC() retval=0x21c7 ret=1abf:98bd ds=1c6f
trace:global:GlobalHandle16 00ff
Call KERNEL.18: GLOBALLOCK(0x21c7) ret=1abf:98c8 ds=1c6f
trace:global:WIN16_GlobalLock16 (21c7) -> 21c70000
trace:global:GlobalHandle16 00ff
Ret  KERNEL.18: GLOBALLOCK() retval=0x21c70000 ret=1abf:98c8 ds=1c6f
trace:global:GlobalHandle16 00ff
Call KERNEL.108: SWITCHSTACKTO(0x21c7,0x4e20,0x0000) ret=1abf:98ed ds=1c6f
trace:task:SwitchStackTo16 old=0607:7f08 new=21c7:4e20
trace:global:GlobalHandle16 00ff
Ret  KERNEL.108: SWITCHSTACKTO() retval=0xe92c ret=1abf:98ed ds=1c6f
trace:seh:EXC_RtlRaiseException code=c00000fd flags=0
08203830: exception_event( 
record={code=c00000fd,flags=0,rec=(nil),addr=0x98ed,params={}, first=1, 
context={flags=00000000,eax=0000e92c,ebx=00000012,ecx=00000000,edx=00000000,esi=00000000,edi=0000a242,ebp=00007f84,eip=000098ed,esp=40ec4dda,eflags=00010202,cs=1abf,ds=1c6f,es=2297,fs=0000,gs=0000,dr0=00000000,dr1=00000000,dr2=00000000,dr3=00000000,dr6=00000000,dr7=00000000,float={00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000}}
 )
08203830: exception_event() = 0 { status=0 }
trace:seh:EXC_CallHandler calling handler at 0x4017b1f0 code=c00000fd flags=008203830: 
exception_event( record={code=c00000fd,flags=0,rec=(nil),addr=0x98ed,params={}, 
first=0, 
context={flags=00000000,eax=0000e92c,ebx=00000012,ecx=00000000,edx=00000000,esi=00000000,edi=0000a242,ebp=00007f84,eip=000098ed,esp=40ec4dda,eflags=00010202,cs=1abf,ds=1c6f,es=2297,fs=0000,gs=0000,dr0=00000000,dr1=00000000,dr2=00000000,dr3=00000000,dr6=00000000,dr7=00000000,float={00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000}}
 )08203830: exception_event() = 0 { status=0 }

Reply via email to