[M3devel] another thread test run on NT386 32-bit using HEAD branch

Tony Hosking hosking at cs.purdue.edu
Wed Mar 16 22:22:38 CET 2011


Badness both places.  Not sure I see anything obvious from these dumps.

On Mar 16, 2011, at 2:54 PM, Coleburn, Randy wrote:

> Here are results from the following platform:
> IBM G40, Windows XP Professional, 32-bit
> Using current HEAD branch of CM3
>  
> Both of the runs below use @M3paranoidgc
>  
> Note on the second run using alloc and creat tests that I get an error about a thread trying to join twice.
>  
> C:\cm3\Sandbox\cm3\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.
> ***    pc = 0x4086a0 = Init + 0x79 in ..\src\rw\FileRd.m3
> ***
>  
> .Stack trace:
>    FP         PC      Procedure
> ---------  ---------  -------------------------------
> 0x107feb8   0x44536b  SystemError + 0x64 in ..\src\runtime\NT386\RTSignal.m3
> 0x107ff00   0x4086a0  Init + 0x79 in ..\src\rw\FileRd.m3
> 0x107ff2c   0x40861d  Open + 0x4d in ..\src\rw\FileRd.m3
> 0x107ff78   0x40173e  NApply + 0x124 in ..\src\Main.m3
> 0x107ffb4   0x42b56f  ThreadBase + 0x254 in ..\src\thread\WIN32\ThreadWin32.m3
> .........  .........  ... more frames ...
>  
>  
>  
> C:\cm3\Sandbox\cm3\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 11125 loops.
>    alloc Thread 16 completed 10472 loops.
>    alloc Thread 17 completed 9722 loops.
>    creat Thread 18 completed 84 loops.
>    creat Thread 19 completed 98 loops.
>    creat Thread 20 completed 96 loops.
> ..........laziest thread is 0/0/0 (tests: alloc 0/0/0 creat 0/0/0)
>    alloc Thread 15 completed 14258 loops.
>    alloc Thread 16 completed 10791 loops.
>    alloc Thread 17 completed 11403 loops.
>    creat Thread 18 completed 111 loops.
>    creat Thread 19 completed 115 loops.
>    creat Thread 20 completed 121 loops.
> ..........laziest thread is 0/0/0 (tests: alloc 0/0/0 creat 0/0/0)
>    alloc Thread 15 completed 13954 loops.
>    alloc Thread 16 completed 9547 loops.
>    alloc Thread 17 completed 10561 loops.
>    creat Thread 18 completed 115 loops.
>    creat Thread 19 completed 121 loops.
>    creat Thread 20 completed 125 loops.
> .
>  
> ***
> *** runtime error:
> ***    Thread client error: attempt to join with thread twice
> ***    file "..\src\thread\WIN32\ThreadWin32.m3", line 688
> ***
>  
> Stack trace:
>    FP         PC      Procedure
> ---------  ---------  -------------------------------
> 0x127fedc   0x42c3ee  Die + 0x2a in ..\src\thread\WIN32\ThreadWin32.m3
> 0x127ff10   0x42b882  XJoin + 0x3c in ..\src\thread\WIN32\ThreadWin32.m3
> 0x127ff38   0x42ba06  Join + 0x46 in ..\src\thread\WIN32\ThreadWin32.m3
> 0x127ff78   0x402777  CApply + 0x12d in ..\src\Main.m3
> 0x127ffb4   0x42b56f  ThreadBase + 0x254 in ..\src\thread\WIN32\ThreadWin32.m3
> .........  .........  ... more frames ...
>  
>  
> Regards,
> Randy Coleburn
>  

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


More information about the M3devel mailing list