might help if you showed the error and the code. normally a seg fault is quiet often where people exploit a buffer overflow.... you just have to have the right code to make the exploit