-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sserver: accidental deadlock when release StratumSession from consume thread #75
Comments
libevent/libevent#512 (comment)
|
A potential fix is to build
Then remove your No deadlock problems have been encountered since our build switched to the master branch of libevent. Notice: the lastest release of libevent I am very sorry that libevent has no new release in nearly two years. |
The issue was temporarily closed due to no recent feedback. |
libevent 2.1.9-beta was released. It's recommended to use this version. |
@YihaoPeng |
This happened to two different servers in two days. The phenomenon is that the TCP connection can be established, but the server will not make any response to your request.
It seems like libevent: Deadlock when calling bufferevent_free from an other thread
And a reply:
GDB infomations:
It looks like
thread 7
want to callbufferevent_free()
for a session whenthread 1
is writing to it.I now want to know if the new version of libevent has solved this problem. Otherwise, we need to change the code to prevent this problem.
The libevent I used:
The text was updated successfully, but these errors were encountered: