Jump to content

Server Hacking/Closing?


Axel

Recommended Posts

I have experienced a strange thing today. Some random dude joins my server, and then it closes instantly with this message in the console:

terminate called after throwing an instance of 'std::bad_alloc'

what(): std::bad_alloc

Does somebody know what i can do to prevent this from happening?

Link to comment

Seems like your server is running out of memory, check the Lua code executing during the join event and make sure it's not a memory leak there. Also make sure that your physical server has enough memory, you can find that out running Task manager (Windows) or Top/Htop (Linux) when it happens. If this random dude also has access to runcode somehow that might be the problem as well, check if he's in your ACL file, maybe he's been a member of the staff team previously with admin/dev access.

Last option would be to update your server binaries to make sure you got the latest version, get it here: https://nightly.multitheftauto.com/

Link to comment
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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