You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (Created) (JIRA)" <ji...@apache.org> on 2012/04/14 01:35:16 UTC
[jira] [Created] (QPID-3947) long subject causes encode errors in a
loop
long subject causes encode errors in a loop
-------------------------------------------
Key: QPID-3947
URL: https://issues.apache.org/jira/browse/QPID-3947
Project: Qpid
Issue Type: Bug
Components: C++ Client
Affects Versions: 0.14, 0.16
Reporter: Gordon Sim
Assignee: Gordon Sim
Fix For: 0.17
Steps to Reproduce:
1. ./spout
'amq.direct/AReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectARea'
Actual results:
spout cycles with output:
2012-04-13 16:30:48 error Caught exception in state: 3 with event: 2: Could not
encode string of 256 bytes as uint8_t string. (qpid/framing/Buffer.cpp:255)
The problem is that any bounds checking on str8 fields is done only on encode, so application threads are not correctly notified.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Resolved] (QPID-3947) long subject causes encode errors in
a loop
Posted by "Gordon Sim (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-3947.
------------------------------
Resolution: Fixed
http://svn.apache.org/viewvc?view=revision&revision=1326014
> long subject causes encode errors in a loop
> -------------------------------------------
>
> Key: QPID-3947
> URL: https://issues.apache.org/jira/browse/QPID-3947
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.14, 0.16
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.17
>
>
> Steps to Reproduce:
> 1. ./spout
> 'amq.direct/AReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectAReallyLongSubjectARea'
> Actual results:
> spout cycles with output:
> 2012-04-13 16:30:48 error Caught exception in state: 3 with event: 2: Could not
> encode string of 256 bytes as uint8_t string. (qpid/framing/Buffer.cpp:255)
> The problem is that any bounds checking on str8 fields is done only on encode, so application threads are not correctly notified.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org