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

Darryl L. Pierce commented on QPID-6107:
----------------------------------------

Playing with fields, it seems the content may be the problem. Outputting from 
either spout or drain things like properties doesn't produce the problem and I 
can send tens and hundreds of thousands of messages. But when I show the 
content then it fails as before.

> Python Swig wrapped bindings consistently fail with spout and drain
> -------------------------------------------------------------------
>
>                 Key: QPID-6107
>                 URL: https://issues.apache.org/jira/browse/QPID-6107
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client (Wrapped)
>            Reporter: Darryl L. Pierce
>            Assignee: Darryl L. Pierce
>
> In testing the packages [1] I have come across an interesting situation.
> It first came up on Ubuntu trusty but then I was able to reproduce it on
> F20.
> If I send less than 2272 messages using the spout tool then things
> success. But at 2273 then the Python bindings fail with:
> Fatal Python error: deallocating None
> Aborted (core dumped)
> using the following command line:
> $ python /usr/share/doc/python-qpid-messaging/examples/python/spout --count 
> 2272 "my-queue;{create:always,delete:receiver}"
> I'm not sure why 2273 is the magic number. On Fedora the number seems to 
> be a little bit lower at 2269 before it starts to fail as on Debian. 
> On the other side, when I then drain the queue with:
> $ python /usr/share/doc/python-qpid-messaging/examples/python/drain "my-queue"
> I can't receive more than 1505 messages on Debian and 1503 on Fedora
> before the same error occurs. To verify this I ran very specific spout
> and drain situations with Python. On Debian I did:
> $ sudo service qpidd stop; sudo service qpidd start; python 
> /usr/share/doc/python-qpid-messaging/examples/python/spout --count 1505 
> "my-queue;{create:always,delete:receiver}"
> $ python /usr/share/doc/python-qpid-messaging/examples/python/drain "my-queue"
> $ sudo service qpidd stop; sudo service qpidd start; python 
> /usr/share/doc/python-qpid-messaging/examples/python/spout --count 1506 
> "my-queue;{create:always,delete:receiver}"
> $ python /usr/share/doc/python-qpid-messaging/examples/python/drain
> "my-queue" > output.txtFatal Python error: deallocating None
> Aborted (core dumped)
> On Fedora I changed 1505/1506 to 1503/1504 and the output was
> consistently the same.
> [1] https://launchpad.net/~mcpierce/+archive/ubuntu/qpid-testing/+packages



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to