ERROR[main]: Some exception: "std::bad_alloc"
ERROR[main]: Some exception: "std::bad_alloc"
What does this mean? I have tested every client version there is and game always crash. Server side I have tested latest git and latest stable versions. Crash happend always after couple of minutes.
OS is windows xp 32bit with 2gb ram, ati radeon 7750, amd 2,7ghz x2. This is only game in this computer what crashes so I dont think my computer is the reason..
I have also tested direct3d9 and opengl but not working.. very frustrating.
OS is windows xp 32bit with 2gb ram, ati radeon 7750, amd 2,7ghz x2. This is only game in this computer what crashes so I dont think my computer is the reason..
I have also tested direct3d9 and opengl but not working.. very frustrating.
Re: ERROR[main]: Some exception: "std::bad_alloc"
Tested on my laptop with windows 7 and crash doesnt happend. Also tested couple of public servers with this xp machine and crash doesnt happend..
wtf, I dont get it..
my server is hosted vps. It should have enough power to run minetest server..
wtf, I dont get it..
my server is hosted vps. It should have enough power to run minetest server..
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: ERROR[main]: Some exception: "std::bad_alloc"
Please try to update your graphics driver and re-try with OpenGL after a computer restart.
If that doesn't help, test direct3d8 (if available in the settings menu).
The reason for those crashes is mostly not enough memory. Maybe there's a problem with your graphics card.
If that doesn't help, test direct3d8 (if available in the settings menu).
The reason for those crashes is mostly not enough memory. Maybe there's a problem with your graphics card.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: ERROR[main]: Some exception: "std::bad_alloc"
Graphic driver already latest version. direct3d8 didnt help. I did play this game about a year ago and it did work fine then. Hardware is exactly same.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: ERROR[main]: Some exception: "std::bad_alloc"
Are you using the stable or a in-developement version of 0.4.10?HendriXXX wrote:Graphic driver already latest version. direct3d8 didnt help. I did play this game about a year ago and it did work fine then. Hardware is exactly same.
If you are using the stable version, I recommend to try a in-dev build to see if the bug hasn't been fixed yet.
EDIT: Link to the in-dev builds
Last edited by Krock on Wed Dec 03, 2014 17:35, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: ERROR[main]: Some exception: "std::bad_alloc"
some progress archieved..
server 0.4.10 git or stable version => 0.4.10 client (git or stable) doesnt work but 0.4.9 stable works beautifully.
0.4.10 client versions lags, stutters and crashes after couple of minutes.
with 0.4.9 client opengl works fine, but direct3d9 renders everything red..
I reinstalled graphic drivers with compete sweep, tried older driver versions.. same results.
well, now i can at least play and test my server..
server 0.4.10 git or stable version => 0.4.10 client (git or stable) doesnt work but 0.4.9 stable works beautifully.
0.4.10 client versions lags, stutters and crashes after couple of minutes.
with 0.4.9 client opengl works fine, but direct3d9 renders everything red..
I reinstalled graphic drivers with compete sweep, tried older driver versions.. same results.
well, now i can at least play and test my server..
Re: ERROR[main]: Some exception: "std::bad_alloc"
problem solved. installed lubuntu 14.04 on same computer, proprietary graphics driver, compiled latest git client and BAM! Now it works beautifully.. :)
Re: ERROR[main]: Some exception: "std::bad_alloc"
I had the same Problem Serverside:
This always happens after a map creation on my Mesewars Server:
This is a new Problem, but I don't change anything at the creation code an it not always happens!
Code: Select all
2017-07-22 11:39:10: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'mesewars' in callback environment_Step(): std::bad_alloc
2017-07-22 11:39:10: ERROR[Main]: stack traceback:
2017-07-22 11:39:10: ERROR[Main]: [C]: in function 'place_schematic'
2017-07-22 11:39:10: ERROR[Main]: ...test/.minetest/games/mesewars/mods/mesewars/register.lua:201: in function 'start_game'
2017-07-22 11:39:10: ERROR[Main]: ...test/.minetest/games/mesewars/mods/mesewars/register.lua:398: in function 'func'
2017-07-22 11:39:10: ERROR[Main]: ...fBuNi/usr/bin/../share/minetest/builtin/common/after.lua:18: in function <...fBuNi/usr/bin/../share/minetest/builtin/common/after.lua:4>
2017-07-22 11:39:10: ERROR[Main]: ...BuNi/usr/bin/../share/minetest/builtin/game/register.lua:412: in function <...BuNi/usr/bin/../share/minetest/builtin/game/register.lua:392>
2017-07-22 11:39:10: ERROR[Main]: stack traceback:
Code: Select all
schemp = minetest.setting_get_pos("schem_pos")
local param1 = "submese"
local schem = minetest.get_worldpath() .. "/schems/" .. param1 .. ".mts"
minetest.place_schematic(schemp, schem)
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: ERROR[main]: Some exception: "std::bad_alloc"
Lejo, the gravedigger:
You probably don't have enough free RAM on the server. That's either an insane huge schematic file or the placement function isn't optimized/programmed well, so it consumes more memory than it should.
You probably don't have enough free RAM on the server. That's either an insane huge schematic file or the placement function isn't optimized/programmed well, so it consumes more memory than it should.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Who is online
Users browsing this forum: No registered users and 18 guests