I'm getting segmentation faults when I try to use the mcrypt_encrypt and mcrypt_decrypt functions my apache error log. These errors appear at random. I've tried using php 4.0.4pl1 and 4.0.3pl1, libmcrypt 2.4.4 and 2.4.9. I also tried a completely diferent server, and had the same results. Any help with this would be greatly appreciated. I'm running out of ideas, any help or pointers would be greatly appreciated.