[zeromq-dev] ZMQ Crash from unknown DNS name

Pieter Hintjens ph at imatix.com
Wed Jan 26 21:41:02 CET 2011


> I am trying to setup a service with ZeroMQ that subscribes to a TCP
> endpoint that doesn't exist when the computer starts up. I am using the
> computer name as I don't know what the DHCP address will be. ZMQ crashes
> with the following assertion: Assertion failed: rc == 0
> (..\..\..\src\zmq_connecter.cpp:46)
> Is this supposed to happen?

Nope, and you should probably log an issue, with a minimal program
that reproduces the crash.  ZeroMQ used to use assertions to handle
user errors, but this policy has changed, it should assert only on
internal errors.

Pieter Hintjens

More information about the zeromq-dev mailing list