[
https://issues.apache.org/activemq/browse/AMQCPP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37866
]
Albert Strasheim commented on AMQCPP-25:
----------------------------------------
Running tests against revision 494993 now.
On Fedora Core 4 with GCC 4.0.2, I get the following failures:
{noformat}
1) test:
activemq::connector::stomp::commands::BytesMessageCommandTest::testReadOnly (F)
line: 299 activemq/connector/stomp/commands/BytesMessageCommandTest.h
assertion failed
- Expression: cmd.readFloat() == 2.0f
2) test:
activemq::connector::stomp::commands::BytesMessageCommandTest::testWriteOnly
(F) line: 389 activemq/connector/stomp/commands/BytesMessageCommandTest.h
assertion failed
- Expression: cmd.readFloat() == 2.0f
3) test: activemq::io::DataInputStreamTest::test (F) line: 121
activemq/io/DataInputStreamTest.h
assertion failed
- Expression: floatVal == 10.0f
{noformat}
On Fedora Core 6 with GCC 4.1.1, I get these failures:
{noformat}
1) test:
activemq::connector::stomp::commands::BytesMessageCommandTest::testReadOnly (F)
line: 299 activemq/connector/stomp/commands/BytesMessageCommandTest.h
assertion failed
- Expression: cmd.readFloat() == 2.0f
2) test:
activemq::connector::stomp::commands::BytesMessageCommandTest::testWriteOnly
(F) line: 389 activemq/connector/stomp/commands/BytesMessageCommandTest.h
assertion failed
- Expression: cmd.readFloat() == 2.0f
3) test: activemq::io::DataInputStreamTest::test (F) line: 121
activemq/io/DataInputStreamTest.h
assertion failed
- Expression: floatVal == 10.0f
4) test: activemq::io::DataOutputStreamTest::test (F) line: 93
activemq/io/DataOutputStreamTest.h
assertion failed
- Expression: tempFloat == floatVal
{noformat}
> Bus error on Solaris OS from DataInput and DataOutput streams
> -------------------------------------------------------------
>
> Key: AMQCPP-25
> URL: https://issues.apache.org/activemq/browse/AMQCPP-25
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 1.1
> Environment: Solaris 10 OS
> Reporter: Timothy Bish
> Assigned To: Timothy Bish
> Priority: Minor
> Fix For: 1.1
>
>
> Due to misaligned memory reads, there is a bus error that can occur in using
> the new DataInputStream and DataOutputStream classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira