[
https://issues.apache.org/jira/browse/QPID-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655425#action_12655425
]
Steve Huston commented on QPID-1449:
------------------------------------
Since it doesn't crash like this on Linux, there's some aspect related to
Windows... the stack (partial) at the crash is:
qpidbroker.exe!std::_Debug_message(const wchar_t * message=0x008436ec,
const wchar_t * file=0x00843738, unsigned int line=0x0000030b) Line 24 C++
qpidbroker.exe!std::vector<unsigned char,std::allocator<unsigned char>
>::operator[](unsigned int _Pos=0x00000000) Line 779 + 0x14 bytes C++
The problem above is that 'this' (the vector) is 0.
qpidbroker.exe!qpid::framing::VariableWidthValue<2>::encode(qpid::framing::Buffer
& buffer={...}) Line 196 + 0x19 bytes C++
The 'octets' in VariableWidthValue have not been set.
qpidbroker.exe!qpid::framing::FieldValue::encode(qpid::framing::Buffer
& buffer={...}) Line 102 + 0x21 bytes C++
qpidbroker.exe!qpid::framing::FieldTable::encode(qpid::framing::Buffer
& buffer={...}) Line 199 + 0x1d bytes C++
qpidbroker.exe!qpid::framing::ConnectionStartBody::encodeStructBody(qpid::framing::Buffer
& buffer={...}) Line 67 C++
qpidbroker.exe!qpid::framing::ConnectionStartBody::encode(qpid::framing::Buffer
& buffer={...}) Line 76 C++
qpidbroker.exe!qpid::framing::BodyHolder::encode(qpid::framing::Buffer
& b={...}) Line 42 + 0x13 bytes C++
qpidbroker.exe!qpid::framing::AMQFrame::encode(qpid::framing::Buffer &
buffer={...}) Line 69 C++
qpidbroker.exe!qpid::amqp_0_10::Connection::encode(const char *
buffer=0x00dc1dd0, unsigned int size=0x00010000) Line 82 + 0x2a bytes C++
qpidbroker.exe!qpid::sys::AsynchIOHandler::idle(qpid::sys::AsynchIO &
__formal={...}) Line 191 + 0x23 bytes C++
> C++ broker on Windows with --mgmt-enable no triggers crash setting up client
> ----------------------------------------------------------------------------
>
> Key: QPID-1449
> URL: https://issues.apache.org/jira/browse/QPID-1449
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Environment: Windows
> Reporter: Steve Huston
> Assignee: Steve Huston
>
> If the C++ broker is started on Windows with --mgmt-enable no, the exchange
> to set up a new client causes an assert in the C++ library. This is because
> the federation tag doesn't have an associated string - when encoding the
> value for qpid.federation_tag, the value is invalid.
> When running on Linux with the same option, the qpid.federation_tag value is
> an empty string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.