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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.18.0
    • Fix Version/s: proton-c-0.18.0
    • Component/s: examples, proton-c
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: