You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ted Ross (JIRA)" <qp...@incubator.apache.org> on 2008/12/10 22:48:46 UTC

[jira] Commented: (QPID-1449) C++ broker on Windows with --mgmt-enable no triggers crash setting up client

    [ https://issues.apache.org/jira/browse/QPID-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655375#action_12655375 ] 

Ted Ross commented on QPID-1449:
--------------------------------

I have a fix for this bug which I could check in immediately if desired.

The fix generates a new federation tag at startup to be used if management is disabled.

The current code declares a std::string but never gives it a value if management is disabled.  In this case, it is constructed as an empty string and remains this way.  The question I have is why is this considered invalid on Windows?


> 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.