Mikado Posted May 2, 2013 Posted May 2, 2013 (edited) Compiling my server in a 64 bit environment with ./configure --enable-64bit the compilation goes ok (just a few warnings) but after some of my users enters it, the map disconnects and this message is displayed in the terminal: *** glibc detected *** ./map-server_sql: malloc(): memory corruption: 0x0000000005445f30 *** *** glibc detected *** ./map-server_sql: malloc(): memory corruption: 0x0000000005445f30 *** In 32 bit OS with a 32bit compilation the server is running perfectly. Coredump doesn't show anything. Is there any way I can check what's the problem? Edited May 2, 2013 by Mikado Quote
Mikado Posted May 3, 2013 Author Posted May 3, 2013 Nevermind. It was a custom code, corrected with snprintf instead of sprintf. Thank you. Quote
michaelsoftman Posted May 2, 2013 Posted May 2, 2013 Are you running a 32 bit OS or 64 bit? You can't run a 64 bit program on a 32 bit OS. Quote
Mikado Posted May 2, 2013 Author Posted May 2, 2013 Compiling my server in a 64 bit environment with ./configure --enable-64bit Quote
helvetica Posted May 2, 2013 Posted May 2, 2013 Has to be something with your machine, as I build my executables with --enable-64bit and I've never had memory corruption errors. Might want to check with memtest86 or something like that. What OS/distro are you running? Quote
Question
Mikado
Compiling my server in a 64 bit environment with ./configure --enable-64bit the compilation goes ok (just a few warnings) but after some of my users enters it, the map disconnects and this message is displayed in the terminal:
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.