Skip to content

[Bug] - Common, ZMQ msg size being called when it is invalid #1790

@JoshuaSBrown

Description

@JoshuaSBrown

Description

Error throwing when trying to create a repo when you don't have an allocation, zmq assertion is being hit.

datafed-core-1  | Assertion failed: check () (/datafed/source/external/libzmq/src/msg.cpp:414)
datafed-core-1  | ==66==
datafed-core-1  | ==66== Process terminating with default action of signal 6 (SIGABRT): dumping core
datafed-core-1  | ==66==    at 0x4BF8EEC: __pthread_kill_implementation (pthread_kill.c:44)
datafed-core-1  | ==66==    by 0x4BA9FB1: raise (raise.c:26)
datafed-core-1  | ==66==    by 0x4B94471: abort (abort.c:79)
datafed-core-1  | ==66==    by 0x85005D: zmq::zmq_abort(char const*) (in /opt/datafed/core/datafed-core)
datafed-core-1  | ==66==    by 0x853406: zmq::msg_t::size() const (in /opt/datafed/core/datafed-core)
datafed-core-1  | ==66==    by 0x8129DF: SDMS::(anonymous namespace)::receiveBody(SDMS::IMessage&, SDMS::Buffer&, SDMS::ProtoBufFactory&, void*, SDMS::LogContext) (ZeroMQCommunicator.cpp:382)
datafed-core-1  | ==66==    by 0x81704E: SDMS::ZeroMQCommunicator::poll(SDMS::MessageType) (ZeroMQCommunicator.cpp:799)


datafed-core-1  | ==66==    by 0x8280B0: SDMS::Proxy::run() (Proxy.cpp:126)
datafed-core-1  | ==66==    by 0x1FE895: SDMS::Core::Server::msgRouter(SDMS::LogContext, int) (CoreServer.cpp:254)

Steps to Replicate

Additional context

Page occured:

Expected behavior

Artifacts (if appropriate):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions