[M3devel] results of threadtest program on Windows7

Jay K jay.krell at cornell.edu
Sat Feb 26 11:25:51 CET 2011


The FApply problems are because the wants to run "sleep".
I've checked in a sleep subset including a Win32 port (untested, but it is
very simple). We should get that available to the test and have it run m3sleep instead
of sleep. Or you can manually copy this m3sleep.exe to %windir%\system32\sleep.exe or such.
Or put Cygwin sleep.exe in %PATH%, but that is overkill.
Probably the thread tester could implement a -sleep flag and just call itself with that..

 - Jay

From: rcolebur at SCIRES.COM
To: m3devel at elegosoft.com
Date: Sat, 26 Feb 2011 04:47:02 -0500
Subject: [M3devel] results of threadtest program on Windows7



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 repeating “ERROR FApply” messages. C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exeWriting file...doneCreating read threads...doneCreating fork threads...doneCreating alloc threads...doneCreating lock threads...donerunning...printing oldest/median age/newestERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified....****** 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=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified....laziest thread is 0/0/ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified....ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.ERROR FApply: OSError.E:  ErrorCode=2: The system cannot find the file specified.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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110226/0c0ffd33/attachment-0002.html>


More information about the M3devel mailing list