SA-MP Forums Archive
Segmentation faults if edit the samp.ban - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Segmentation faults if edit the samp.ban (/showthread.php?tid=123119)



Segmentation faults if edit the samp.ban - sa-mp24 - 24.01.2010

Hello,

this week i found a bug.

if a customer of my hosting services edited the samp.ban file via notepad the server wont start it comes "Segmentation fault".

I've tried it on 2 dedicated Servers, 1x time on a debian 4 with 32bits and one time on a 64 bit debian 5 system.




Re: Segmentation faults if edit the samp.ban - KingJ - 24.01.2010

It sounds like you're writing it wrongly, hence when the server tries to read it it encounters unexpected data and segfaults. Try creating a sample samp.ban file using vi/nano/emacs/poison of choice and see if it still segfaults.


Re: Segmentation faults if edit the samp.ban - sa-mp24 - 24.01.2010

this week i had 4 times this problem with seg fault.

if i edit the file via vi, it works good but with Filezilla -> Download it dosen't works.