MoriEdan / opensim4opencog

Automatically exported from code.google.com/p/opensim4opencog
1 stars 0 forks source link

PL_new_term_refs() ERROR from SWIPL #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Running hillpeople.pl
2.  ?- logon_bots.

What is the expected output? What do you see instead?

The program to run

Instead the program crashes with PL_new_term_refs() ERROR 

I had been advising Annie to use thread_create/3 to make her bots..  
Technically this is correct.. But I introduced a case of PL_ENGINEs that have 
exited 'true' .. But the problem is the CLI VM belives those prolog threads 
might still be viable.. I think my fix will involve calling the status code of 
the prolog thread before just assuming it is viable.

Status codes are:

running - viable
true - exited
false - exited
exception(Term) - exited
anythingElse - exited

Original issue reported on code.google.com by logicmoo@gmail.com on 12 May 2012 at 6:36

GoogleCodeExporter commented 8 years ago

Original comment by logicmoo@gmail.com on 14 May 2012 at 12:15

GoogleCodeExporter commented 8 years ago
Has been fixed since

Original comment by logicmoo@gmail.com on 23 Jun 2012 at 8:07