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
import time
from malamute import MalamuteClient
c1 = MalamuteClient()
c1.connect(b'tcp://localhost:9999', 5000, b'a')
c2 = MalamuteClient()
c2.connect(b'tcp://localhost:9999', 5000, b'a')
input('Still alive')
c2 = None #c1 = None give the same result.
input('Now its dead')
It appears that when two connection are made with the same address, as soon as one address close, the broker crashes. The crash is abit racy. Remove the input calls and it crashes pretty much everytime. Playing with timing might yield better or worse crash occurences.
Simple Python POC
It appears that when two connection are made with the same address, as soon as one address close, the broker crashes. The crash is abit racy. Remove the
input
calls and it crashes pretty much everytime. Playing with timing might yield better or worse crash occurences.GDB Output:
The text was updated successfully, but these errors were encountered: