[zeromq-dev] p2p bug

Serge Aleynikov serge at aleynikov.org
Tue May 25 17:58:14 CEST 2010


While testing p2p sockets in the Erlang 0MQ driver I ran into this error:

1. Server starts and opens a P2P socket.
2. Server binds a socket to local TCP address/port.
3. Client 1 connects to server using P2P socket.
4. Client 2 connects to server using P2P socket.
5. Server core dumps with assertion:

Assertion failed: !inpipe && !outpipe (p2p.cpp:47)
Aborted (core dumped)

6. Furthermore, the server can't get restarted as clients' reconnect 
causes the same core dump.

Serge



More information about the zeromq-dev mailing list