[M3devel] thread test results on Win7 64-bit

Coleburn, Randy rcolebur at SCIRES.COM
Wed Mar 16 23:50:55 CET 2011


Here are thread test results for Dell Latitude E6510, Windows 7, 64-bit, against current HEAD branch.
I ran each set 3 times:  no @M3 directive, @M3paranoidgc, and @M3nogc
Note 3rd run where the fork thread shows being starved during first iteration, but test did run to completion using @M3nogc.


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests read,nxread,tryexcept,fork,forktoomuch,lock
Writing file...done
Creating read threads...
   read=0
   read=1
   read=2
done
Creating nxread threads...
   nxread=3
   nxread=4
   nxread=5
done
Creating tryexcept threads...
   tryexcept=6
   tryexcept=7
   tryexcept=8
done
Creating fork threads...
   fork=9
   fork=0
   fork=11
done
Creating forktoomuch threads...
   forktoomuch=12
   forktoomuch=13
   forktoomuch=14
done
Creating lock threads...
   lock=21
   lock=22
   lock=23
done
running...printing oldest/median age/newest
.

***
*** runtime error:
***    An array subscript was out of range.
***    file "..\src\rw\FileRd.m3", line 83
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0xaafa68  0x1198d68  Seek + 0x454 in ..\src\rw\FileRd.m3
0xaafa94  0x119a836  FastEOF + 0xc9 in ..\src\rw\Rd.m3
0xaafabc  0x119a72c  EOF + 0x48 in ..\src\rw\Rd.m3
0xaafb08  0x119176e  NApply + 0x154 in ..\src\Main.m3
0xaafb44  0x11bb56f  ThreadBase + 0x254 in ..\src\thread\WIN32\ThreadWin32.m3
0xaafb50  0x75c53677  <???>
0xaafb90  0x77e39f02  <???>
.........  .........  ... more frames ...


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests read,nxread,tryexcept,fork,forktoomuch,lock @M3paranoidgc
Writing file...done
Creating read threads...
   read=0
   read=1
   read=2
done
Creating nxread threads...
   nxread=3
   nxread=4
   nxread=5
done
Creating tryexcept threads...
   tryexcept=6
   tryexcept=7
   tryexcept=8
done
Creating fork threads...
   fork=9
   fork=0
   fork=11
done
Creating forktoomuch threads...
   forktoomuch=12
   forktoomuch=13
   forktoomuch=14
done
Creating lock threads...
   lock=21
   lock=22
   lock=23
done
running...printing oldest/median age/newest
.

***
*** runtime error:
***    Attempt to reference an illegal memory location.

***
*** runtime error:
***    Attempt to reference an illegal memory location.

***
*** runtime error:
***    Attempt to reference an illegal memory location.

***
*** runtime error:
***    Attempt to reference an illegal memory location.

***
*** runtime error:
***    Attempt to reference an illegal memory location.

***
*** runtime error:
***    Attempt to reference an illegal memory location.
***    pc = 0x11986a0 = Init + 0x79 in ..\src\rw\FileRd.m3
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0x84fb48  0x11d537b  SystemError + 0x64 in ..\src\runtime\NT386\RTSignal.m3
0x84fb90  0x11986a0  Init + 0x79 in ..\src\rw\FileRd.m3
0x84fbbc  0x119861d  Open + 0x4d in ..\src\rw\FileRd.m3
0x84fcf4  0x1191360  RApply + 0x160 in ..\src\Main.m3
0x84fd30  0x11bb56f  ThreadBase + 0x254 in ..\src\thread\WIN32\ThreadWin32.m3
0x84fd3c  0x75c53677  <???>
0x84fd7c  0x77e39f02  <???>
.........  .........  ... more frames ...


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests read,nxread,tryexcept,fork,forktoomuch,lock @M3nogc
Writing file...done
Creating read threads...
   read=0
   read=1
   read=2
done
Creating nxread threads...
   nxread=3
   nxread=4
   nxread=5
done
Creating tryexcept threads...
   tryexcept=6
   tryexcept=7
   tryexcept=8
