Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp-profiler never sends "done" message #149

Open
StefanBruens opened this issue Apr 30, 2022 · 0 comments
Open

cp-profiler never sends "done" message #149

StefanBruens opened this issue Apr 30, 2022 · 0 comments

Comments

@StefanBruens
Copy link

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)

StefanBruens added a commit to StefanBruens/gecode that referenced this issue May 1, 2022
StefanBruens added a commit to StefanBruens/gecode that referenced this issue May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant