[M3devel] Juno/Thread/Win32 notes (crashing intermittently from way back when..)

Jay K jay.krell at cornell.edu
Mon Oct 26 10:46:06 CET 2009


Here's a better view of the problem, again in 5.2.6.
Notice 00e15888 repeating in both threads' parameters.
This seems like a simple "add a lock use somewhere" problem
but I have little idea of Trestle's locking protocols,
apparently a complicated topic.
You know, somehow redisplay/reshape need more serialization,
but I don't know exactly what.
 
 
The call to Capture fails with a dereference of NIL in the LOCK use.
 
 
The unusual part I think is:
0012fce8 0053ce4c 007441f0 00f74194 00000000 Juno!VBTRep__Redisplay+0x410 [VBTRep.m3 @ 652]
0012fd44 0050478c 00f74194 00000000 00fbe5bc Juno!TextPort__TryFocus+0x12 [TextPort.m3 @ 437]

 
That's probably not how Redisplay is normally used?
 
 
I'll look again at head and see if the behavior resembles 5.2.6.
 
 
0:000> .logopen c:\2.log
Opened log file 'c:\2.log'
0:000> ~*kv99
.  0  Id: 2ec.ce8 Suspend: 1 Teb: 7ffdf000 Unfrozen
ChildEBP RetAddr  Args to Child              
0012ea74 005b1661 00000000 0012ea9c 0012eab8 Juno!VBT__Capture+0x36 [VBT.m3 @ 1175]
0012eacc 005b0142 00e15888 0000005d 000001aa Juno!DblBufferVBT__PaintVBTtoVBT+0x71 [DblBufferVBT.m3 @ 424]
0012eb50 005c0df2 00e15888 0012eba4 0012ec4c Juno!DblBufferVBT__Reshape+0x17e [DblBufferVBT.m3 @ 108]
0012ebd8 005ea7cd 00e15888 0012ec4c 0012ec6c Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012ebf8 005c0df2 00ee1a50 0012ec4c 0012ecf4 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012ec80 005ea7cd 00ee1a50 0012ecf4 0012ed14 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012eca0 005c0df2 00ee0988 0012ecf4 00ee0988 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012ed28 005cb722 00ee0988 0012ed5c 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012ed70 005cb40d 00fc3e08 00000001 0012ef10 Juno!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
0012ee8c 005cae70 00fc3e08 00000001 0012ef30 Juno!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
0012eebc 005c0df2 00fc3e08 0012ef10 00fc3e08 Juno!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
0012ef44 005cb722 00fc3e08 0012ef78 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012ef8c 005cb40d 012c75a8 00000001 0012f12c Juno!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
0012f0a8 005cae70 012c75a8 00000001 0012f14c Juno!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
0012f0d8 005c0df2 012c75a8 0012f12c 012c75a8 Juno!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
0012f160 005cb722 012c75a8 0012f194 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012f1a8 005cb40d 012c3334 00000001 0012f348 Juno!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
0012f2c4 005cae70 012c3334 00000001 0012f368 Juno!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
0012f2f4 005c0df2 012c3334 0012f348 012c3334 Juno!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
0012f37c 005cb722 012c3334 0012f3b0 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012f3c4 005cb40d 012b7c9c 00000001 0012f564 Juno!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
0012f4e0 005cae70 012b7c9c 00000001 0012f584 Juno!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
0012f510 005c0df2 012b7c9c 0012f564 0012f5e4 Juno!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
0012f598 005ea7cd 012b7c9c 0012f5e4 0012f604 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012f5b8 005603a0 012b06b8 0012f5e4 0012f66c Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012f618 005c0df2 012b06b8 0012f66c 0012f6f4 Juno!ReactivityVBT__Reshape+0xb9 [ReactivityVBT.m3 @ 166]
0012f6a0 005ea7cd 012b06b8 0012f6f4 0012f714 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012f6c0 005d9556 012b7c18 0012f6f4 0012f77c Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012f728 005c0df2 012b7c18 0012f77c 0012f92c Juno!HighlightVBT__Reshape+0xc0 [HighlightVBT.m3 @ 64]
0012f7b0 005d1a08 012b7c18 0141c7cc 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012f880 005d0b6e 00f7437c 0012f8ac 00000001 Juno!ZSplit__Redisplay3+0x748 [ZSplit.m3 @ 508]
0012f9d4 005d00e8 00f7437c 00000001 00000000 Juno!ZSplit__Redisplay2+0x85d [ZSplit.m3 @ 324]
0012fa50 005c0df2 00f7437c 0012faa4 0012fb4c Juno!ZSplit__Reshape+0x3d9 [ZSplit.m3 @ 219]
0012fad8 005ea7cd 00f7437c 0012fb4c 0012fb6c Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012faf8 005c0df2 00e2cf78 0012fb4c 0012fbf4 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012fb80 005ea7cd 00e2cf78 0012fbf4 0012fc14 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012fba0 005c0df2 00fbeb28 0012fbf4 0075aa78 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
0012fc28 005d51c9 00fbeb28 00fbe684 00fbe684 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
0012fc4c 005c2011 00fbe670 00ec8ec8 00000000 Juno!TSplit__Redisplay+0xa9 [TSplit.m3 @ 76]
0012fc84 005d8514 00fbe670 007441f0 00f74194 Juno!VBTClass__Redisplay+0xe9 [VBTClass.m3 @ 367]
0012fce8 0053ce4c 007441f0 00f74194 00000000 Juno!VBTRep__Redisplay+0x410 [VBTRep.m3 @ 652]
0012fd44 0050478c 00f74194 00000000 00fbe5bc Juno!TextPort__TryFocus+0x12 [TextPort.m3 @ 437]
0012fd74 005066c1 00fbeb28 00000000 00fbe5bc Juno!FVRuntime__FirstFocus+0xd7 [FVRuntime.m3 @ 1011]
0012fdb8 0043cfa6 00fbe5bc 0043e7c8 00000000 Juno!FormsVBT__PutInteger+0x117 [FVRuntime.m3 @ 1558]
0012fed4 00677aeb 00000001 0067805c 00737298 Juno!Juno_M3+0x1453 [Juno.m3 @ 2157]
0012ff18 006770c3 00737298 00332d28 00737298 Juno!RTLinker__RunMainBody+0x25a [RTLinker.m3 @ 387]
0012ff30 0067716c 00737298 00332d28 004019b0 Juno!RTLinker__AddUnitI+0x6f [RTLinker.m3 @ 100]
0012ff54 00402b78 004019b0 7c911460 0006f4cc Juno!RTLinker__AddUnit+0xa1 [RTLinker.m3 @ 110]
0012ff70 006aed8f 00000003 00332508 00332d28 Juno!main+0x38 [_m3main.mc @ 4]
0012ffc0 7c817077 7c911460 0006f4cc 7ffd4000 Juno!mainCRTStartup+0xff
WARNING: Stack unwind information not available. Following frames may be wrong.
0012fff0 00000000 006aec90 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49
 
 
   6  Id: 2ec.133c Suspend: 1 Teb: 7ffd9000 Unfrozen
