Qpid
  1. Qpid
  2. QPID-3620

time conversions fail on solaris

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.16
    • Component/s: C++ Broker, C++ Client
    • Labels:
      None
    • Environment:

      Solaris sparc 64

      Description

      Condition::wait(Mutex&, const AbsTime& absoluteTime) fails for far future time during cast/truncation from 64 bit int to posix timespec.tv_sec. The time is actually in the past and the wait times out instantly.

        Activity

        Cliff Jansen created issue -
        Hide
        Cliff Jansen added a comment -

        proposed fix. do not assign value "larger" than std::numeric_limits<time_t>::max()

        Show
        Cliff Jansen added a comment - proposed fix. do not assign value "larger" than std::numeric_limits<time_t>::max()
        Cliff Jansen made changes -
        Field Original Value New Value
        Attachment QPID-3620-0.patch [ 12503860 ]
        Hide
        Cliff Jansen added a comment -

        fixed. r1242406

        Show
        Cliff Jansen added a comment - fixed. r1242406
        Cliff Jansen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Fix Version/s 0.16 [ 12319870 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        462d 8h 8m 1 Cliff Jansen 20/Feb/13 18:02
        Resolved Resolved Closed Closed
        181d 2h 30m 1 Justin Ross 20/Aug/13 21:33

          People

          • Assignee:
            Cliff Jansen
            Reporter:
            Cliff Jansen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development