FAQ_FILENAME: AMO.d/segmentationerror

TOPIC:
AMO 

SUBJECT:
Segmentation Errors and Expecting Geometric Element errors

QUESTION: 
Why might running an automation object strategy yield a segmentation error on Windows NT?

ANSWER:

Sometimes when running a model, we receive a "seg error" on Windows NT based machines, and an "expecting geometric element" error on Unix based machines. When we analyze the model, we discover an empty strategy.

We believe that this error results from poor development techniques. Developers must resolve any errors that may occur in objects and strategies before continuing to build an automation model.

We believe the parent file was saved and/or the strategy was created after encountering an error message. The file contained a null pointer error, (a reference to something that does not exist,) that generated the "seg error" message. 

An object that is saved with a null pointer error will be corrupt and you will often loose all of your work.

Resolution: 

When errors occur in an automation or VDM model, do not continue to work without investigating the error. If the data is corrupt, it will continue to be so. We suggest that you remove the offending record from the database, then re-execute the model. Do not continue to work until you can reopen the model and re-execute without encountering an error. 

Suggestions for repairing files that may have been corrupted due to this error: 

1) Archive and re-open the file.  The saving mechanism has some database clean-up capabilities.
2) Rebuild your strategy. If this is a cornerstone automation model, we must begin with a variationally stable model.
3) Try to reopen the parent file and fix the bad data or null reference record. If you can execute all without problems, re-save the strategy. Be sure to test your fix.
4) Try to open the parent file and make the strategy on an NT system. If you can execute all with out problems, re-save the strategy. Be sure to test your fix.
5) Please be certain to test your work on both operating systems before production implementation.
