Jump to content

[0.26.1] Server - bad_alloc thrown (server has 64GB)


Rinart73

Recommended Posts

Avorion: 0.26.1

Ubuntu, 64GB RAM

 

Server occasionally completely freezes when people try to generate new sectors. We're getting following error:

bad_alloc thrown for a size of 139883699040224
=== STACKTRACE =====================================
#1: operator new(unsigned long) [0xdb1a79]
#2: [ext] std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) [0x7f396d734c79]
#3: [ext] std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) [0x7f396d735aeb]
#4: [ext] std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) [0x7f396d7361cc]
#5: Script::makeExecutionContext(std::string const&) [0xc61289]
#6: void GameCallbackSender::safeCallback<std::tuple<int, int>&>(std::string const&, std::tuple<int, int>&) [0x5a1069]
#7: DelayedCallbackSender::sendDelayedCallbacks() [0x839776]
#8: ut::Worker<ut::queue<std::shared_ptr<ut::WorkPacket> > >::workSinglePacket() [0x45efda]
#9: std::thread::_Impl<std::_Bind_simple<ut::Worker<ut::queue<std::shared_ptr<ut::WorkPacket> > > ()> >::_M_run() [0x45fdd0]
#10: [ext] ?? [0x7f396d71fe50]
#11: [ext] ?? [0x7f396d4abfa3]
#12: [ext] ?? [0x7f396d3dc4cf]
===================================================Exception in Game WorkPool worker thread 0: std::bad_alloc

Link to comment
Share on other sites

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
×
×
  • Create New...