When you see Segmentation Fault in different random places it could be caused by bad/broken libz* and libxml2. It usually happens on DirectAdmin server, when libraries are placed into /usr/local/lib/ directory.

To fix: