Linas Vepštas

Results 1069 comments of Linas Vepštas

BTW, the correct English word is "examples" not "samples".

HMm. OK, I can reproduce the crash, but somehow you disabled the normal crash-processing code? I'm not able to debug this in the usual way, something is preventing a normal...

SO, in gdb: ``` Thread 19 received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe247a700 (LWP 5495)] 0x00007fffeda86530 in typeinfo for std::_Sp_counted_ptr_inplace () from /usr/local/lib/opencog/libsmob.so (gdb) bt #0 0x00007fffeda86530 in...

Hmm, I see this: ``` #1 0x00007fffeb710989 in opencog::TruthValue::isDefaultTV ( this=0x555556274630) at /home/linas/src/novamente/src/atomspace-git/opencog/atoms/truthvalue/TruthValue.cc:81 (gdb) print dtv $11 = std::shared_ptr (expired, weak 0) 0x555555f2c530 ``` So `DEFAULT_TV()` is somehow a pointer...

Assorted checks in various places show consistently, reproducibly, that both TV and AV use-counts become too low, leading to access of deleted memory and other crazy symptoms. How, exactly that...

Found it. But only after 8+ hours of difficult debugging. Someone .. not sure who -- either this example demo, or ghost itself, has issued the string `(quit)` to the...

Anyway .. I'm done debugging. I leave it up to you to figure out who is telling guile to quit and force-run exit handlers (thus shutting down not just truth...

I'm guessing that ghost starts one or more threads. So, `ghost-halt` should call `join-thread` on every thread that it starts. The problem with exit-hooks is that they are run in...

The best long-term solution would be to have an atomspace package, independent of the opencog package. Most of the code in the atomspace repo is mature, tested, debugged, maintained, clean,...

fyi @noskill @vsbogd