[M3devel] compilation problems with assertions in RTCollector.m3

Coleburn, Randy rcolebur at SCIRES.COM
Thu May 29 05:12:25 CEST 2014


Tony:

There is an error in "cm3\m3-libs\m3core\src\runtime\common\RTCollector.m3" at line 593.
"hdr" is not defined.
>From context, I'm not sure if it should be "h" or "he", but I've taken a guess on my local copy and changed it to "h".
I'm now running into additional problems.

So, I'll let you make the appropriate fix in the repository.

new source -> compiling RTCollector.m3
"..\src\runtime\common\RTCollector.m3", line 593: undefined (hdr)

Thanks,
Randy Coleburn

From: Tony Hosking [mailto:hosking at cs.purdue.edu]
Sent: Tuesday, May 27, 2014 11:57 AM
To: Coleburn, Randy
Cc: m3devel at elegosoft.com
Subject: EXT:Re: [M3devel] compilation problems with assertions in RTCollector.m3

Just committed a (hopeful) fix.  Please give it a try.

Antony Hosking | Associate Professor | Computer Science | Purdue University
305 N. University Street | West Lafayette | IN 47907 | USA
Mobile +1 765 427 5484






On May 24, 2014, at 12:57 AM, Coleburn, Randy <rcolebur at SCIRES.COM<mailto:rcolebur at SCIRES.COM>> wrote:


I updated my sandbox to be current with the HEAD branch via CVS, then tried to rebuild everything.

I first built a minimal distribution on Windows XP.  Everything seemed to work fine.

Now, using my newly rebuilt cm3.exe, I decided to rebuild everything.  Unfortunately, now I'm running into problems even in the first stage.

Here are some examples of the errors I am getting.  These runtime errors happen compiling various packages.  (I've tried rebuilding several times.)

I show 3 separate incidents below and the last one has a partial stack trace.  In each case, there is an assertion failure in the RTCollector while running the compiler:

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\runtime\common\RTCollector.m3", line 1092
***

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\runtime\common\RTCollector.m3", line 699
***

***
*** runtime error:
***    <*ASSERT*> failed.
***    file "..\src\runtime\common\RTCollector.m3", line 1092
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x12f374   0x6ca19e  CleanBetween + 0x22 in ..\src\runtime\common\RTCollector.m3
0x12f3ac   0x6ca031  CopySome + 0xeb in ..\src\runtime\common\RTCollector.m3
0x12f3b8   0x6c9b02  CollectSomeInStateOne + 0x11 in ..\src\runtime\common\RTCollector.m3
0x12f3c8   0x6c94d6  CollectSome + 0x78 in ..\src\runtime\common\RTCollector.m3
0x12f40c   0x6c916a  CollectEnough + 0x9b in ..\src\runtime\common\RTCollector.m3
0x12f44c   0x6dc586  AllocTraced + 0xd3 in ..\src\runtime\common\RTAllocator.m3
0x12f480   0x6dbbd8  GetTracedObj + 0x86 in ..\src\runtime\common\RTAllocator.m3
0x12f49c   0x6db70c  AllocateTracedObj + 0x15 in ..\src\runtime\common\RTAllocator.m3
0x12f4d0   0x529913  Init_chars + 0x20b in ..\src\misc\CG.m3
0x12f4f8   0x4f948b  Init_chars + 0xb9 in ..\src\misc\M3String.m3
.........  .........  ... more frames ...

WARNING:  Encountered an error when processing package "m3-sys\m3front" for "-build".

Any help in solving this problem would be appreciated.

Thanks,
Randy Coleburn

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


More information about the M3devel mailing list