You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Write a program that opens a TCP connection with an RPC service and
calls a method, but doesn't close the socket
2. Run this program simultaneously more than 8 times
What is the expected output? What do you see instead?
Expected to receive the service to reply to all the instances on the
program; instead, the service segfaults
What version of the product are you using? On what operating system?
protobuf-c svn196 on various versions of Linux
Please provide any additional information below.
This appears to be because the dispatcher's callbacks array is not
expanded when the notifies array is. Attached is a patch that seems to
fix it.
Original issue reported on code.google.com by leszek.s...@gmail.com on 28 Dec 2009 at 12:54
The problem of synchronising notifies_desired with callbacks crops up in
another part
of the file. The deallocate_notify_desired_index function updates
"notifies_desired"
and "n_notifies_desired" without updating "callbacks". Patch included.
Original comment by leszek.s...@gmail.com on 25 Jan 2010 at 9:21
Once again, I thank you! I am about to start using this code (just the
dispatch part) more seriously and I
appreciate these fixes very much! (I would enjoy hearing how you are using it,
if you don't mind... i am
lahiker42@gmail.com)
Original comment by lahike...@gmail.com on 8 Feb 2010 at 4:43
Original issue reported on code.google.com by
leszek.s...@gmail.com
on 28 Dec 2009 at 12:54Attachments:
The text was updated successfully, but these errors were encountered: