[zeromq-dev] Assert when debugging, but not when executing

Claudio Carbone erupter at libero.it
Wed Jan 9 17:25:47 CET 2013


I traced my program through all the function
zmq::socket_base_t::connect

and it goes through it flawlessly until line 556
add_endpoint (addr_, (own_t *) session);

which translates to
     launch_child (endpoint_);
     endpoints.insert (endpoints_t::value_type (std::string (addr_), 
endpoint_));

the second is the one that triggers the assert, although the code is 
alien to me
       _GLIBCXX_CONSTEXPR pair(const _T1& __a, const _T2& __b)
       : first(__a), second(__b) { }

I don't know enough about this to understand what is happening.
The address that is being passed though is
epgm://192.168.2.113;239.192.1.1:5678

Any help is appreciated.
Claudio



More information about the zeromq-dev mailing list