segmentation fault in rlm_preprocess