[
https://issues.apache.org/jira/browse/QPID-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gordon Sim resolved QPID-1183.
------------------------------
Resolution: Fixed
Applied to trunk as r679048.
> perftest doesn't work correctly when sizeof(size_t) != sizeof(uint32_t)
> -----------------------------------------------------------------------
>
> Key: QPID-1183
> URL: https://issues.apache.org/jira/browse/QPID-1183
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: M3
> Environment: A 64 bits architecture where sizeof(size_t) !=
> sizeof(uint32_t). (For example, Solaris on Sparc64, where sizeof(size_t) = 8
> and sizeof(uint32_t) = 4)
> Reporter: Manuel Teira
> Priority: Minor
> Fix For: M3
>
> Attachments: perftest-size_t_fix.patch
>
>
> perftests makes some tests injecting some sequence number in the message
> data, expecting to find the same data inserting and fetching later the
> message from the queue. The way sequence number is inserted in implicitly
> assuming that size_t is the same size than uint32_t. If this is not true, the
> inserted data is not the expected, and the test fails.
> I'm attaching a patch to fix the issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.