Due to the particular behaviour of CLIPS while garbage
collecting items, there are some situations where
inspection of entities that have been garbage-collected
can cause an access violation. In fact, CLIPS does not
retain the memory associated to slots in facts that
meet the following conditions:
- the fact has been created using a template
- the fact has not yet been asserted
In PyCLIPS versions up to 1.0.4, CLIPS garbage
collection locking is disabled by default, and this may
cause segmentation faults (or other annoyances, such as
strange characters while retrieving strings) when using
functions that inquire such items.
Although this bug is unlikely to be triggered, it would
be desirable to have PyCLIPS answer with an exception
instead of an abnormal program termination.