Jump to content
  • 0

64 bit compilation causes memory corruption


Question

Posted (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 by Mikado

4 answers to this question

Recommended Posts

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...