Closed rfdhaptx closed 6 months ago
Can you try and repro with the latest code? Not saying it's fixed but it's a little challenging to go back in time.
FWIW, I think we were holding it wrong. Turns out we had multiple threads PUB
-ing messages. We serialized them onto a single thread, and the issue hasn't repro'd since. It has been >10 days without a repro, so I'm confident in saying that this was our problem, rather than yours... so go ahead and close this. Thanks!
FWIW, I think we were holding it wrong. Turns out we had multiple threads
PUB
-ing messages. We serialized them onto a single thread, and the issue hasn't repro'd since. It has been >10 days without a repro, so I'm confident in saying that this was our problem, rather than yours... so go ahead and close this. Thanks!
Thank you, your ticket helped me find a similar problem on my end. I had a single thread sending pub-ing messages, but the method was called from different threads accessing the object through a synchronized weak link; except for the main thread which had a direct pointer to it. I wouldn't have found it without this ticket :)
Issue description
Crash in
zmq::dist_t::distribute
. Attempting to index into array_pipes
with indexi=1
, but_pipes
only has 1 element in it.At the crash point:
_matching == 2
_pipes.size() == 1
i == 1
_active == 1
_eligible == 1
_more == false
Environment
What's the actual result? (include assertion message & call stack if applicable)