[M3devel] stubgen problem with m3-tools\m3tk\src\toolmisc\M3Error.m3 line 214

Tony Hosking hosking at cs.purdue.edu
Sun May 15 15:46:14 CEST 2011


There have been recent changes to m3tk.  I think by Mika?

Sent from my iPad

On 14/05/2011, at 11:57 PM, "Coleburn, Randy" <rcolebur at SCIRES.COM> wrote:

> I am seeing a new error when building on Windows 2000, XP, and 7.
> 
>  
> 
> The error affects at least the following packages:
> 
> ·         zeus
> 
> ·         obliqrt
> 
> ·         obliqparse
> 
> ·         juno-app
> 
>  
> 
> The problem is manifested when running the stub generator (stubgen).  In all cases it reports a runtime error, attempt to reference an illegal memory location, and the file and line reference is always to line #214 in m3-tools\m3tk\src\toolmisc\M3Error.m3
> 
>  
> 
> I suspect some recent change is the culprit.
> 
>  
> 
> Here is an example of the error when building juno-app:
> 
>  
> 
> C:\cm3\bin\stubgen -v1 -sno RemoteView.T   -T.M3IMPTAB
> 
>  
> 
>  
> 
> ***
> 
> *** runtime error:
> 
> ***    Attempt to reference an illegal memory location.
> 
> ***    file "..\src\toolmisc\M3Error.m3", line 214
> 
> ***
> 
>  
> 
> Stack trace:
> 
>    FP         PC      Procedure
> 
> ---------  ---------  -------------------------------
> 
> 0x37f208   0xdd496c  CarefulNodeLookup + 0x1e in ..\src\toolmisc\M3Error.m3
> 
> 0x37f26c   0xdd4401  RecordError + 0x2e8 in ..\src\toolmisc\M3Error.m3
> 
> 0x37f298   0xdd4026  Report + 0x23 in ..\src\toolmisc\M3Error.m3
> 
> 0x37f308   0xe46703  Eval + 0x220 in ..\src\sem\M3CExpValue.m3
> 
> 0x37f358   0xe48773  Set + 0x672 in ..\src\sem\M3CExpValue.m3
> 
> 0x37f380   0xda645b  DoVisit + 0x121 in ..\src\gast\ASTWalk.m3
> 
> 0x37f3a4   0xe381de  Range + 0x85 in ..\src\ast\M3AST_AS_Walk.m3
> 
> 0x37f3c8   0xda63e8  DoVisit + 0xae in ..\src\gast\ASTWalk.m3
> 
> 0x37f3ec   0xe36a81  Subrange_type + 0x85 in ..\src\ast\M3AST_AS_Walk.m3
> 
> 0x37f410   0xda63e8  DoVisit + 0xae in ..\src\gast\ASTWalk.m3
> 
> .........  .........  ... more frames ...
> 
> "C:\cm3\pkg\netobj\src\netobj.tmpl", line 37: quake runtime error: exit 2147483647: C:\cm3\bin\stubgen -v1 -sno RemoteView.T   -T.M3IMPTAB
> 
>  
> 
> --procedure--  -line-  -file---
> 
> exec               --  <builtin>
> 
> _v_netobj          37  C:\cm3\pkg\netobj\src\netobj.tmpl
> 
> netobjv1           44  C:\cm3\pkg\netobj\src\netobj.tmpl
> 
> netobj             64  C:\cm3\pkg\netobj\src\netobj.tmpl
> 
> include_dir       105  C:\cm3\Sandbox\m3-ui\juno-2\juno-app\src\m3makefile
> 
>                     4  C:\cm3\Sandbox\m3-ui\juno-2\juno-app\NT386\m3make.args
> 
>  
> 
> Fatal Error: package build failed
> 
>  
> 
> WARNING:  Encountered an error when processing package "m3-ui\juno-2\juno-app" for "-build".
> 
>  
> 
> Regards,
> 
> Randy Coleburn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110515/a192e66e/attachment-0002.html>


More information about the M3devel mailing list