SA-MP Forums Archive
double free or corruption - 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: double free or corruption (/showthread.php?tid=643341)



double free or corruption - Mokless - 18.10.2017

I'm on Debian 8 64bit and I'm getting following strange error when trying to start up the server.

Code:
*** Error in `./samp03svr': double free or corruption (!prev): 0x0cc58d70 ***
double free or corruption
Is it something to do with ram or? Any help would be appreciated.


Re: double free or corruption - FrezQ - 20.10.2017

You probably have corrupt memory somewhere in your program, or free some memory pointer twice, just like the error says. Build a debug version (add the -g flag to gcc) and run that to get more debugging information in the backtrace.