You need to fix the error in the code thats causing the segmentation fault.
If you paste the last few lines leading up to the seg fault we might be able to help you more. There really isn't much we can tell you with seeing the error messages in full or knowing whats happening with the mud when the code crashes on you.