[M3devel] results of threadtest program on Windows7

Coleburn, Randy rcolebur at SCIRES.COM
Sun Feb 27 20:09:08 CET 2011


Mika:

Ok, I've updated to latest HEAD and I've also built Jay's m3sleep program.

Here is what happens now when I run your threadtest program on Windows 7.

C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest -tests ALL,-fork
Writing file...done
Creating read threads...done
Creating nxread threads...done
Creating tryexcept threads...done
Creating forktoomuch threads...done
Creating alloc threads...done
Creating creat threads...done
Creating lock threads...done
running...printing oldest/median age/newest


***
*** runtime error:
***    An array subscript was out of range.
***    file "..\src\runtime\common\RTCollector.m3", line 418
***



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

The last error repeats ad infinitum until I press CNTRL-C to abort.

I'll send more info on the Windows install of Modula3 in a subsequent post.

Regards,
Randy Coleburn

-----Original Message-----
From: Mika Nystrom [mailto:mika at async.caltech.edu] 
Sent: Saturday, February 26, 2011 12:55 PM
To: Coleburn, Randy
Cc: m3devel at elegosoft.com
Subject: Re: [M3devel] results of threadtest program on Windows7 

Hi Randy,

Hm yes it looks like my Windows programming skills leave something
to be desired.

You can run the thread tester while skipping a test as follows

   threadtest -tests ALL,-fork

(for instance)

if you just run 

   threadtest -sadfassdaf

it'll print the tests that are available.

As it happens, I just had to upgrade my windows 2000 system to windows 7.
Can you give me a very brief description of what you did to install Modula-3
on this system?

     Mika

"Coleburn, Randy" writes:
>--_000_D67F02DDC62F7545A6B84C285F88F3E6EE25C849atlex02srv_
>Content-Type: text/plain; charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>
>Mika:
>
>I've finally managed to get cm3 rebuilt on Windows 7 again.
>
>So, I ran your threadtest program.
>
>Here are the results.  Note the "..." is where I cut out a bunch of the rep=
>eating "ERROR FApply" messages.
>
>C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe
>Writing file...done
>Creating read threads...done
>Creating fork threads...done
>Creating alloc threads...done
>Creating lock threads...done
>running...printing oldest/median age/newest
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>.
>.
>.
>***
>*** runtime error:
>***    An enumeration or subrange value was out of range.
>***    file "..\src\Main.m3", line 340
>***
>
>laziest thread is 0/0/ERROR FApply: OSError.E:  ErrorCode=3D2: The system c=
>annot find the file specified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>.
>.
>.
>laziest thread is 0/0/ERROR FApply: OSError.E:  ErrorCode=3D2: The system c=
>annot find the file specified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>.
>.
>.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>ERROR FApply: OSError.E:  ErrorCode=3D2: The system cannot find the file sp=
>ecified.
>Stack trace:
>   FP         PC      Procedure
>---------  ---------  -------------------------------
>0x30fbd0  0x127218a  PutStats + 0x1a3 in ..\src\Main.m3
>0x30fcc0  0x1273825  Main_M3 + 0x11db(!) in ..\src\Main.m3
>
>Regards,
>Randy Coleburn
>
>--_000_D67F02DDC62F7545A6B84C285F88F3E6EE25C849atlex02srv_
>Content-Type: text/html; charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>



More information about the M3devel mailing list