<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.Code, li.Code, div.Code
        {mso-style-name:Code;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:9.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I got this on Linux in libraries/unix/tests<o:p></o:p></span></p>
<p class="Code">Wrong exit code for forkprocess01(threaded1_ls)(expected 0 , actual 134 )<o:p></o:p></p>
<p class="Code">Stderr ( forkprocess01 ):<o:p></o:p></p>
<p class="Code">forkprocess01: internal error: multiple ACQUIRE_LOCK: rts/Task.c 226<o:p></o:p></p>
<p class="Code">    (GHC version 8.3.20170428 for x86_64_unknown_linux)<o:p></o:p></p>
<p class="Code">    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug<o:p></o:p></p>
<p class="Code">Aborted<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">when validaiting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">It worked fine when I said “make TEST=forkprocess01” (see below).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">I have no idea if this matters.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="Code">make TEST=forkprocess01<o:p></o:p></p>
<p class="Code">PYTHON="python3" "python3" ../../../testsuite/driver/runtests.py  -e ghc_compiler_always_flags="'-dcore-lint -dcmm-lint -no-user-package-db -rtsopts  -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret
 -dno-debug-output'" -e config.compiler_debugged=False -e ghc_with_native_codegen=1 -e config.have_vanilla=True -e config.have_dynamic=True -e config.have_profiling=False -e ghc_with_threaded_rts=1 -e ghc_with_dynamic_rts=1 -e config.have_interp=True -e config.unregisterised=False
 -e config.ghc_dynamic_by_default=False -e config.ghc_dynamic=True -e ghc_with_smp=1 -e ghc_with_llvm=0 -e windows=False -e darwin=False -e config.in_tree_compiler=True -e config.cleanup=True -e config.local=True --rootdir=. --configfile=../../../testsuite/config/ghc
 -e 'config.confdir="../../../testsuite/config"' -e 'config.platform="x86_64-unknown-linux"' -e 'config.os="linux"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout' -e 'config.exeext=""' -e 'config.top="/5playpen/simonpj/HEAD-6/testsuite"'
 --config 'compiler="/5playpen/simonpj/HEAD-6/inplace/test   spaces/ghc-stage2"' --config 'ghc_pkg="/5playpen/simonpj/HEAD-6/inplace/test   spaces/ghc-pkg"' --config 'haddock=' --config 'hp2ps="/5playpen/simonpj/HEAD-6/inplace/test   spaces/hp2ps"' --config
 'hpc="/5playpen/simonpj/HEAD-6/inplace/test   spaces/hpc"' --config 'gs="gs"' --config 'timeout_prog="../../../testsuite/timeout/install-inplace/bin/timeout"' -e "config.stage=2"  \<o:p></o:p></p>
<p class="Code">              --only=forkprocess01 \<o:p></o:p></p>
<p class="Code">              \<o:p></o:p></p>
<p class="Code">              \<o:p></o:p></p>
<p class="Code">              \<o:p></o:p></p>
<p class="Code">              \<o:p></o:p></p>
<p class="Code">              \<o:p></o:p></p>
<p class="Code">              <o:p></o:p></p>
<p class="Code">Timeout is 300<o:p></o:p></p>
<p class="Code">Found 2 .T files...<o:p></o:p></p>
<p class="Code">Beginning test run at Tue May  2 10:11:39 2017 BST<o:p></o:p></p>
<p class="Code">====> Scanning ./all.T<o:p></o:p></p>
<p class="Code">====> Scanning ./libposix/all.T<o:p></o:p></p>
<p class="Code">=====> forkprocess01(normal) 1 of 1 [0, 0, 0]<o:p></o:p></p>
<p class="Code">cd "./forkprocess01.run" &&  "/5playpen/simonpj/HEAD-6/inplace/test   spaces/ghc-stage2" -o forkprocess01 forkprocess01.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
 -fno-diagnostics-show-caret -dno-debug-output  -package unix<o:p></o:p></p>
<p class="Code">cd "./forkprocess01.run" && ./forkprocess01  <o:p></o:p></p>
<p class="Code">=====> forkprocess01(threaded1_ls) 1 of 1 [0, 0, 0]<o:p></o:p></p>
<p class="Code">cd "./forkprocess01.run" &&  "/5playpen/simonpj/HEAD-6/inplace/test   spaces/ghc-stage2" -o forkprocess01 forkprocess01.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never
 -fno-diagnostics-show-caret -dno-debug-output  -threaded -debug -package unix<o:p></o:p></p>
<p class="Code">cd "./forkprocess01.run" && ./forkprocess01 +RTS -ls -RTS <o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">SUMMARY for test run started at Tue May  2 10:11:39 2017 BST<o:p></o:p></p>
<p class="Code">0:00:03 spent to go through<o:p></o:p></p>
<p class="Code">       1 total tests, which gave rise to<o:p></o:p></p>
<p class="Code">       8 test cases, of which<o:p></o:p></p>
<p class="Code">       6 were skipped<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">       0 had missing libraries<o:p></o:p></p>
<p class="Code">       2 expected passes<o:p></o:p></p>
<p class="Code">       0 expected failures<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">       0 caused framework failures<o:p></o:p></p>
<p class="Code">       0 caused framework warnings<o:p></o:p></p>
<p class="Code">       0 unexpected passes<o:p></o:p></p>
<p class="Code">       0 unexpected failures<o:p></o:p></p>
<p class="Code">       0 unexpected stat failures<o:p></o:p></p>
<p class="Code"><o:p> </o:p></p>
<p class="Code">simonpj@cam-05-unx:~/5builds/HEAD-6/libraries/unix/tests$<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
</div>
</body>
</html>