ChildEBP RetAddr  Args to Child              
WARNING: Stack unwind information not available. Following frames may be wrong.
053ff914 005f255f 0c012255 0000014d 00000237 ntdll!KiFastSystemCallRet
053ff950 005f24cf 0000014d 00000237 00ed9464 Juno!WinTrestle__CreateMemoryDC+0x6d [WinTrestle.m3 @ 1335]
053ff974 005f0dc4 00eda77c 0000014d 00000237 Juno!WinTrestle__CreateOffscreen+0x41 [WinTrestle.m3 @ 1315]
053ff9b4 005bef04 00d22780 00ed9464 0000014d Juno!WinTrestle__InstallOffScreen+0x15d [WinTrestle.m3 @ 694]
053ff9f0 005b1195 00ed9264 0000014d 00000237 Juno!Trestle__InstallOffscreen+0x1cd [Trestle.m3 @ 764]
053ffa70 005b12a1 00e15888 053ffb00 00e15888 Juno!DblBufferVBT__InstallOffscreen+0x134 [DblBufferVBT.m3 @ 361]
053ffaa8 005b01da 00e15888 053ffb60 00e15888 Juno!DblBufferVBT__ReshapeOffScreen+0xb6 [DblBufferVBT.m3 @ 390]
053ffb0c 005c0df2 00e15888 053ffb60 053ffc08 Juno!DblBufferVBT__Reshape+0x216 [DblBufferVBT.m3 @ 112]
053ffb94 005ea7cd 00e15888 053ffc08 053ffc28 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
053ffbb4 005c0df2 00ee1a50 053ffc08 053ffcb0 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
053ffc3c 005ea7cd 00ee1a50 053ffcb0 053ffcd0 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
053ffc5c 005c0df2 00ee0988 053ffcb0 00ee0988 Juno!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
053ffce4 005cb722 00ee0988 053ffd18 0062c0f4 Juno!VBTClass__Reshape+0x2db [VBTClass.m3 @ 153]
053ffd2c 005cb40d 00fc3e08 00000000 00ed91b0 Juno!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
053ffe48 005cb345 00fc3e08 00000000 00fc3e1c Juno!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
053ffe68 005c2011 00fc3e08 00ed91b0 00000004 Juno!HVSplit__Redisplay+0x21 [HVSplit.m3 @ 493]
053ffea0 005d8514 00fc3e08 0067ddb4 00cc7880 Juno!VBTClass__Redisplay+0xe9 [VBTClass.m3 @ 367]
053fff04 005d807e 0067ddb4 053fff40 00d23044 Juno!VBTRep__Redisplay+0x410 [VBTRep.m3 @ 652]
053fff2c 005d80d2 00cc092c 00cc7890 005d9110 Juno!VBTRep__UncoverRedisplay+0xa0 [VBTRep.m3 @ 602]
053fff50 0067eb2e 00cc7890 053fffb0 04cdef20 Juno!VBTRep__RdApply+0x4f [VBTRep.m3 @ 606]
053fff88 0067e9bf 04cdef20 69662074 0012fbb4 Juno!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
053fffb4 7c80b729 04cdef20 69662074 0012fbb4 Juno!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
053fffec 00000000 0067e985 04cdef20 00000000 kernel32!GetModuleFileNameA+0x1ba



 - Jay


