[Lldb-commits] [PATCH] D11150: [NativeProcessLinux] Integrate MainLoop

Chaoren Lin chaorenl at google.com
Wed Jul 15 23:20:14 PDT 2015


I wouldn't be surprised if this were Android specific (libc/kernel bug).
Since we did run into problems with pthread_sigmask before.

On Wed, Jul 15, 2015 at 11:17 PM, Chaoren Lin <chaorenl at google.com> wrote:

> 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.
> On Jul 15, 2015 23:14, "Oleksiy Vyalov" <ovyalov at google.com> wrote:
>
>> Starting with this build
>> <http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-android/builds/678> which
>> includes the CL next 2 tests started to timeout - TestIntegerTypes
>> & TestIntegerTypesExpr.
>> Could you check whether it's related or not?
>>
>> On Wed, Jul 15, 2015 at 7:06 PM, Chaoren Lin <chaorenl at google.com> wrote:
>>
>>> Hi Pavel,
>>>
>>> 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).
>>>
>>> The following error occurs when trying to `process kill` an Android
>>> inferior:
>>> ```
>>> Handle_k: failed to kill spawned pid ###, ignoring.
>>> ```
>>>
>>> It doesn't seem to be directly causing any test failures, but it's
>>> significantly slowing down the test suite.
>>>
>>> Could you please look into this?
>>>
>>> On Wed, Jul 15, 2015 at 10:20 AM, Pavel Labath <labath at google.com>
>>> wrote:
>>>
>>>> This revision was automatically updated to reflect the committed
>>>> changes.
>>>> Closed by commit rL242305: [NativeProcessLinux] Integrate MainLoop
>>>> (authored by labath).
>>>>
>>>> Changed prior to commit:
>>>>   http://reviews.llvm.org/D11150?vs=29660&id=29789#toc
>>>>
>>>> Repository:
>>>>   rL LLVM
>>>>
>>>> http://reviews.llvm.org/D11150
>>>>
>>>> Files:
>>>>   lldb/trunk/include/lldb/Host/common/NativeProcessProtocol.h
>>>>   lldb/trunk/source/Host/common/NativeProcessProtocol.cpp
>>>>   lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp
>>>>   lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h
>>>>   lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp
>>>>
>>>> lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
>>>>
>>>> lldb/trunk/source/Plugins/Process/Linux/NativeRegisterContextLinux_mips64.cpp
>>>>
>>>> lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
>>>>
>>>> lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
>>>>
>>>>
>>>
>>
>>
>> --
>> Oleksiy Vyalov | Software Engineer | ovyalov at google.com
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150715/b932bece/attachment.html>


More information about the lldb-commits mailing list