You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Cliff Jansen (Updated) (JIRA)" <ji...@apache.org> on 2011/11/16 10:58:53 UTC

[jira] [Updated] (QPID-3620) time conversions fail on solaris

     [ https://issues.apache.org/jira/browse/QPID-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cliff Jansen updated QPID-3620:
-------------------------------

    Attachment: QPID-3620-0.patch

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

                
> time conversions fail on solaris
> --------------------------------
>
>                 Key: QPID-3620
>                 URL: https://issues.apache.org/jira/browse/QPID-3620
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: 0.15
>         Environment: Solaris sparc 64
>            Reporter: Cliff Jansen
>            Assignee: Cliff Jansen
>         Attachments: QPID-3620-0.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org