Closed leungmanhin closed 7 years ago
It doesn't crash if I run (psi-step)
in the same tmux window that the cogserver is running
Changes made in https://github.com/opencog/ros-behavior-scripting/pull/157 also affect this issue. Now it doesn't actually crash on my computer when I manually run (psi-step)
in a telnet session right after the full stack has just started (i.e. before clicking the OC ON button). But still it's not fixed as the first (psi-step)
I made always send loads of "psi-prefix-str" requests (as well as some other requests like "look at" / "gaze at" etc depending on the contexts) to the cogserver for some reason... as if it has gone through hundreds of psi-steps in a single (psi-step)
function call, which is certainly not the right behavior
This problem disappeared after applying https://github.com/opencog/ros-behavior-scripting/pull/158. I was suspecting that the original saliency tracking rule was somehow confusing the action selector or (DefinedPredicate "update-web-ui")
, but I'm not 100% sure how. Anyway I will report again if I see this problem again
After starting the whole stack, telnet to cogserver and then execute
(psi-step)
(or if the psi-loop has been started, run(psi-halt)
followed by(psi-step)
), it will crash:and found these in the log:
Interestingly,
(psi-run)
(which executes(psi-step)
under the hood) works just fine...