done
Creating fork threads...
   fork=9
   fork=0
   fork=11
done
Creating forktoomuch threads...
   forktoomuch=12
   forktoomuch=13
   forktoomuch=14
done
Creating lock threads...
   lock=21
   lock=22
   lock=23
done
running...printing oldest/median age/newest
..........laziest thread is 0/0/-2 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork -2/-2/-2 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 113 loops.
   read Thread 1 completed 45 loops.
   read Thread 2 completed 56 loops.
   nxread Thread 3 completed 48 loops.
   nxread Thread 4 completed 50 loops.
   nxread Thread 5 completed 41 loops.
   tryexcept Thread 6 completed 19499179 loops.
   tryexcept Thread 7 completed 15275763 loops.
   tryexcept Thread 8 completed 22671986 loops.
fork Thread 9 appears starved or deadlocked !!!
fork Thread 10 appears starved or deadlocked !!!
fork Thread 11 appears starved or deadlocked !!!
   forktoomuch Thread 12 completed 5 loops.
   forktoomuch Thread 13 completed 5 loops.
   forktoomuch Thread 14 completed 5 loops.
   lock Thread 21 completed 9512206 loops.
   lock Thread 22 completed 6619988 loops.
   lock Thread 23 completed 7547029 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 81 loops.
   read Thread 1 completed 71 loops.
   read Thread 2 completed 89 loops.
   nxread Thread 3 completed 66 loops.
   nxread Thread 4 completed 40 loops.
   nxread Thread 5 completed 36 loops.
   tryexcept Thread 6 completed 19628784 loops.
   tryexcept Thread 7 completed 22393679 loops.
   tryexcept Thread 8 completed 19328247 loops.
   fork Thread 9 completed 3 loops.
   fork Thread 10 completed 2 loops.
   fork Thread 11 completed 1 loops.
   forktoomuch Thread 12 completed 5 loops.
   forktoomuch Thread 13 completed 6 loops.
   forktoomuch Thread 14 completed 5 loops.
   lock Thread 21 completed 10152547 loops.
   lock Thread 22 completed 7780818 loops.
   lock Thread 23 completed 8156000 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 151 loops.
   read Thread 1 completed 114 loops.
   read Thread 2 completed 198 loops.
   nxread Thread 3 completed 81 loops.
   nxread Thread 4 completed 102 loops.
   nxread Thread 5 completed 65 loops.
   tryexcept Thread 6 completed 16242018 loops.
   tryexcept Thread 7 completed 18541779 loops.
   tryexcept Thread 8 completed 23687938 loops.
   fork Thread 9 completed 4 loops.
   fork Thread 10 completed 5 loops.
   fork Thread 11 completed 4 loops.
   forktoomuch Thread 12 completed 7 loops.
   forktoomuch Thread 13 completed 8 loops.
   forktoomuch Thread 14 completed 7 loops.
   lock Thread 21 completed 6189375 loops.
   lock Thread 22 completed 12637746 loops.
   lock Thread 23 completed 6191441 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 158 loops.
   read Thread 1 completed 111 loops.
   read Thread 2 completed 210 loops.
   nxread Thread 3 completed 80 loops.
   nxread Thread 4 completed 107 loops.
   nxread Thread 5 completed 77 loops.
   tryexcept Thread 6 completed 27811791 loops.
   tryexcept Thread 7 completed 14614651 loops.
   tryexcept Thread 8 completed 14962432 loops.
   fork Thread 9 completed 4 loops.
   fork Thread 10 completed 4 loops.
   fork Thread 11 completed 5 loops.
   forktoomuch Thread 12 completed 9 loops.
   forktoomuch Thread 13 completed 8 loops.
   forktoomuch Thread 14 completed 9 loops.
   lock Thread 21 completed 6021783 loops.
   lock Thread 22 completed 11487180 loops.
   lock Thread 23 completed 6730226 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 85 loops.
   read Thread 1 completed 75 loops.
   read Thread 2 completed 85 loops.
   nxread Thread 3 completed 50 loops.
   nxread Thread 4 completed 58 loops.
   nxread Thread 5 completed 67 loops.
   tryexcept Thread 6 completed 28345540 loops.
   tryexcept Thread 7 completed 14693468 loops.
   tryexcept Thread 8 completed 17065423 loops.
   fork Thread 9 completed 5 loops.
   fork Thread 10 completed 6 loops.
   fork Thread 11 completed 5 loops.
   forktoomuch Thread 12 completed 8 loops.
   forktoomuch Thread 13 completed 9 loops.
   forktoomuch Thread 14 completed 8 loops.
   lock Thread 21 completed 6621257 loops.
   lock Thread 22 completed 10815327 loops.
   lock Thread 23 completed 8437962 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 174 loops.
   read Thread 1 completed 133 loops.
   read Thread 2 completed 202 loops.
   nxread Thread 3 completed 85 loops.
   nxread Thread 4 completed 110 loops.
   nxread Thread 5 completed 72 loops.
   tryexcept Thread 6 completed 23348157 loops.
   tryexcept Thread 7 completed 14374032 loops.
   tryexcept Thread 8 completed 19940269 loops.
   fork Thread 9 completed 5 loops.
   fork Thread 10 completed 5 loops.
   fork Thread 11 completed 5 loops.
   forktoomuch Thread 12 completed 8 loops.
   forktoomuch Thread 13 completed 8 loops.
   forktoomuch Thread 14 completed 8 loops.
   lock Thread 21 completed 7341139 loops.
   lock Thread 22 completed 10330530 loops.
   lock Thread 23 completed 6812041 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 26 loops.
   read Thread 1 completed 32 loops.
   read Thread 2 completed 36 loops.
   nxread Thread 3 completed 38 loops.
   nxread Thread 4 completed 24 loops.
   nxread Thread 5 completed 27 loops.
   tryexcept Thread 6 completed 17115144 loops.
   tryexcept Thread 7 completed 19179208 loops.
   tryexcept Thread 8 completed 25222246 loops.
   fork Thread 9 completed 5 loops.
   fork Thread 10 completed 6 loops.
   fork Thread 11 completed 5 loops.
   forktoomuch Thread 12 completed 8 loops.
   forktoomuch Thread 13 completed 9 loops.
   forktoomuch Thread 14 completed 9 loops.
   lock Thread 21 completed 10391588 loops.
   lock Thread 22 completed 7466890 loops.
   lock Thread 23 completed 8045330 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 68 loops.
   read Thread 1 completed 78 loops.
   read Thread 2 completed 87 loops.
   nxread Thread 3 completed 55 loops.
   nxread Thread 4 completed 49 loops.
   nxread Thread 5 completed 49 loops.
   tryexcept Thread 6 completed 23843674 loops.
   tryexcept Thread 7 completed 23476782 loops.
   tryexcept Thread 8 completed 15668116 loops.
   fork Thread 9 completed 5 loops.
   fork Thread 10 completed 4 loops.
   fork Thread 11 completed 5 loops.
   forktoomuch Thread 12 completed 9 loops.
   forktoomuch Thread 13 completed 8 loops.
   forktoomuch Thread 14 completed 9 loops.
   lock Thread 21 completed 7504169 loops.
   lock Thread 22 completed 9868443 loops.
  lock Thread 23 completed 8893786 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 191 loops.
   read Thread 1 completed 181 loops.
   read Thread 2 completed 256 loops.
   nxread Thread 3 completed 100 loops.
   nxread Thread 4 completed 116 loops.
   nxread Thread 5 completed 110 loops.
   tryexcept Thread 6 completed 25424753 loops.
   tryexcept Thread 7 completed 16145782 loops.
   tryexcept Thread 8 completed 18178878 loops.
   fork Thread 9 completed 5 loops.
   fork Thread 10 completed 5 loops.
   fork Thread 11 completed 4 loops.
   forktoomuch Thread 12 completed 9 loops.
   forktoomuch Thread 13 completed 9 loops.
   forktoomuch Thread 14 completed 8 loops.
   lock Thread 21 completed 8276088 loops.
   lock Thread 22 completed 8386980 loops.
   lock Thread 23 completed 9006728 loops.
..........laziest thread is 0/0/0 (tests: read 0/0/0 nxread 0/0/0 tryexcept 0/0/0 fork 0/0/0 forktoomuch 0/0/0 lock 0/0/0)
   read Thread 0 completed 100 loops.
   read Thread 1 completed 126 loops.
   read Thread 2 completed 180 loops.
   nxread Thread 3 completed 80 loops.
   nxread Thread 4 completed 63 loops.
   nxread Thread 5 completed 96 loops.
   tryexcept Thread 6 completed 24009428 loops.
   tryexcept Thread 7 completed 18997565 loops.
   tryexcept Thread 8 completed 17752747 loops.
   fork Thread 9 completed 4 loops.
   fork Thread 10 completed 4 loops.
   fork Thread 11 completed 4 loops.
   forktoomuch Thread 12 completed 7 loops.
   forktoomuch Thread 13 completed 8 loops.
   forktoomuch Thread 14 completed 9 loops.
   lock Thread 21 completed 8760970 loops.
   lock Thread 22 completed 6987943 loops.
   lock Thread 23 completed 10012968 loops.
All tests complete.  Congratulations.


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests alloc,creat
Writing file...done
Creating alloc threads...
   alloc=15
   alloc=16
   alloc=17
done
Creating creat threads...
   creat=18
   creat=19
   creat=20
