[M3devel] some data on Juno crash on Win32

Jay K jay.krell at cornell.edu
Thu Sep 3 15:15:09 CEST 2009


summary: 5.7.0 and 5.7.1 of unknown date:

 

both always fail

5.7.0 always fails an assert (various?)

5.7.1 sometimes fails an assert (various)

5.7.1 sometimes access violates, always on address 00200000, plus or minus 4.

 

Current source always access violates, same address.

 

Since 5.7.1 and current source always access violate (aka SIGSEGV) on the same

location, every run, I'm more inclined to look at this.

 

And then hope everything else is "the same" problem.

But of course there might be multiple problems.

 

It might be good to check for the hang in various from http://www.opencm3.net/uploaded-archives/index.html.

 

Also see what all we can get from http://www.opencm3.net/snaps/snapshot-index.html.

I'm going to see if I can get the index update with the many files I noticed in the file system.

 

 

longer story:

 

 

5.7.0 visual glitch and usually:

visual glitch might have been the problem with import the bit set data.

 

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\winvbt\WinContext.m3", line 165
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x59cf830   0xf01c9a  PushPixmap + 0x43c in ..\src\winvbt\WinContext.m3
0x59cf8f8   0xf0fdcc  PixmapCom + 0x932 in ..\src\winvbt\WinPaint.m3
0x59cfd54   0xf0dcf5  PaintBatch + 0x225 in ..\src\winvbt\WinPaint.m3
0x59cfdbc   0xf085be  PaintBatchVBT + 0x12d in ..\src\winvbt\WinTrestle.m3
0x59cfe04   0xf06ebd  WindowProc + 0x699 in ..\src\winvbt\WinTrestle.m3
0x59cfe30  0x7e418734  <???>
0x59cfe98  0x7e418816  <???>
0x59cfef8  0x7e4189cd  <???>
0x59cff08  0x7e4196c7  <???>
0x59cff50   0xf0bc99  MessengerApply + 0x21f in ..\src\winvbt\WinTrestle.m3

5.7.1 no visual glitch and usually either same as above, or access violating
accessing address 001ffffc or

(6c4.13b8): Access violation - code c0000005 (first chance)
m3core!RTCollector__Move+0x3d:
005beeb4 8b5e00          mov     ebx,dword ptr [esi]  ds:0023:001ffffc=????????
0:007> r esi
esi=001ffffc
0:007> k
ChildEBP RetAddr
WARNING: Stack unwind information not available. Following frames may be wrong.
0213e5c0 005badd1 m3core!RTCollector__Move+0x3d
0213e604 005ba6aa m3core!RTHeapMap__Walk+0x467
0213e628 005ba640 m3core!RTHeapMap__DoWalkRef+0x62
0213e654 005c0ab8 m3core!RTHeapMap__WalkRef+0x100
0213e67c 005c092c m3core!RTCollector__CleanBetween+0xdd
0213e6a8 005c0222 m3core!RTCollector__CleanPage+0x5b
0213e6fc 005bfc34 m3core!RTCollector__CollectSomeInStateZero+0x5b2
0213e710 005bf933 m3core!RTCollector__CollectSome+0x6e
0213e740 005c17cb m3core!RTCollector__CollectEnough+0x90
0213e7a0 005b7c23 m3core!RTHeapRep__AllocTraced+0xef
0213e7e4 005b74f8 m3core!RTAllocator__GetOpenArray+0x61
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\n
et\modula3\cm3-std-NT386-d5.7.1\bin\m3ui.dll -
0213e808 00f94c01 m3core!RTHooks__AllocateOpenArray+0x19
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\n
et\modula3\cm3-std-NT386-d5.7.1\bin\m3vbtkit.dll -
0213e85c 00ea330c m3ui!ScrnPixmap__NewRaw+0x16d
0213e898 00ea518b m3vbtkit!Image__InitGray+0x7f
0213e96c 00ea4b8a m3vbtkit!Image__pgm2+0x78
0213ea04 00ec2f4a m3vbtkit!Image__FromRd+0x179
0213ea48 00e93855 m3vbtkit!VBTKitResources__GetPixmap+0x9a
0213ea88 00e91058 m3vbtkit!ScrollerVBTClass__InitGraphics+0x18e
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\n
et\modula3\cm3-std-NT386-d5.7.1\bin\m3formsvbt.dll -
0213eac4 00e43fa2 m3vbtkit!ScrollerVBTClass__Init+0x58
0213ebf4 00e33106 m3formsvbt!FormsVBT__pTextEdit+0x9f5

