Skip to content

Application crashed while connecting to the socket inside zmq while using azmq 1.0.2. #219

@ramsankar184

Description

@ramsankar184

While connecting to the newly created socket the app crashed and the callstack shows as below.
The issue is not reproducible always but seen during stress conditions when we have multiple socket operations.
All our calls are serialized in a channel call processor.
CallStack-

KERNELBASE.dll!_RaiseException@16()	Unknown
[Inline Frame] EgnyteDrive.exe!zmq::zmq_abort(const char *) Line 84	C++
[Inline Frame] EgnyteDrive.exe!zmq::signaler_t::recv_failable() Line 396	C++
EgnyteDrive.exe!zmq::mailbox_t::recv(zmq::command_t * cmd_, int timeout_) Line 98	C++
EgnyteDrive.exe!zmq::socket_base_t::process_commands(int timeout_, bool throttle_) Line 1504	C++
EgnyteDrive.exe!zmq::socket_base_t::connect_internal(const char * endpoint_uri_) Line 785	C++
[Inline Frame] Production.exe!zmq::socket_base_t::connect(const char *) Line 773	C++
[Inline Frame] Production.exe!zmq_connect(void *) Line 334	C++
[Inline Frame] Production.exe!azmq::detail::socket_ops::connect(std::unique_ptr<void,azmq::detail::socket_ops::socket_close> & socket, const std::string &) Line 179	C++
Production.exe!azmq::detail::socket_service::connect(std::shared_ptr<azmq::detail::socket_service::per_descriptor_data> & impl, std::string endpoint, boost::system::error_code & ec) Line 392	C++
[Inline Frame] Production.exe!azmq::socket::connect(std::string) Line 195	C++
Production.exe!azmq::socket::connect(std::string addr) Line 205	C++
Production.exe!Production::OfflineSync::Detail::ZmqSocket<3,Production::OfflineSync::Detail::NullMessageTransform>::connectImpl(const std::string & address) Line 931	C++

Also I have created a ticket in zmq here.

Is it a known issue ? Is there a work around for this ?
In which cases we will hit into this error ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions