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

100% CPU usage on ARM in pn_messenger_recv()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.4
    • proton-0.5
    • proton-c
    • None
    • ARM9, eglibc linux

    Description

      Deep down pn_messenger_recv() issues a poll() with a specific timeout. On ARM9 the poll timeout is reset to 0 because d->wakeup is always older than now. The reason is, that the time stamp is passed around earlier and one of the functions has a time_t instead of a pn_timestamp_t in the declaration.

      Patch that fixes the problem is attached.

      Attachments

        Activity

          People

            tross Ted Ross
            jin_eld Jin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: