Author Topic: Malloc error causing auth failure  (Read 360 times)

Quote
malloc: *** error for object 0x15050a0: Non-aligned pointer being freed (2)

Keep getting this, typically about 30 minutes into a server. This results in authentication failures, where I disconnect from my own dedicated server with "Failed to verify your Blockland ID" or something. I have to restart BL to reconnect. Sometimes this will crash the server. Othertimes, everyone on the server gets an auth failure. Occasionally its just me.

It seems it always happens after the above malloc error.

Forgot to add, it seems to happen after posting to master server.

Quote
No user/host entry in master server, re-sending authentication request
Authentication: Sending Initial Request...
Authentication: Connected...
Authentication: Sending Response...
Authentication: Connected...
Authentication: SUCCESS
Posting to master server
Posting to rtb server
IcyGamma spawned.
Posting to rtb server
AUTHCHECK: IcyGamma = LAN client -> internet server, auth with server ip
 Authentication Failed for IcyGamma (10.1.1.4).
Issuing Disconnect packet.
CDROP: 8590 IP:10.1.1.4:26375
Posting to master server
Posting to rtb server
Blockland(2057,0xa0271720) malloc: *** error for object 0x15050a0: Non-aligned pointer being freed (2)
*** set a breakpoint in malloc_error_break to debug
Client 8590 disconnected.

Do you know what the 0x15050a0 object is?


No clue. :c

Nether do I for that matter. :c But if you could find out, I'm sure that would be one step closer to solving your problem.

Simply because it says that 0x15050a0 is an object in the script that has an error.