You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is strange, I can reproduce this issue and it hangs after 5 or 6 cycles on my computer, not sure why yet... But if it's about running with a child atomspace, it might have something with the forward chainer, as the main operation r2l-parse does is to call forward chainer to apply the r2l rules. @ngeiswei any quick thoughts?
I assume that "hangs" == 0% cpu use, and not 100% cpu use ... I assume that stack traces show a bunch of threads in deadlock. Does it hang if you put a sleep in the nlp-parse?
The following SCM script crashes or hangs after +- 10 cycles.
If I comment the call to cog-set-atomspace! it works ok. If I comment the call to r2l-parse (inside nlp-parse) it will also work ok.
`(add-to-load-path "/usr/local/share/opencog/scm")
(add-to-load-path "/opencog/build/opencog/scm/opencog/")
(add-to-load-path ".")
(use-modules (ice-9 readline))
(activate-readline)
(use-modules (opencog))
(use-modules (opencog nlp) (opencog nlp lg-dict) (opencog nlp relex2logic) (opencog nlp chatbot))
(set-relex-server-host)
(cog-set-atomspace! (cog-new-atomspace (cog-atomspace)))
(while #t (begin
(display ".")
(nlp-parse "What is engineered hardwood flooring?")))
`
The text was updated successfully, but these errors were encountered: