<div dir="ltr">I wouldn't be surprised if this were Android specific (libc/kernel bug). Since we did run into problems with pthread_sigmask before.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 11:17 PM, Chaoren Lin <span dir="ltr"><<a href="mailto:chaorenl@google.com" target="_blank">chaorenl@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Yeah, it's definitely related. Those two tests launch a large number of processes. LLDB kinda hangs waiting for the inferior exit SIGCHLD. Multiply that by the number of processes and you have hanging tests.</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jul 15, 2015 23:14, "Oleksiy Vyalov" <<a href="mailto:ovyalov@google.com" target="_blank">ovyalov@google.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Starting with <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lab.llvm.org-3A8011_builders_lldb-2Dx86-5F64-2Dubuntu-2D14.04-2Dandroid_builds_678&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XwasgbxwWFcm6VpLKTOwFD9qnld5pm5xFcBgWS8bw9s&s=yqRHabeVPsCyk9tCOiIfBF5ePKqQc7IMT3KQDU86i0w&e=" target="_blank">this build </a> which includes the CL next 2 tests started to timeout - TestIntegerTypes & TestIntegerTypesExpr.<div>Could you check whether it's related or not?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 7:06 PM, Chaoren Lin <span dir="ltr"><<a href="mailto:chaorenl@google.com" target="_blank">chaorenl@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Pavel,<div><br></div><div>I think there's some problems with the signal handling. SIGCHLD is received 6 times, but SigchldHandler is only called 5 times (missing the exit signal). </div><div><br></div><div>The following error occurs when trying to `process kill` an Android inferior:</div><div>```</div><div>Handle_k: failed to kill spawned pid ###, ignoring.</div><div>```</div><div><br></div><div>It doesn't seem to be directly causing any test failures, but it's significantly slowing down the test suite.</div><div><br></div><div>Could you please look into this?</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 15, 2015 at 10:20 AM, Pavel Labath <span dir="ltr"><<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This revision was automatically updated to reflect the committed changes.<br>
Closed by commit rL242305: [NativeProcessLinux] Integrate MainLoop (authored by labath).<br>
<br>
Changed prior to commit:<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D11150-3Fvs-3D29660-26id-3D29789-23toc&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XwasgbxwWFcm6VpLKTOwFD9qnld5pm5xFcBgWS8bw9s&s=f6UpSkV7wrwowlq3Uztw83JHWCIaL2Er6S3hQkcWDc0&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D11150?vs=29660&id=29789#toc</a><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D11150&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=MEqT8U_n7oNfuDW5NRbY3ZV384ZquXIYFPWmprwUdKM&m=XwasgbxwWFcm6VpLKTOwFD9qnld5pm5xFcBgWS8bw9s&s=iYlyyJ1BVNWKFaqFEtyyKPjx-0kHH5sCk5Rwk1O4byc&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D11150</a><br>
<br>
Files:<br>
  lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h<br>
  lldb/trunk/source/Host/common/NativeProcessProtocol.cpp<br>
  lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp<br>
  lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h<br>
  lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp<br>
  lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp<br>
  lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp<br>
  lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp<br>
  lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;background-color:rgb(255,255,255);border-width:2px 0px 0px;border-style:solid;border-color:rgb(213,15,37);padding-top:2px;margin-top:2px">Oleksiy Vyalov |</span><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;background-color:rgb(255,255,255);border-width:2px 0px 0px;border-style:solid;border-color:rgb(51,105,232);padding-top:2px;margin-top:2px"> Software Engineer |</span><span style="color:rgb(85,85,85);font-family:sans-serif;line-height:20px;background-color:rgb(255,255,255);border-width:2px 0px 0px;border-style:solid;border-color:rgb(0,153,57);padding-top:2px;margin-top:2px"> <a href="mailto:ovyalov@google.com" target="_blank">ovyalov<font color="#1155cc">@google.com</font></a></span></div></div>
</div>
</blockquote></div>
</div></div></blockquote></div><br></div>