________________________________
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> CC: m3devel at elegosoft.com
> Subject: RE: [M3devel] Juno/Thread/Win32 notes (crashing intermittently from way back when..)
> Date: Mon, 26 Oct 2009 03:26:46 +0000
>
>
>
>
>
>
>
>
> full disclosure:
> This version has the bug where non-standalone NT apps don't do set operations correctly.
>
> (This is fixed in newer source, related to dynamically linking to data instead of the usual functions.)
> I'll retest with standalone.
>
>
>
> If that survives hundreds of iterations I can go forward gradually and find when things broke.
>
>
>
> - Jay
>
>
> ________________________________
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> Date: Mon, 26 Oct 2009 02:45:57 +0000
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Juno/Thread/Win32 notes (crashing intermittently from way back when..)
>
>
>
> I should show all thread stacks, threads 0 and 6 seem to be in nearby code.
>
> 0:000> ~*k
> . 0 Id: 1374.1548 Suspend: 1 Teb: 7ffdf000 Unfrozen
> ChildEBP RetAddr
> 0012ea74 00757a61 m3ui!VBT__Capture+0x36 [VBT.m3 @ 1175]
> 0012eacc 00756542 m3ui!DblBufferVBT__PaintVBTtoVBT+0x71 [DblBufferVBT.m3 @ 424]
> 0012eb50 0073d1ad m3ui!DblBufferVBT__Reshape+0x17e [DblBufferVBT.m3 @ 108]
> 0012ebd8 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ebf8 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0012ec80 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012eca0 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0012ed28 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ed70 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012ee8c 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012eebc 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012ef44 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ef8c 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012f0a8 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012f0d8 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012f160 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012f1a8 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012f2c4 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012f2f4 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012f37c 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 1 Id: 1374.620 Suspend: 1 Teb: 7ffde000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0500ffb4 7c80b729 ntdll!KiFastSystemCallRet
> 0500ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 2 Id: 1374.464 Suspend: 1 Teb: 7ffdd000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0510feb0 7c802455 ntdll!KiFastSystemCallRet
> 0510fec0 00391ebd kernel32!Sleep+0xf
> 0510fef4 0074403f m3core!Thread__Pause+0x6c [ThreadWin32.m3 @ 696]
> 0510ff50 0039183e m3ui!VBTRep__MeterMaid+0x24d [VBTRep.m3 @ 460]
> 0510ff88 003916cf m3core!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
> 0510ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
> 0510ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 3 Id: 1374.88c Suspend: 1 Teb: 7ffdc000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0520fd38 7c802542 ntdll!KiFastSystemCallRet
> 0520fd4c 00390be9 kernel32!WaitForSingleObject+0x12
> 0520fd80 0071a40f m3core!ThreadWin32__LockMutex+0x125 [ThreadWin32.m3 @ 152]
> 0520fdc4 00719335 m3ui!WinTrestle__PaintBatchVBT+0x57 [WinTrestle.m3 @ 1558]
> 0520fe04 7e418734 m3ui!WinTrestle__WindowProc+0x3f5 [WinTrestle.m3 @ 1149]
> 0520fe30 7e418816 USER32!GetDC+0x6d
> 0520fe98 7e4189cd USER32!GetDC+0x14f
> 0520fef8 7e4196c7 USER32!GetWindowLongW+0x127
> 0520ff08 0071cbde USER32!DispatchMessageA+0xf
> 0520ff50 0039183e m3ui!WinTrestle__MessengerApply+0x125 [WinTrestle.m3 @ 2441]
> 0520ff88 003916cf m3core!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
> 0520ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
> 0520ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 4 Id: 1374.1410 Suspend: 1 Teb: 7ffdb000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0530feb8 7c802542 ntdll!KiFastSystemCallRet
> 0530fecc 00390d8b kernel32!WaitForSingleObject+0x12
> 0530fef0 00390edf m3core!ThreadWin32__InnerWait+0x86 [ThreadWin32.m3 @ 224]
> 0530ff18 006c6e84 m3core!Thread__Wait+0x4d [ThreadWin32.m3 @ 262]
> 0530ff50 0039183e m3vbtkit!VTView__VFontCleanUpThread+0x66 [VTView.m3 @ 111]
> 0530ff88 003916cf m3core!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
> 0530ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
> 0530ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 5 Id: 1374.1624 Suspend: 1 Teb: 7ffda000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0540fed4 7c802455 ntdll!KiFastSystemCallRet
> 0540fee4 00391ebd kernel32!Sleep+0xf
> 0540ff18 0064a87f m3core!Thread__Pause+0x6c [ThreadWin32.m3 @ 696]
> 0540ff50 0039183e m3vbtkit!FileBrowserVBT__Watcher+0x1f2 [FileBrowserVBT.m3 @ 25
> 9]
> 0540ff88 003916cf m3core!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
> 0540ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
> 0540ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 6 Id: 1374.1188 Suspend: 1 Teb: 7ffd9000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0550f87c 7c9010fd ntdll!KiFastSystemCallRet
> 0550f8b0 0075a2cb ntdll!RtlLeaveCriticalSection+0x1d
> 0550f8f0 00774164 m3ui!FilterClass__Replace+0x116 [FilterClass.m3 @ 91]
> 0550f91c 00759ffa m3ui!Filter__Replace+0xab [Filter.m3 @ 30]
> 0550f94c 00770fa2 m3ui!FilterClass__Be+0x8a [FilterClass.m3 @ 39]
> 0550f974 00785c61 m3ui!HighlightVBT__Be+0x102 [HighlightVBT.m3 @ 42]
> 0550f9ac 0078749c m3ui!InstalledVBT__InitChild+0xba [InstalledVBT.m3 @ 41]
> 0550f9dc 0078719a m3ui!Trestle__InnerAttach+0x3a [Trestle.m3 @ 371]
> 0550f9f8 00757558 m3ui!Trestle__Attach+0x29 [Trestle.m3 @ 285]
> 0550fa70 007576a1 m3ui!DblBufferVBT__InstallOffscreen+0xf7 [DblBufferVBT.m3 @ 36
> 0]
> 0550faa8 007565da m3ui!DblBufferVBT__ReshapeOffScreen+0xb6 [DblBufferVBT.m3 @ 39
> 0]
> 0550fb0c 0073d1ad m3ui!DblBufferVBT__Reshape+0x216 [DblBufferVBT.m3 @ 112]
> 0550fb94 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0550fbb4 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0550fc3c 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0550fc5c 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0550fce4 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0550fd2c 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0550fe48 0075d085 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0550fe68 0073e419 m3ui!HVSplit__Redisplay+0x21 [HVSplit.m3 @ 493]
> 7 Id: 1374.140c Suspend: 1 Teb: 7ffd8000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0582ff70 7c802542 ntdll!KiFastSystemCallRet
> 0582ff84 0039170f kernel32!WaitForSingleObject+0x12
> 0582ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x7a [ThreadWin32.m3 @ 501]
> 0582ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 8 Id: 1374.1050 Suspend: 1 Teb: 7ffd7000 Unfrozen
> ChildEBP RetAddr
> WARNING: Stack unwind information not available. Following frames may be wrong.
> 0592fee0 7c802542 ntdll!KiFastSystemCallRet
> 0592fef4 00390be9 kernel32!WaitForSingleObject+0x12
> 0592ff28 007448bc m3core!ThreadWin32__LockMutex+0x125 [ThreadWin32.m3 @ 152]
> 0592ff50 0039183e m3ui!VBTRep__RdApply+0x33 [VBTRep.m3 @ 606]
> 0592ff88 003916cf m3core!ThreadWin32__RunThread+0x106 [ThreadWin32.m3 @ 531]
> 0592ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x3a [ThreadWin32.m3 @ 497]
> 0592ffec 00000000 kernel32!GetModuleFileNameA+0x1ba
> 0:000>
>
>
> - Jay
>
>
>
>
>
> ________________________________
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> CC: m3devel at elegosoft.com
> Subject: RE: [M3devel] Juno/Thread/Win32 notes (crashing intermittently from way back when..)
> Date: Mon, 26 Oct 2009 02:43:29 +0000
>
>
>
> I ran like another 200, no occurence, then another 430 and it did occur, again this is with very old 5.2.6, seeing if it ever worked, and this time I added the lock that Tony recently added. With this high a number of occurences to see it happen I'm going to test head again on non-NT.
>
> (1374.1548): Access violation - code c0000005 (first chance)
> First chance exceptions are reported before any exception handling.
> This exception may be expected and handled.
> eax=0012ea9c ebx=00f78b1c ecx=00000000 edx=00000237 esi=00000000 edi=0012eba4
> eip=0073990f esp=0012e9c8 ebp=0012ea74 iopl=0 nv up ei pl nz ac pe nc
> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216
> *** WARNING: Unable to verify checksum for C:\cm3-5.2.6\bin\m3ui.dll
> m3ui!VBT__Capture+0x36:
> 0073990f 8b5e00 mov ebx,dword ptr [esi] ds:0023:00000000=????????
> 0:000> r esi
> esi=00000000
> 0:000> .lines
> Line number information will be loaded
> 0:000> k
> *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdl
> l.dll -
> ChildEBP RetAddr
> 0012ea74 00757a61 m3ui!VBT__Capture+0x36 [VBT.m3 @ 1175]
> 0012eacc 00756542 m3ui!DblBufferVBT__PaintVBTtoVBT+0x71 [DblBufferVBT.m3 @ 424]
> 0012eb50 0073d1ad m3ui!DblBufferVBT__Reshape+0x17e [DblBufferVBT.m3 @ 108]
> 0012ebd8 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ebf8 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0012ec80 0075a1ad m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012eca0 0073d1ad m3ui!FilterClass__Reshape+0x30 [FilterClass.m3 @ 84]
> 0012ed28 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ed70 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012ee8c 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012eebc 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012ef44 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012ef8c 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012f0a8 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012f0d8 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012f160 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
> 0012f1a8 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e [HVSplit.m3 @ 542]
> 0012f2c4 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0 [HVSplit.m3 @ 505]
> 0012f2f4 0073d1ad m3ui!HVSplit__Reshape+0xde [HVSplit.m3 @ 428]
> 0012f37c 0075d462 m3ui!VBTClass__Reshape+0x2e6 [VBTClass.m3 @ 153]
>
>
> - Jay
>
>
>
>
> ________________________________
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> Date: Sun, 25 Oct 2009 11:55:42 +0000
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Juno/Thread/Win32 notes (crashing intermittently from way back when..)
>
>
>
> Hm, oh well, back in 5.2.6 (2003-06-27), after 50 runs of Juno I get:
>
> (I added @M3no-trestle-await-delete so that I can run in a loop, as well as the WinContext.m3 change)
>
> (a70.158c): Access violation - code c0000005 (first chance)
> m3ui!VBT__Capture+0x36:
> 0073990f 8b5e00 mov ebx,dword ptr [esi] ds:0023:00000000=????????
> 0:000> r esi
> esi=00000000
> 0:000> k
> *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdl
> l.dll -
> ChildEBP RetAddr
> 0012ea74 00757a61 m3ui!VBT__Capture+0x36
> 0012eacc 00756542 m3ui!DblBufferVBT__PaintVBTtoVBT+0x71
> 0012eb50 0073d1ad m3ui!DblBufferVBT__Reshape+0x17e
> 0012ebd8 0075a1ad m3ui!VBTClass__Reshape+0x2e6
> 0012ebf8 0073d1ad m3ui!FilterClass__Reshape+0x30
> 0012ec80 0075a1ad m3ui!VBTClass__Reshape+0x2e6
> 0012eca0 0073d1ad m3ui!FilterClass__Reshape+0x30
> 0012ed28 0075d462 m3ui!VBTClass__Reshape+0x2e6
> 0012ed70 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e
> 0012ee8c 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0
> 0012eebc 0073d1ad m3ui!HVSplit__Reshape+0xde
> 0012ef44 0075d462 m3ui!VBTClass__Reshape+0x2e6
> 0012ef8c 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e
> 0012f0a8 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0
> 0012f0d8 0073d1ad m3ui!HVSplit__Reshape+0xde
> 0012f160 0075d462 m3ui!VBTClass__Reshape+0x2e6
> 0012f1a8 0075d14d m3ui!HVSplit__QuickRedisplay+0x22e
> 0012f2c4 0075cbb0 m3ui!HVSplit__Redisplay2+0xc0
> 0012f2f4 0073d1ad m3ui!HVSplit__Reshape+0xde
> 0012f37c 0075d462 m3ui!VBTClass__Reshape+0x2e6
> 0:000>
>
>
> I'll have to apply Tony's recent change that fixed the NIL deref in formsedit.
>
> But otherwise this is looking pretty grim. I can try a 5.1.x or 3.x or 4.x version... see if this ever wasn't flaky..
>
>
>
>
> - Jay
>
>
>
>
> ________________________________
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> Date: Sat, 24 Oct 2009 14:19:07 +0000
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Juno/Thread/Win32 notes
>
>
>
> VirtualAlloc rounds up to 64K. Anything smaller is just wasted I believe.
>
> quick experiment:
> #include
> #include
> int main()
> {
> printf("%p\n", VirtualAlloc(NULL, 1, MEM_COMMIT, PAGE_READWRITE));
> printf("%p\n", VirtualAlloc(NULL, 1, MEM_COMMIT, PAGE_READWRITE));
> printf("%p\n", VirtualAlloc(NULL, 1, MEM_COMMIT, PAGE_READWRITE));
>
> return 0;
> }
>
> =>
> 00350000
> 00360000
> 00370000
>
> - Jay
>
>
> ________________________________
>
> From: hosking at cs.purdue.edu
> To: jay.krell at cornell.edu
> Date: Fri, 23 Oct 2009 14:07:02 -0400
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Juno/Thread/Win32 notes
>
>
> Should not be a problem. Does valloc restrict you to 64K pages?
>
>
>
>
> On 23 Oct 2009, at 09:16, Jay K wrote:
>
>
>
> Tony, a few months ago I changed the NT pagesize to 64K,
> so I could simply allocate with VirtualAlloc, and not waste any.
> You think that could be a problem?
> Most platforms use 8K.
> This used to have to relate to the hardware, when there
> was VM-synchronized GC, but no longer.
>
> Also I just hit control-c and:
>
>
> ***
> *** runtime error:
> *** Exception "VBTClass.FatalError" not in RAISES list
> *** file "..\src\vbt\VBTClass.m3", line 935
> ***
> Stack trace:
> FP PC Procedure
> --------- --------- -------------------------------
> 0x321f3bc 0xf51971 Crash + 0x3e in ..\src\vbt\VBTClass.m3
> 0x321f3ec 0xf4edcc GetShape + 0x9e in ..\src\vbt\VBTClass.m3
> 0x321f440 0xf6e50b Shape + 0x14e in ..\src\split\BorderedVBT.m3
> 0x321f480 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x321f4b8 0xf6f7f8 Shape + 0xdb in ..\src\split\FilterClass.m3
> 0x321f4f8 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x321f548 0xf7e807 Shape + 0x36 in ..\src\split\ButtonVBT.m3
> 0x321f588 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x321f5ec 0xf71510 Scale + 0x309 in ..\src\split\HVSplit.m3
> 0x321f704 0xf7271c Redisplay2 + 0x3e in ..\src\split\HVSplit.m3
> ......... ......... ... more frames ...
>
>
> We've discussed before that things are not control-c safe.
> Maybe related???
>
>
> - Jay
>
>
>
>
>
> ________________________________
>
>
> From: jay.krell at cornell.edu
> To: hosking at cs.purdue.edu
> CC: m3devel at elegosoft.com
> Subject: RE: [M3devel] Juno/Thread/Win32 notes
> Date: Fri, 23 Oct 2009 13:11:36 +0000
>
> It's very intermittent, under 10% of runs crash or hang. I'm trying to tweak the heap parameters to try to induce it more.
> I've also grown stacks to rule that out.
> Here are some of the crashes.
>
>
>
> (adc.f8): Access violation - code c0000005 (first chance)
> First chance exceptions are reported before any exception handling.
> This exception may be expected and handled.
> eax=00000001 ebx=00200000 ecx=00000000 edx=005cf3f8 esi=001ffffc edi=02040018
> eip=005cf449 esp=0012f89c ebp=0012f8d4 iopl=0 nv up ei pl nz ac pe nc
> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010216
> *** WARNING: Unable to verify checksum for C:\cm3\bin\m3core.dll
> m3core!RTCollector__Move+0x51:
> 005cf449 8b5e00 mov ebx,dword ptr [esi] ds:0023:001ffffc=????????
> 0:000> r esi
> esi=001ffffc
> 0:000> k
> ChildEBP RetAddr
> 0012f8d4 005cb121 m3core!RTCollector__Move+0x51 [..\src\runtime\common\RTCollector.m3 @ 409]
> 0012f918 005ca9fa m3core!RTHeapMap__Walk+0x467 [..\src\runtime\common\RTHeapMap.m3 @ 202]
> 0012f93c 005ca990 m3core!RTHeapMap__DoWalkRef+0x62 [..\src\runtime\common\RTHeapMap.m3 @ 62]
> 0012f968 005d0fae m3core!RTHeapMap__WalkRef+0x100 [..\src\runtime\common\RTHeapMap.m3 @ 47]
> 0012f990 005d0df6 m3core!RTCollector__CleanBetween+0xec [..\src\runtime\common\RTCollector.m3 @ 1090]
> 0012f9b8 005d076f m3core!RTCollector__CleanPage+0x55 [..\src\runtime\common\RTCollector.m3 @ 1063]
> 0012fa0c 005d01ef m3core!RTCollector__CollectSomeInStateZero+0x544 [..\src\runtime\common\RTCollector.m3 @ 884]
> 0012fa20 005cfe86 m3core!RTCollector__CollectSome+0x6e [..\src\runtime\common\RTCollector.m3 @ 719]
> 0012fa64 005c802c m3core!RTHeapRep__CollectEnough+0x9b [..\src\runtime\common\RTCollector.m3 @ 654]
> 0012faa4 005c7466 m3core!RTAllocator__AllocTraced+0xd7 [..\src\runtime\common\RTAllocator.m3 @ 366]
> 0012fad8 005c7100 m3core!RTAllocator__GetTracedRef+0x8c [..\src\runtime\common\RTAllocator.m3 @ 202]
> 0012fafc 0051d1ae m3core!RTHooks__AllocateTracedRef+0x15 [..\src\runtime\common\RTAllocator.m3 @ 113]
> 0012fb44 1002c564 m3!AtomRefTbl__Put+0x250 [..\NT386\AtomRefTbl.m3 @ 127]
> 0012fb74 0041fcf5 juno_compiler!JunoScope__Bind+0x79 [..\src\JunoScope.m3 @ 114]
> 0012fbc8 00420b88 Juno!Editor__Pass1+0xe3b [..\src\Editor.m3 @ 711]
> 0012fc84 00420a30 Juno!Editor__Compile2+0x148 [..\src\Editor.m3 @ 812]
> 0012fcb8 004447f1 Juno!Editor__Compile+0x53 [..\src\Editor.m3 @ 793]
> 0012fcf8 00452244 Juno!Juno__CompileEditor+0x2c [..\src\Juno.m3 @ 140]
> 0012fd58 004532b6 Juno!Juno__CompileFile+0xb8 [..\src\Juno.m3 @ 1897]
> 0012fed4 005d8d64 Juno!Juno_M3+0x9d8 [..\src\Juno.m3 @ 2068]
>
>
>
>
>
> ModLoad: 77120000 771ab000 C:\WINDOWS2\system32\OLEAUT32.DLL
> (1d8.148): Access violation - code c0000005 (first chance)
> First chance exceptions are reported before any exception handling.
> This exception may be expected and handled.
> eax=0012e954 ebx=01636e98 ecx=00000000 edx=00000237 esi=00000000 edi=0012ea6c
> eip=00f4a3ed esp=0012e880 ebp=0012e92c iopl=0 nv up ei pl nz na pe nc
> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
> *** WARNING: Unable to verify checksum for C:\cm3\bin\m3ui.dll
> m3ui!VBT__Capture+0x36:
> 00f4a3ed 8b5e00 mov ebx,dword ptr [esi] ds:0023:00000000=????????
> 0:000> r esi
> esi=00000000
> 0:000> .lines
> Line number information will be loaded
> 0:000> k 999
> ChildEBP RetAddr
> 0012e92c 00f6d371 m3ui!VBT__Capture+0x36 [..\src\vbt\VBT.m3 @ 1176]
> 0012e984 00f6b82c m3ui!DblBufferVBT__PaintVBTtoVBT+0x71 [..\src\split\DblBufferVBT.m3 @ 424]
> 0012ea0c 00f4cd47 m3ui!DblBufferVBT__Reshape+0x1f8 [..\src\split\DblBufferVBT.m3 @ 108]
> 0012eaa0 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012eac4 00f4cd47 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012eb58 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012eb7c 00f4cd47 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012ec10 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012ec58 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 0012ed74 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 0012eda4 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 0012ee38 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012ee80 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 0012ef9c 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 0012efcc 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 0012f060 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012f0a8 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 0012f1c4 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 0012f1f4 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 0012f288 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012f2d0 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 0012f3ec 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 0012f41c 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 0012f4b0 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012f4d4 00e6b07d m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012f534 00f4cd47 m3vbtkit!ReactivityVBT__Reshape+0xb9 [..\src\lego\ReactivityVBT.m3 @ 167]
> 0012f5c8 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012f5ec 00f88426 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012f654 00f4cd47 m3ui!HighlightVBT__Reshape+0xc0 [..\src\split\HighlightVBT.m3@ 64]
> 0012f6e8 00f781d2 m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012f7cc 00f75f61 m3ui!ZSplit__Redisplay3+0x132d [..\src\split\ZSplit.m3 @ 508]
> 0012f924 00f74e59 m3ui!ZSplit__Redisplay2+0xde1 [..\src\split\ZSplit.m3 @ 324]
> 0012f9a4 00f4cd47 m3ui!ZSplit__Reshape+0x6f6 [..\src\split\ZSplit.m3 @ 219]
> 0012fa38 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012fa5c 00f4cd47 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012faf0 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012fb14 00f4cd47 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 0012fba8 00f7cfcc m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 0012fbd4 00f4eca1 m3ui!TSplit__Redisplay+0x164 [..\src\split\TSplit.m3 @ 76]
> 0012fc0c 00f56492 m3ui!VBTClass__Redisplay+0xe9 [..\src\vbt\VBTClass.m3 @ 376]
> 0012fc78 00e98ffe m3ui!VBTRep__Redisplay+0x521 [..\src\vbt\VBTRep.m3 @ 653]
> 0012fce4 0038b8cf m3vbtkit!TextPort__TryFocus+0x12 [..\src\etext\TextPort.m3 @ 438]
> 0012fd14 0038e271 m3formsvbt!FVRuntime__FirstFocus+0x18e [..\src\FVRuntime.m3 @1012]
> 0012fd58 00455390 m3formsvbt!FormsVBT__PutInteger+0x117 [..\src\FVRuntime.m3 @ 1559]
> 0012fed4 005d8d64 Juno!Juno_M3+0x2c56 [..\src\Juno.m3 @ 2178]
> 0012ff18 005d833c m3core!RTLinker__RunMainBody+0x25a [..\src\runtime\common\RTLinker.m3 @ 399]
> 0012ff30 005d83e5 m3core!RTLinker__AddUnitI+0xf7 [..\src\runtime\common\RTLinker.m3 @ 113]
> 0012ff54 00401038 m3core!RTLinker__AddUnit+0xa1 [..\src\runtime\common\RTLinker.m3 @ 122]
> 0012ff70 004ba97f Juno!main+0x38 [_m3main.mc @ 4]
> 0012ffc0 7c817077 Juno!mainCRTStartup+0xff
> 0012fff0 00000000 kernel32!BaseProcessStart+0x23
> 0:000>
>
>
>
> ***
> *** runtime error:
> *** Exception "VBTClass.FatalError" not in RAISES list
> *** file "..\src\vbt\VBTClass.m3", line 935
> ***
> Stack trace:
> FP PC Procedure
> --------- --------- -------------------------------
> 0x34bf3bc 0xf51971 Crash + 0x3e in ..\src\vbt\VBTClass.m3
> 0x34bf3ec 0xf4edcc GetShape + 0x9e in ..\src\vbt\VBTClass.m3
> 0x34bf440 0xf6e50b Shape + 0x14e in ..\src\split\BorderedVBT.m3
> 0x34bf480 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x34bf4b8 0xf6f7f8 Shape + 0xdb in ..\src\split\FilterClass.m3
> 0x34bf4f8 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x34bf548 0xf7e807 Shape + 0x36 in ..\src\split\ButtonVBT.m3
> 0x34bf588 0xf4ed66 GetShape + 0x38 in ..\src\vbt\VBTClass.m3
> 0x34bf5ec 0xf71510 Scale + 0x309 in ..\src\split\HVSplit.m3
> 0x34bf704 0xf7271c Redisplay2 + 0x3e in ..\src\split\HVSplit.m3
> ......... ......... ... more frames ...
> (10d4.13f8): Break instruction exception - code 80000003 (first chance)
> eax=00000001 ebx=000003a7 ecx=0000a0c7 edx=7c90e514 esi=034bf1cc edi=005e601b
> eip=7c90120e esp=034bf1b4 ebp=034bf1cc iopl=0 nv up ei pl nz na po nc
> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
> ntdll!DbgBreakPoint:
> 7c90120e cc int 3
> 0:007> .lines
> 0:007> k99
> ChildEBP RetAddr
> 034bf1b0 005e6067 ntdll!DbgBreakPoint
> 034bf1cc 005dc33e m3core!RTOS__Crash+0x4c [..\src\runtime\WIN32\RTOS.m3 @ 29]
> 034bf1e4 005da08e m3core!RTProcess__Crash+0x68 [..\src\runtime\common\RTProcess.m3 @ 66]
> 034bf1fc 005d9da2 m3core!RTError__EndError+0x37 [..\src\runtime\common\RTError.m3 @ 118]
> 034bf214 005da661 m3core!RTError__MsgS+0x8d [..\src\runtime\common\RTError.m3 @40]
> 034bf25c 005da420 m3core!RTException__Crash+0x1ee [..\src\runtime\common\RTException.m3 @ 79]
> 034bf294 005da341 m3core!RTException__DefaultBackstop+0xae [..\src\runtime\common\RTException.m3 @ 41]
> 034bf2b0 005e7ab3 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25]
> 034bf2dc 005da46b m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29]
> 034bf30c 005da341 m3core!RTException__DefaultBackstop+0xf9 [..\src\runtime\common\RTException.m3 @ 47]
> 034bf328 005e7bef m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25]
> 034bf354 005c54a0 m3core!RTException__Raise+0x19f [..\src\runtime\ex_frame\RTExFrame.m3 @ 58]
> 034bf390 00f51971 m3core!RTHooks__Raise+0x60 [..\src\runtime\common\RTHooks.m3 @ 79]
> 034bf3bc 00f4edcc m3ui!VBTClass__Crash+0x3e [..\src\vbt\VBTClass.m3 @ 935]
> 034bf3ec 00f6e50b m3ui!VBTClass__GetShape+0x9e [..\src\vbt\VBTClass.m3 @ 389]
> 034bf440 00f4ed66 m3ui!BorderedVBT__Shape+0x14e [..\src\split\BorderedVBT.m3 @ 79]
> 034bf480 00f6f7f8 m3ui!VBTClass__GetShape+0x38 [..\src\vbt\VBTClass.m3 @ 385]
> 034bf4b8 00f4ed66 m3ui!FilterClass__Shape+0xdb [..\src\split\FilterClass.m3 @ 120]
> 034bf4f8 00f7e807 m3ui!VBTClass__GetShape+0x38 [..\src\vbt\VBTClass.m3 @ 385]
> 034bf548 00f4ed66 m3ui!ButtonVBT__Shape+0x36 [..\src\split\ButtonVBT.m3 @ 105]
> 034bf588 00f71510 m3ui!VBTClass__GetShape+0x38 [..\src\vbt\VBTClass.m3 @ 385]
> 034bf5ec 00f7271c m3ui!HVSplit__Scale+0x309 [..\src\split\HVSplit.m3 @ 391]
> 034bf704 00f721a0 m3ui!HVSplit__Redisplay2+0x3e [..\src\split\HVSplit.m3 @ 503]
> 034bf734 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 034bf7c8 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 034bf810 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 034bf92c 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 034bf95c 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 034bf9f0 00f6f2db m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 034bfa14 00f4cd47 m3ui!FilterClass__Reshape+0xab [..\src\split\FilterClass.m3 @85]
> 034bfaa8 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 034bfaf0 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 034bfc0c 00f721a0 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 034bfc3c 00f4cd47 m3ui!HVSplit__Reshape+0xde [..\src\split\HVSplit.m3 @ 428]
> 034bfcd0 00f72b3f m3ui!VBTClass__Reshape+0x483 [..\src\vbt\VBTClass.m3 @ 154]
> 034bfd18 00f7279e m3ui!HVSplit__QuickRedisplay+0x28f [..\src\split\HVSplit.m3 @542]
> 034bfe34 00f726d6 m3ui!HVSplit__Redisplay2+0xc0 [..\src\split\HVSplit.m3 @ 505]
> 034bfe54 00f4eca1 m3ui!HVSplit__Redisplay+0x21 [..\src\split\HVSplit.m3 @ 493]
> 034bfe8c 00f56492 m3ui!VBTClass__Redisplay+0xe9 [..\src\vbt\VBTClass.m3 @ 376]
> 034bfef8 00f55eae m3ui!VBTRep__Redisplay+0x521 [..\src\vbt\VBTRep.m3 @ 653]
> 034bff24 00f55f3f m3ui!VBTRep__UncoverRedisplay+0xdd [..\src\vbt\VBTRep.m3 @ 603]
> 034bff4c 005eae96 m3ui!VBTRep__RdApply+0x8c [..\src\vbt\VBTRep.m3 @ 607]
> 034bff8c 005eacb6 m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524]
> 034bffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504]
> 034bffec 00000000 kernel32!BaseThreadStart+0x37
> 0:007>
>
>
>
>
>
>
>
> ***
> *** runtime error:
> *** <*ASSERT*> failed.
> *** file "..\src\runtime\common\RTCollector.m3", line 1666
> ***
> Stack trace:
> FP PC Procedure
> --------- --------- -------------------------------
> 0x290ed40 0x5d2794 SanityCheck + 0x2ad in ..\src\runtime\common\RTCollector.m3
> 0x290ed58 0x5d24d9 After + 0x1b in ..\src\runtime\common\RTCollector.m3
> 0x290ed78 0x5cb7f8 InvokeMonitors + 0x143 in ..\src\runtime\common\RTHeapRep.m3
> 0x290edac 0x5d0b73 CollectSomeInStateFive + 0x265 in ..\src\runtime\common\RTCollector.m3
> 0x290edc0 0x5d0221 CollectSome + 0xa0 in ..\src\runtime\common\RTCollector.m3
> 0x290ee04 0x5cfe86 CollectEnough + 0x9b in ..\src\runtime\common\RTCollector.m3
> 0x290ee44 0x5c802c AllocTraced + 0xd7 in ..\src\runtime\common\RTAllocator.m3
> 0x290ee80 0x5c7bb6 GetOpenArray + 0x97 in ..\src\runtime\common\RTAllocator.m3
> 0x290eea8 0x5c71f8 AllocateOpenArray + 0x19 in ..\src\runtime\common\RTAllocator.m3
> 0x290eee8 0x4e4025 Init + 0x135 in ..\src\rw\TextRd.m3
> ......... ......... ... more frames ...
> (13c8.17a4): Break instruction exception - code 80000003 (first chance)
> eax=00000001 ebx=00000682 ecx=00004f95 edx=7c90e514 esi=0290eb30 edi=005e601b
> eip=7c90120e esp=0290eb18 ebp=0290eb30 iopl=0 nv up ei pl nz na po nc
> cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
> ntdll!DbgBreakPoint:
> 7c90120e cc int 3
> 0:007> .lines
> 0:007> k999
> ChildEBP RetAddr
> 0290eb14 005e6067 ntdll!DbgBreakPoint
> 0290eb30 005dc33e m3core!RTOS__Crash+0x4c [..\src\runtime\WIN32\RTOS.m3 @ 29]
> 0290eb48 005da08e m3core!RTProcess__Crash+0x68 [..\src\runtime\common\RTProcess.m3 @ 66]
> 0290eb60 005d9da2 m3core!RTError__EndError+0x37 [..\src\runtime\common\RTError.m3 @ 118]
> 0290eb78 005da661 m3core!RTError__MsgS+0x8d [..\src\runtime\common\RTError.m3 @40]
> 0290ebc0 005da3e1 m3core!RTException__Crash+0x1ee [..\src\runtime\common\RTException.m3 @ 79]
> 0290ebf8 005da341 m3core!RTException__DefaultBackstop+0x6f [..\src\runtime\common\RTException.m3 @ 39]
> 0290ec14 005e7ab3 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25]
> 0290ec40 005da46b m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29]
> 0290ec70 005da341 m3core!RTException__DefaultBackstop+0xf9 [..\src\runtime\common\RTException.m3 @ 47]
> 0290ec8c 005e7ab3 m3core!RTException__InvokeBackstop+0x28 [..\src\runtime\common\RTException.m3 @ 25]
> 0290ecb8 005c5559 m3core!RTException__Raise+0x63 [..\src\runtime\ex_frame\RTExFrame.m3 @ 29]
> 0290ecfc 005d76cd m3core!RTHooks__ReportFault+0x93 [..\src\runtime\common\RTHooks.m3 @ 110]
> 0290ed0c 005d2794 m3core!MM_RTCollector_CRASH+0x11 [..\src\runtime\common\RTCollector.m3 @ 393]
> 0290ed40 005d24d9 m3core!RTCollector__SanityCheck+0x2ad [..\src\runtime\common\RTCollector.m3 @ 1669]
> 0290ed58 005cb7f8 m3core!RTCollector__After+0x1b [..\src\runtime\common\RTCollector.m3 @ 1629]
> 0290ed78 005d0b73 m3core!RTHeapRep__InvokeMonitors+0x143 [..\src\runtime\common\RTHeapRep.m3 @ 59]
> 0290edac 005d0221 m3core!RTCollector__CollectSomeInStateFive+0x265 [..\src\runtime\common\RTCollector.m3 @ 983]
> 0290edc0 005cfe86 m3core!RTCollector__CollectSome+0xa0 [..\src\runtime\common\RTCollector.m3 @ 724]
> 0290ee04 005c802c m3core!RTHeapRep__CollectEnough+0x9b [..\src\runtime\common\RTCollector.m3 @ 654]
> 0290ee44 005c7bb6 m3core!RTAllocator__AllocTraced+0xd7 [..\src\runtime\common\RTAllocator.m3 @ 366]
> 0290ee80 005c71f8 m3core!RTAllocator__GetOpenArray+0x97 [..\src\runtime\common\RTAllocator.m3 @ 294]
> 0290eea8 004e4025 m3core!RTHooks__AllocateOpenArray+0x19 [..\src\runtime\common\RTAllocator.m3 @ 141]
> 0290eee8 004e41d2 m3!TextRd__Init+0x135 [..\src\rw\TextRd.m3 @ 27]
> 0290ef14 00e84efd m3!TextRd__New+0x3e [..\src\rw\TextRd.m3 @ 40]
> 0290f034 00387f71 m3vbtkit!Rsrc__Open+0x22d [..\src\vbtkitutils\Rsrc.m3 @ 37]
> 0290f0d0 00366366 m3formsvbt!FVRuntime__Open+0x6f [..\src\FVRuntime.m3 @ 338]
> 0290f198 00372854 m3formsvbt!FormsVBT__GetRawImage+0x7e [..\src\FormsVBT.m3 @ 827]
> 0290f2a4 003634b1 m3formsvbt!FormsVBT__pPixmap+0x431 [..\src\FormsVBT.m3 @ 2001]
> 0290f304 003813aa m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290f354 0036c3d6 m3formsvbt!FormsVBT__AddChildren+0x2d4 [..\src\FormsVBT.m3 @ 3671]
> 0290f438 0036c0c8 m3formsvbt!FormsVBT__pHVBox+0x303 [..\src\FormsVBT.m3 @ 1372]
> 0290f464 003634b1 m3formsvbt!FormsVBT__pVBox+0x22 [..\src\FormsVBT.m3 @ 1353]
> 0290f4c4 0038107a m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290f4f0 00365e18 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src\FormsVBT.m3 @ 3642]
> 0290f5ec 003634b1 m3formsvbt!FormsVBT__pRim+0x1af [..\src\FormsVBT.m3 @ 806]
> 0290f64c 0038107a m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290f678 003665e0 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src\FormsVBT.m3 @ 3642]
> 0290f760 003634b1 m3formsvbt!FormsVBT__pFrame+0x141 [..\src\FormsVBT.m3 @ 852]
> 0290f7c0 003813aa m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290f810 0036c3d6 m3formsvbt!FormsVBT__AddChildren+0x2d4 [..\src\FormsVBT.m3 @ 3671]
> 0290f8f4 0036c0c8 m3formsvbt!FormsVBT__pHVBox+0x303 [..\src\FormsVBT.m3 @ 1372]
> 0290f920 003634b1 m3formsvbt!FormsVBT__pVBox+0x22 [..\src\FormsVBT.m3 @ 1353]
> 0290f980 0038107a m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290f9ac 003657d5 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src\FormsVBT.m3 @ 3642]
> 0290faa8 003634b1 m3formsvbt!FormsVBT__pBorder+0x1af [..\src\FormsVBT.m3 @ 782]
> 0290fb08 0038107a m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290fb34 003792c1 m3formsvbt!FormsVBT__OneChild+0xf8 [..\src\FormsVBT.m3 @ 3642]
> 0290fc50 003634b1 m3formsvbt!FormsVBT__pZChild+0x430 [..\src\FormsVBT.m3 @ 2572]
> 0290fcb0 00363511 m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290fd10 003813aa m3formsvbt!FormsVBT__Item+0x4eb [..\src\FormsVBT.m3 @ 254]
> 0290fd60 00377e6b m3formsvbt!FormsVBT__AddChildren+0x2d4 [..\src\FormsVBT.m3 @ 3671]
> 0290fe40 003634b1 m3formsvbt!FormsVBT__pZSplit+0x311 [..\src\FormsVBT.m3 @ 2454]
> 0290fea0 00361dab m3formsvbt!FormsVBT__Item+0x48b [..\src\FormsVBT.m3 @ 250]
> 0290ff4c 005eae96 m3formsvbt!FormsVBT__Apply+0xa3 [..\src\FormsVBT.m3 @ 84]
> 0290ff8c 005eacb6 m3core!ThreadWin32__RunThread+0x195 [..\src\thread\WIN32\ThreadWin32.m3 @ 524]
> 0290ffb4 7c80b729 m3core!ThreadWin32__ThreadBase+0x33 [..\src\thread\WIN32\ThreadWin32.m3 @ 504]
> 0290ffec 00000000 kernel32!BaseThreadStart+0x37
> 0:007>
>
>
> - Jay
>
>
>
> [snip]
> 		 	   		  


More information about the M3devel mailing list