libzmq icon indicating copy to clipboard operation
libzmq copied to clipboard

Socket creation issue on windows 10 (1803 or 1903 or 1909) VMs or real device

Open alexsosim opened this issue 4 years ago • 3 comments

Please use this template for reporting suspected bugs or requests for help.

Issue description

We are using cppzmq 4.7.1 with libzmq 4.3.2 and everything is ok. When we try to use libzmq 4.3.3 or 4.3.4 our app is crashing on socket creation.

Environment

  • libzmq version (commit hash if unreleased): 4.3.3, 4.3.4
  • OS: windows 10 (1803 or 1903 or 1909)

Minimal test code / Steps to reproduce the issue

zmq::context_t createContext() { zmq::context_t ctx; ctx.set(zmq::ctxopt::blocky, false); return ctx; } zmq::context_t m_context(createContext()); zmq::socket_t m_signalSocket(m_context, ZMQ_PAIR);

What's the actual result? (include assertion message & call stack if applicable)

app is crashing on socket creation

What's the expected result?

socket created successfully

alexsosim avatar Mar 12 '21 09:03 alexsosim

Can you reproduce without cppzmq?

bluca avatar Mar 12 '21 09:03 bluca

We built zeromq with 'select' and this fixed the issue. So I guess this is the answer on your question.

alexsosim avatar Mar 27 '21 06:03 alexsosim

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 17:04 stale[bot]