Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1413

[proactor] Assertion `ps->next == &UNLISTED' failed

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.18.0
    • proton-c-0.18.0
    • examples, proton-c
    • None

    Description

      Use commit 204c847 PROTON-1403: C libuv proactor fixes and tests, build with -DCMAKE_BUILD_TYPE=Debug

      ./qpid-proton/build/examples/c/proactor/send -a 192.168.1.100
      100 messages sent and acknowledged
      PN_TRANSPORT_CLOSED: amqp:connection:framing-error: connection aborted
      
      /receive -a 192.168.1.100
      {"sequence"=1}
      {"sequence"=2}
      receive: .../proton-c/src/proactor/libuv.c:203: void push_lh(queue *, psocket_t *): Assertion `ps->next == &UNLISTED' failed.
      Aborted (core dumped)
      

      Another (more deterministic) way to reproduce this is

      $ nc -l 5672 < /dev/null 
      $ qpid-proton/build/examples/c/proactor/receive
      receive: .../qpid-proton/proton-c/src/proactor/libuv.c:203: void push_lh(queue *, psocket_t *): Assertion `ps->next == &UNLISTED' failed.
      Aborted (core dumped)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aconway Alan Conway
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment