I can reproduce and it looks more like a proactor problem than the C++
container.stop().

I will investigate further and create an appropriate JIRA.  Thank you
for the simple test case.

Cliff

On Wed, Apr 3, 2019 at 4:17 AM Rabih M <rabih.prom...@gmail.com> wrote:
>
> Hello,
>
> Concerning this point, i still have the same crash even after modifying the 
> code to be thread safe.
> I attached the corrected code.
>
> If i add a sleep of 50 ms before stopping the container everything works 
> correctly.
>
> I think there is a concurrency problem somewhere in the proton code. Do you 
> confirm?
>
> Best regards,
> Rabih
>
> On Wed, Mar 27, 2019 at 5:31 PM Rabih M <rabih.prom...@gmail.com> wrote:
>>
>> Hello,
>>
>> I am using proton cpp version 0.27.0.
>> I have a random crash when calling stop on the container after closing the 
>> connection.
>> Please find the attached the code and the stack.
>>
>> In the doc, it is said that the container object is thread safe but 
>> apparently there is flaw...
>>
>> Can you please advise?
>>
>> Do you need me to create a Jira issue?
>>
>>
>> Best regards,
>>
>> Rabih
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to