My apologies; meant to put this in the Help forum. Additionally, this error seems to be address in version 6.30 of the CLIPS software distribution. Thanks!
Hello -- I believe I have finally discovered the source of the segmentation fault I alluded to in the topic "EnvIncrementFactCount call in clips_fact_assign". There appears to be an error in the factmngr.c distributed in CLIPSSrc.zip. At line 103 in factmngr.c, a patternEntityRecord named factInfo is defined. Before the 4 NULLS in the nested structure, there are two entries: EnvIncrementFactCount followed by EnvDecrementFactCount. These are inthe wrong order. Per the entityRecord declaration in evaluatn.h,...
Hello -- I've been using PyCLIPS in a project and ran into an issue where CLIPS would occasionally segfault while running. In an attempt to track the issue down, I started running a test case in a loop over and over again and noticed increasingly long run times. At the beginning of each loop, I'd perform a clips.Reset(), a number of asserts, and a clips.Run(). However, I noticed that the CLIPS call to RemoveGarbageFacts() would take longer and longer with each call -- and it appeared that the linked...