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

100% CPU with multiple subscriptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: proton-0.8
    • Fix Version/s: None
    • Component/s: proton-c

      Description

      Calling pn_messenger_subscribe() twice (which seems to be perfectly valid) can result in proton hanging at 100% cpu, when one of the two sources is unreachable.

      To reproduce, start the attached test case against a pristine ActiveMQ copy (./bin/activemq console). Proton will go nuts when trying to connect to the unavailable amqp://localhost:15672/ganymede instance.

        Attachments

        1. infinite-loop.c
          0.9 kB
          Fabien CHEVALIER

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chefabien Fabien CHEVALIER
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: