I have tracked where the error mentioned at
https://groups.google.com/forum/?hl=en#!topic/link-grammar/XnHPHh-j0Fs to the line where it occurs. Right now, this happens when putting
dictionary_create_default_lang() into an OpenCog module. For example, suppose a new empty OpenCog module and put the following line into its
init() method
dictionary_delete(dictionary_create_default_lang());
will produce the error. The error seems to always happen when the affix dictionary (en/4.0.affix) is being processed, and it is produced on xrealloc() within affix_list_resize() method, called by affix_list_add() method, called by load_affix(). On the few runs I have tried, it is called when it tries to add "₳" of the LPUNC+ list but found ac->length == 64 and needs to be increased (I suspect it will be different on different machine or when running at different time).
This never happens when dictionary_create_default_lang() is called within its own program, so I am not sure whether the problem is within OpenCog or within LinkGrammar.
William