done
running...printing oldest/median age/newest
.....

***
*** runtime error:
***    Attempt to reference an illegal memory location.
***    pc = 0xdee37d = Move + 0x50 in ..\src\runtime\common\RTCollector.m3
***

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

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

^C


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests alloc,creat @M3paranoidgc
Writing file...done
Creating alloc threads...
   alloc=15
   alloc=16
   alloc=17
done
Creating creat threads...
   creat=18
   creat=19
   creat=20
done
running...printing oldest/median age/newest
..........laziest thread is 0/0/0 (tests: alloc 0/0/0 creat 0/0/0)
   alloc Thread 15 completed 15465 loops.
   alloc Thread 16 completed 26927 loops.
   alloc Thread 17 completed 32052 loops.
   creat Thread 18 completed 248 loops.
   creat Thread 19 completed 432 loops.
   creat Thread 20 completed 260 loops.
..

***
*** runtime error:
***    Attempt to reference an illegal memory location.
***

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

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

^C


C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>threadtest.exe -verbose -tests alloc,creat @M3nogc
Writing file...done
Creating alloc threads...
   alloc=15
   alloc=16
   alloc=17
done
Creating creat threads...
   creat=18
   creat=19
   creat=20
done
running...printing oldest/median age/newest
...

NEW() was unable to al***ate more memory. was unable to allocate more memory.

NEW() was unable to al***ate more memory.

NEW() was unable to al***ate more memory. was unable to allocate more memory.

***
*** runtime error:
***    NEW() was unable to allocate more memory.
***    file "..\src\runtime\common\RuntimeError.m3", line 63
***

***    file "..\src\runtime\common\RuntimeError.m3", line 63
***

***    file "..\src\runtime\common\RuntimeError.m3", line 63
***

Stack trace:
   FP         PC      Procedure
---------  ---------  -------------------------------
0xa5fa48   0xeac5a2  Raise + 0x3f in ..\src\runtime\common\RuntimeError.m3
0xa5fa68   0xe88712  AllocateOpenArray + 0x33 in ..\src\runtime\common\RTAllocator.m3
0xa5fac4   0xe62430  AApply + 0x128 in ..\src\Main.m3
0xa5fb00   0xe8b56f  ThreadBase + 0x254 in ..\src\thread\WIN32\ThreadWin32.m3
0xa5fb0c  0x75c53677  <???>
0xa5fb4c  0x77e39f02  <???>
.........  .........  ... more frames ...

C:\cm3\Sandbox\m3-libs\m3core\tests\thread\NT386>

Regards,
Randy Coleburn

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110316/2a7332c1/attachment-0001.html>


More information about the M3devel mailing list