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

Grzegorz Leszczyński commented on THRIFT-2521:
----------------------------------------------

It is difficult to provide a test case for race condition, so I won't provide 
any. Unless You have any idea how to do it? But I can assure that version 
without this patch crashed quite often and with patch is working almost 
perfectly - we have it on production in our company.

Almost, because one crash still happened and I will try to track it soon - I 
have core to debug it. It looks that it is close to this patch, but in some 
other place. I will send another patch if I will find it.


> Fixed synchronisation in ThreadManager.cpp
> ------------------------------------------
>
>                 Key: THRIFT-2521
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2521
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.2, 1.0
>            Reporter: Grzegorz Leszczyński
>              Labels: patch
>             Fix For: 0.9.2, 1.0
>
>         Attachments: thrift-2521-ThreadManager.patch
>
>
> Server can crash, when stop is called. Fixes also other minor synchronisation 
> problems.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to