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

Segfault in ecan when using ghost #5

Open
amebel opened this issue Dec 28, 2018 · 1 comment
Open

Segfault in ecan when using ghost #5

amebel opened this issue Dec 28, 2018 · 1 comment
Assignees

Comments

@amebel
Copy link
Contributor

amebel commented Dec 28, 2018

Steps to take to reproduce segfault

  1. Build and install opencog, and atomspace after running the following
cmake -DCMAKE_DISABLE_FIND_PACKAGE_Python3Interp=TRUE -DCMAKE_BUILD_TYPE=DEBUG ..
  1. Start relex by running opencog-server.sh
  2. Start cogserver using the following configuration file, load-opencog.txt (.txt extenstion is used for loading to github)
gdb -ex r --args guile -l load-opencog.txt
  1. Load ghost rules
cd /loving-ai-ghost/bin 
bash run.sh
  1. From the terminal where the cogserver is started, interact with the bot until it segfaults
scheme@(guile-user)> (ghost "hi")
[2018-12-28 10:23:55:845] [INFO] [say] (|happy,3| Hi ! My name is Sophia. What's yours ?)
...
...
scheme@(guile-user)> (ghost "amen")
 [2018-12-28 10:24:11:434] [INFO] [say] (|happy,.7,5| Good to meet you , amen ! Thanks so much for taking the time to come and talk with me today.)
...

screenshot from 2018-12-28 18-25-54

Repo states

loving-ai-ghost = a3e6f43
opencog sha = d68351c
atomspace sha = c121f0f
cogutil sha = f85718c
relex sha = 6fb3873

@linas
Copy link
Member

linas commented Dec 28, 2018

Screenshots!? One can't control-F in a browser to search it. And google cannot index the contents.

Anyway, opencog/atomspace#1976 should "hide" this bug. There is still some bug in the diffusion agent, because it is sending the atomspace some atoms that are not in any atomspace.

It would be easiest to fix the diffusion agents before installing the fix opencog/atomspace#1976

Also, it would be best if the diffusion agents got some unit tests, to verify that they work correctly.

linas referenced this issue in opencog/atomspace Dec 28, 2018
Likely fix for opencog/opencog#3397
@linas linas transferred this issue from opencog/opencog Sep 14, 2019
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

3 participants