Qpid Proton
  1. Qpid Proton
  2. PROTON-297

100% CPU usage on ARM in pn_messenger_recv()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None
    • Environment:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ted Ross
            Reporter:
            Jin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development