PROC CAUSALMED terminates abnormally if you specify a CLASS variable with a large number of levels in the COVAR statement. The following messages occur in the log:
ERROR: An exception has been encountered.
Please contact technical support and provide them with the
following traceback information:
The SAS task name is [CAUSALME]
Segmentation Violation
Workaround
You can circumvent this issue by reducing the number of covariate levels.