[Issue 6997] Segmentation fault when using slapo-rwm and slapo-chain