[zeromq-dev] [zeromq/2.0 - beginner's question] why do I get a seg fault?
sustrik at 250bpm.com
Thu Nov 19 09:56:59 CET 2009
>>> I wanted to write a dummy client and a dummy server, just
>>> peer-to-peer. I am
>>> programing on a Linux box. I would like to get your inputs on how to
>>> improve the
>>> following code and I would like to know why I manage to get seg faults :
>> Ok, reproduced. It's a bug. I'll have a look at it tomorrow.
> Thanks a lot for fixing this ! :-) Please let me know when you will have
> sorted it out...
Ok, it was a race condition when sending a message and disconnection of
an anonymous peer have happened at the same time. Fixed in git revision
Let me know whether it works of for you now.
More information about the zeromq-dev