[M3devel] report on Windows XP builds/tests

Randy Coleburn rcoleburn at scires.com
Wed Sep 2 04:53:10 CEST 2009


I tried upgrade.py again, and it seemed to work this time.  I think I may have forgotten to run vcvars to setup the Visual C++ command line on my prior attempt.  Sorry.
 
Here is the compiler output for the "caltech-parser\parserlib\parserlib\test" build:
 
--- processing package "caltech-parser\parserlib\parserlib\test" ---
--- building in NT386 ---
 
LIB_INSTALL is C:\cm3\lib
ignoring ..\src\m3overrides
 
C:\cm3\caltech-parser\parserlib\ktok\NT386\ktok ..\src\Calc.t -o CalcTok.i3
C:\cm3\caltech-parser\parserlib\ktok\NT386\ktok ..\src\Calc.t -o CalcTok.i3
The system cannot find the path specified.
"C:\cm3\pkg\cit_util\src\generics.tmpl", line 38: quake runtime error: exit 1: C:\cm3\caltech-parser\parserlib\ktok\NT386\ktok ..\src\Calc.t -o CalcTok.i3
 
--procedure--  -line-  -file---
exec               --  <builtin>
_exec              38  C:\cm3\pkg\cit_util\src\generics.tmpl
_xCons             37  C:\cm3\pkg\parserlib\src\parser.tmpl
_tCons             70  C:\cm3\pkg\parserlib\src\parser.tmpl
_tConsUn           71  C:\cm3\pkg\parserlib\src\parser.tmpl
token              73  C:\cm3\pkg\parserlib\src\parser.tmpl
include_dir         4  C:\cm3\Sandbox\cm3\caltech-parser\parserlib\parserlib\test\src\m3makefile
                    4  C:\cm3\Sandbox\cm3\caltech-parser\parserlib\parserlib\test\NT386\m3make.args
 
Fatal Error: package build failed
 
I tried running juno and mentor again.  I get different results each run.  Interestingly, sometimes mentor didn't crash, instead giving me an error message about not having my HOME environment var set.  I tried later to set this, but mentor still crashes.  Once when I ran juno it complained that it tried to join a thread twice.  Sounds like something is broken in the threading or GC, or the program is coded wrongly somehow.  See below for some sample runs of mentor and juno:
 
C:\cm3\Sandbox\cm3\scripts\win>mentor

***
*** runtime error:
***    Exception "FormsVBT.Error" not in RAISES list
***    file "..\src\FormsVBT.m3", line 73
***
 
 
 
***
*** runtime error:
***    An enumeration or subrange value was out of range.
***    file "..\src\runtime\common\RTType.m3", line 71
***
 
 
C:\cm3\Sandbox\cm3\scripts\win>mentor
Error: the HOME environment variable is undefined.
Please set it to the path of your home directory and try again.
 
C:\cm3\Sandbox\cm3\scripts\win>mentor
Error: the HOME environment variable is undefined.
Please set it to the path of your home directory and try again.
 
C:\cm3\Sandbox\cm3\scripts\win>mentor

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\thread\WIN32\ThreadWin32.m3", line 453
***
 
Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
 0x12fc48   0x84ad19  CheckSlot + 0x28 in ..\src\thread\WIN32\ThreadWin32.m3
 0x12fc8c   0x84b8ba  Fork + 0x2a1 in ..\src\thread\WIN32\ThreadWin32.m3
 0x12fcc4  0x1221c8c  Parse + 0x5c in ..\src\FormsVBT.m3
 0x12fd7c  0x1247c0c  Insert + 0x149 in ..\src\FVRuntime.m3
 0x12fde8  0x164cd6b  UpdateSessionMenu + 0x3c9 in ..\src\ZeusPanel.m3
 0x12fe18  0x164c997  GetGroupInfo + 0xb5 in ..\src\ZeusPanel.m3
 0x12fe60  0x164d842  RegisterView + 0xf5 in ..\src\ZeusPanel.m3
 0x12fe88   0x4e32da  RegisterView + 0x30 in ..\NT386\MinimaxViewGameTreeBObliqView.m3
 0x12fe9c   0x4e43c7  MinimaxViewGameTreeBObliqView_M3 + 0x39 in ..\NT386\MinimaxViewGameTreeBObliqView.m3

 

Here is another run of Juno.  This one dies on a different line number in same module.

 
 
C:\cm3\Sandbox\cm3\scripts\win>juno

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\runtime\common\RTCollector.m3", line 1087
***
 
Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x263fb34   0x5d115f  CleanBetween + 0x48 in ..\src\runtime\common\RTCollector.m3
0x263fb7c   0x5d4cd9  CheckLoadTracedRef + 0xfa in ..\src\runtime\common\RTCollector.m3
0x263fbc4  0x100117f6  AnnotateAtoms.Expr0 + 0x401 in ..\src\JunoCompile.m3
0x263fbe8  0x10011f09  AnnotateAtoms.ExprList0 + 0xc0 in ..\src\JunoCompile.m3
0x263fc34  0x100121b4  AnnotateAtoms.Cmd0 + 0x253 in ..\src\JunoCompile.m3
0x263fc80  0x10012b74  AnnotateAtoms.Cmd0 + 0xc13 in ..\src\JunoCompile.m3
0x263fccc  0x100128a2  AnnotateAtoms.Cmd0 + 0x941 in ..\src\JunoCompile.m3
0x263fd18  0x10012c4e  AnnotateAtoms.Cmd0 + 0xced in ..\src\JunoCompile.m3
0x263fd64  0x10012225  AnnotateAtoms.Cmd0 + 0x2c4 in ..\src\JunoCompile.m3
0x263fdb0  0x10012a9a  AnnotateAtoms.Cmd0 + 0xb39 in ..\src\JunoCompile.m3
.........  .........  ... more frames ...
 
Regards,
Randy Coleburn

>>> Jay K <jay.krell at cornell.edu> 9/1/2009 9:33 PM >>>
Is the message about errno.h correct?
caltech-parser..hm.. you are up to date? I thought I had either fixed it, or filtered it out.
Mutex/mentor I'll have to look at.
 
 - Jay
 
Date: Tue, 1 Sep 2009 20:09:25 -0400
From: rcoleburn at scires.com 
To: m3devel at elegosoft.com 
Subject: [M3devel] report on Windows XP builds/tests

Hi, I am back from vacation.
 
I've updated my sandbox on WindowsXP to be current with the CVS head.  
 
I tried first to run Jay's "upgrade.py", but got the following error:
 
C:\cm3\Sandbox\cm3\scripts\python>upgrade.py
using c:\cm3\bin\cm3.exe
PATH=c:\cm3\bin;%PATH%
set CM3_TARGET=NT386
set CM3_INSTALL=c:\cm3
set M3CONFIG=C:\cm3\Sandbox\cm3\m3-sys\cminstall\src\config-no-install\NT386
set CM3_ROOT=C:/cm3/Sandbox/cm3
ERROR: errno.h not found in %INCLUDE%(C:\msdev\80\VC\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include)
C:\cm3\Sandbox\cm3\scripts\python>
 
Next I tried my upgrade script and was successful.  Then I used my "do-cm3.cmd" script to rebuild all packages and was successful, except for "m3-sys\m3cc" and "caltech-parser\parserlib\parserlib\test".
 
In catching up on my email, I noticed Olaf had asked about mentor and juno on Windows, so I tried running these.  Juno starts up and puts up a window, but quickly crashes.  mentor crashes before any window comes up and I also get a firewall request from Windows asking whether to block the program--I suspect it is trying to access the network, hence the firewall request.  Here are the runtime error reports:
 
C:\cm3\bin>mentor

***
*** runtime error:
***    Attempt to reference an illegal memory location.
***    pc = 0x849590 = LockMutex + 0x9c in ..\src\thread\WIN32\ThreadWin32.m3
***
 
Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x2abf97c   0x846fdd  SystemError + 0x66 in ..\src\runtime\NT386\RTSignal.m3
0x2abf9b8   0x849590  LockMutex + 0x9c in ..\src\thread\WIN32\ThreadWin32.m3
0x2abf9e8  0x1405c72  Be + 0x3e in ..\src\split\TextVBT.m3
0x2abfb24  0x1235764  pText + 0x6f4 in ..\src\FormsVBT.m3
0x2abfb84  0x12234b1  Item + 0x48b in ..\src\FormsVBT.m3
0x2abfbb0  0x124107a  OneChild + 0xf8 in ..\src\FormsVBT.m3
0x2abfc90  0x1227c9a  pMButton + 0x11c in ..\src\FormsVBT.m3
0x2abfcf0  0x12234b1  Item + 0x48b in ..\src\FormsVBT.m3
0x2abfd1c  0x124107a  OneChild + 0xf8 in ..\src\FormsVBT.m3
0x2abfe24  0x1227520  pShape + 0x19c in ..\src\FormsVBT.m3
.........  .........  ... more frames ...
 
 
C:\cm3\bin>juno

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\runtime\common\RTCollector.m3", line 2284
***
 
Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x210f9d8   0x5d4e43  CheckStoreTraced + 0xde in ..\src\runtime\common\RTCollector.m3
0x210fa38  0x10041c74  Unnest + 0x124 in ..\src\JunoCompileNF.m3
0x210fac8  0x10040a49  B1 + 0x3d0 in ..\src\JunoCompileNF.m3
0x210faf4  0x1003f9b6  Normalize + 0x46 in ..\src\JunoCompileNF.m3
0x210fb20  0x10016b9f  Cmd.C2pp + 0x20 in ..\src\JunoCompile.m3
0x210fb70  0x10016ac3  Cmd.C2p + 0x618 in ..\src\JunoCompile.m3
0x210fbcc  0x1001594b  Cmd.C2 + 0x9c8 in ..\src\JunoCompile.m3
0x210fc24  0x100156b8  Cmd.C2 + 0x735 in ..\src\JunoCompile.m3
0x210fc7c  0x100151a0  Cmd.C2 + 0x21d in ..\src\JunoCompile.m3
0x210fcc8  0x10016b43  Cmd.C2p + 0x698 in ..\src\JunoCompile.m3
.........  .........  ... more frames ...
 
C:\cm3\bin>
 
Juno crashes on an ASSERT in the collector, while mentor seems to be trying to lock a mutex that isn't properly initialized.  I have not looked at the source code to try and debug.  Let me know if you want me to pursue further.
 
I've rebuilt some of my own programs and run some very basic tests.  So far, no problems detected.
 
I will try to run some tests on Vista platform tomorrow.
 
Maybe it would be prudent for me to compile and run some of the tests ya'll have been implementing.  I think the scripts for these aren't native Windows, but if you can point me to some of these, I'll try to translate for use on Windows.
 
Let me know how I can best assist with the release effort.
 
Regards,
Randy Coleburn

CONFIDENTIALITY NOTICE:  This email and any attachments are intended solely for the use of the named recipient(s). This e-mail may contain confidential and/or proprietary information of Scientific Research Corporation.  If you are not a named recipient, you are prohibited from making any use of the information in the email and attachments.  If you believe you have received this email in error, please notify the sender immediately and permanently delete the email, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the email or attachments.

EXPORT COMPLIANCE NOTICE:  This email and any attachments may contain technical data subject to U.S export restrictions under the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR).  Export or transfer of this technical data and/or related information to any foreign person(s) or entity(ies), either within the U.S. or outside of the U.S., may require export authorization by the appropriate U.S. Government agency prior to export or transfer.  In addition, technical data may not be exported or transferred to certain countries or specified designated nationals identified by U.S. embargo controls without prior export authorization.  By accepting this email and any attachments, all recipients confirm that they understand and will comply with all applicable ITAR, EAR and embargo compliance requirements.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090901/00b20615/attachment-0002.html>


More information about the M3devel mailing list