don't believe that stack much, at least where the offsets are large.
There are no symbols, just exports.

 


***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\thread\WIN32\ThreadWin32.m3", line 490
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x25efc5c   0x5d9eae  CheckSlot + 0x28 in ..\src\thread\WIN32\ThreadWin32.m3
0x25efca0   0x5da9c8  Fork + 0x298 in ..\src\thread\WIN32\ThreadWin32.m3
0x25efcf0   0xf9240d  Mark + 0x383 in ..\src\vbt\VBTRep.m3
0x25efd14   0xf88076  Mark + 0x4b in ..\src\vbt\VBT.m3
0x25efd34   0xfaccfd  NewShape + 0xaa in ..\src\split\HVSplit.m3
0x25efd70   0xf87dca  NewShape + 0x1d3 in ..\src\vbt\VBT.m3
0x25efd88   0xf8dc63  NewShapeDefault + 0x16 in ..\src\vbt\VBTClass.m3
0x25efdc4   0xf87dca  NewShape + 0x1d3 in ..\src\vbt\VBT.m3
0x25efe20   0xfbee4d  SetAndAlign + 0x1d1 in ..\src\split\TextVBT.m3
0x25efe38   0xfbf836  Redisplay + 0x15 in ..\src\split\TextVBT.m3
.........  .........  ... more frames ...

 

more commonly accessing 00200000, er, well, notice the offset:


(1350.f08): 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=00000005 edx=0060b148 esi=011b8a3c edi=0120dfcc
eip=005dabcf esp=0012f964 ebp=0012f98c iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\n
et\modula3\cm3-std-NT386-d5.7.1\bin\m3core.dll -
m3core!Thread__Join+0x133:
005dabcf 8b53fc          mov     edx,dword ptr [ebx-4] ds:0023:001ffffc=????????

0:000> r ebx
ebx=00200000
0:000> k
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\n
et\modula3\cm3-std-NT386-d5.7.1\bin\juno-compiler.dll -
ChildEBP RetAddr
WARNING: Stack unwind information not available. Following frames may be wrong.
0012f98c 1000e2b1 m3core!Thread__Join+0x133
*** ERROR: Module load completed but symbols could not be loaded for Juno.exe
0012f9d0 0041c7e5 juno_compiler!JunoCompile__ProcDecl+0x1f5
0012fa08 0041d1cf Juno+0x1c7e5
0012fab4 0041d088 Juno+0x1d1cf
0012fae8 0043d425 Juno+0x1d088
0012fb28 0043d61e Juno+0x3d425
0012fbc8 0043df47 Juno+0x3d61e
0012fd70 0044b61e Juno+0x3df47
0012fee0 005c8d14 Juno+0x4b61e
0012ff24 005c82ec m3core!RTLinker__RunMainBody+0x25a
0012ff3c 005c8395 m3core!RTLinker__AddUnitI+0xf7
0012ff60 00401038 m3core!RTLinker__AddUnit+0xa1
0012ff7c 004b0d74 Juno+0x1038
0012ffc0 7c817077 Juno+0xb0d74
0012fff0 00000000 kernel32!BaseProcessStart+0x23

 

***
*** runtime error:
***    Thread client error: attempt to join with thread twice
***    file "..\src\thread\WIN32\ThreadWin32.m3", line 708
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
 0x12f954   0x5db678  Die + 0x2d in ..\src\thread\WIN32\ThreadWin32.m3
 0x12f98c   0x5dab36  Join + 0x9a in ..\src\thread\WIN32\ThreadWin32.m3
 0x12f9d0  0x1000e2b1  ProcDecl + 0x1f5 in ..\src\JunoCompile.m3
 0x12fa08   0x41c7e5  Pass2 + 0x1a5 in ..\src\Editor.m3
 0x12fab4   0x41d1cf  Compile2 + 0x137 in ..\src\Editor.m3
 0x12fae8   0x41d088  Compile + 0x53 in ..\src\Editor.m3
 0x12fb28   0x43d425  CompileEditor + 0x2c in ..\src\Juno.m3
 0x12fbc8   0x43d61e  CompileModule + 0x12c in ..\src\Juno.m3
 0x12fd70   0x43df47  CompileModules + 0x2d3 in ..\src\Juno.m3

 

 - Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090903/02ac14cc/attachment-0001.html>


More information about the M3devel mailing list