You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2015/03/11 21:40:39 UTC

[jira] [Created] (QPID-6445) Qpid python client hangs when message with routing key longer than 255 is sent (mutual recursion)

Ken Giusti created QPID-6445:
--------------------------------

             Summary: Qpid python client hangs when message with routing key longer than 255 is sent (mutual recursion)
                 Key: QPID-6445
                 URL: https://issues.apache.org/jira/browse/QPID-6445
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.32
            Reporter: Ken Giusti
            Assignee: Ernest Allen
             Fix For: Future


Issue originally found by Petr Matousek

When producing a message with a routing key longer than 255 characters, the Qpid python client hangs / spins indefinitely. There is seen mutual recursion around check_error/sync/close in the endpoints.py that leads to memory allocation failure.

In the previous python-qpid versions following exception were reported: CodecException: Cannot encode 256 as uint8


Steps to Reproduce:
1. ./spout "amq.fanout/$(printf 'X%.0s' {1..256})"
2. spout execution never ends

Actual results:
The sender execution never ends when subject longer that 255 characters is used.

Expected results:
Encoding exception reported.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org