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

Cliff Jansen commented on PROTON-847:
-------------------------------------

Proton is not thread safe.

Please try again single threaded and see if your errors persist.

> Qpid Proton C Assertion trasport->output_pending >= size failed
> ---------------------------------------------------------------
>
>                 Key: PROTON-847
>                 URL: https://issues.apache.org/jira/browse/PROTON-847
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>         Environment: Debian linux, Proton C v 0.7
>            Reporter: Rajkumar
>            Priority: Critical
>
> I am using Qpid proton C library v.7.0 for sending AMQPS messages to Azure 
> cloud service bus. I am getting the following error.
> /home/debian/qpid/qpid-proton-0.7/proton-c/src/transport/transport.c:2110: 
> pn_transport_pop: Assertion `transport->output_pending >= size' failed.
> Can anyone tell why this error is coming? This error comes very frequently 
> and not able to predict and no idea how to stop this
> ** I have created one messenger object and two thread is my program share 
> that messenger object. If there is a time out occurs more than three times I 
> free the messenger object and recreate new messenger object.
> ** First thread send message to cloud and second thread receives messages 
> from the cloud. 
> ** Is it a right way of doing or I need to create two messenger objects for 
> sending and receiving messages? 
> ** Or Do I need to create new messenger object every time while sending and 
> receiving messages ? 
> Please propose the design to avoid such kind of errors. 



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

Reply via email to