qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: new c-reactor-tests hang (was Re: [3/3] qpid-proton git commit: initial commit of C reactor)
Date Tue, 06 Jan 2015 20:36:55 GMT
On 01/06/2015 07:39 PM, Rafael Schloming wrote:
> Hey, I made a bunch of updates to them, can you do a pull and see if this
> is still an issue?

That seems to fix it. (A separate issue I just discovered by accident is 
that python-test seems to hang if PN_TRACE_FRM is set to 1).

>
> --Rafael
>
> On Tue, Jan 6, 2015 at 1:07 PM, Gordon Sim <gsim@redhat.com> wrote:
>
>> On 01/05/2015 03:40 AM, rhs@apache.org wrote:
>>
>>> initial commit of C reactor
>>>
>>>
>>> Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
>>> Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/
>>> ebe4e3d3
>>> Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/ebe4e3d3
>>> Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/ebe4e3d3
>>>
>>> Branch: refs/heads/master
>>> Commit: ebe4e3d3676d8fcceb3016d7e0b2abb2deff7927
>>> Parents: 86e08ba
>>> Author: Rafael Schloming <rhs@alum.mit.edu>
>>> Authored: Sun Jan 4 22:38:28 2015 -0500
>>> Committer: Rafael Schloming <rhs@alum.mit.edu>
>>> Committed: Sun Jan 4 22:38:28 2015 -0500
>>>
>>> ----------------------------------------------------------------------
>>>    proton-c/CMakeLists.txt                |   8 +
>>>    proton-c/include/proton/cid.h          |   3 +
>>>    proton-c/include/proton/event.h        |  11 +
>>>    proton-c/include/proton/handlers.h     |  59 +++++
>>>    proton-c/include/proton/reactor.h      |  83 ++++++++
>>>    proton-c/src/events/event.c            |   4 +
>>>    proton-c/src/handlers/flowcontroller.c |  65 ++++++
>>>    proton-c/src/handlers/handshaker.c     | 103 +++++++++
>>>    proton-c/src/messenger/messenger.c     |   2 +
>>>    proton-c/src/reactor/acceptor.c        |  80 +++++++
>>>    proton-c/src/reactor/connection.c      | 207 ++++++++++++++++++
>>>    proton-c/src/reactor/handler.c         | 103 +++++++++
>>>    proton-c/src/reactor/reactor.c         | 216 +++++++++++++++++++
>>>    proton-c/src/tests/CMakeLists.txt      |   1 +
>>>    proton-c/src/tests/reactor.c           | 320
>>> ++++++++++++++++++++++++++++
>>>    15 files changed, 1265 insertions(+)
>>> ----------------------------------------------------------------------
>>>
>>
>> The c-reactor-tests hang for me on a clean build of the latest on master.
>> There is no CPU activity. The pstack output (once valgrind is disabled) is:
>>
>>   #0  0x0000003d546e8b94 in poll () from /lib64/libc.so.6
>>> #1  0x00007f772a099028 in pn_selector_select (selector=0x1e5ff20,
>>> timeout=timeout@entry=1000) at /home/gordon/projects/proton-
>>> git/proton-c/src/posix/selector.c:165
>>> #2  0x00007f772a090d88 in pn_reactor_run (reactor=reactor@entry=0x1e60960)
>>> at /home/gordon/projects/proton-git/proton-c/src/reactor/reactor.c:195
>>> #3  0x00000000004013c7 in test_reactor_connect () at
>>> /home/gordon/projects/proton-git/proton-c/src/tests/reactor.c:265
>>> #4  main (argc=<optimized out>, argv=<optimized out>) at
>>> /home/gordon/projects/proton-git/proton-c/src/tests/reactor.c:318
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
>> For additional commands, e-mail: dev-help@qpid.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message