Skip to content

cp-profiler never sends "done" message #149

Open
@StefanBruens

Description

@StefanBruens

Describe the bug

The profiler should send a "START" message, n "NODE" messages, and a "DONE" message. The START and NODE messages are send, but the DONE is omitted

To Reproduce

netcat -l 1234 > /tmp/cpprofiler.out
/usr/bin/minizinc --solver gecode --json-stream  01_sevenpaces/models/cuhkmelb.mzn  --cp-profiler -723467520,1234

void
CPProfilerSearchTracer::done(void) {
connector->disconnect();
}

There is probably a connector->done() missing.

inline void
Connector::done() {
marshalling.makeDone();
sendOverSocket();
}

Gecode and Platform Configuration

Gecode 6.3.0 branch (2022-04-30)

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