std::bad_alloc problem

std::bad_alloc problem

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

std::bad_alloc problem

Post by Esch1lus »

Game: XTA9585
Map: Smalldivide
AI: any

Error: std::bad_alloc while loading weapon definitions

My specs:
AMD x2 Toledo 4800+
2Gb Ram
Ati Radeon 4850

P.S.: This error appears even with other mods.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: std::bad_alloc problem

Post by hoijui »

does your infolog.txt say anything usefull?
if so, then post it on pastebin.com and link here pls.
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std::bad_alloc problem

Post by Esch1lus »

Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std::bad_alloc problem

Post by Esch1lus »

P.S.: Last time I tried it says Allocation Error 0x00000005 or something similiar, but now no longer it appears.
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std::bad_alloc problem

Post by Esch1lus »

Did you find anything?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: std::bad_alloc problem

Post by hoijui »

The infolog you pasted shows you tried it with BA.
As it contains no stack trace, its hard to debug.

someone please move this thread to the Dev forum.

The bug reported here:
http://springrts.com/mantis/view.php?id=1548
contians the following line in the infolog:

Code: Select all

[ 0] Exception: Access violation (0xc0000005)
maybe it is related...
though it has a stack trace (even doh useless), an neihter CPU nor graphic card are the same (ATI vs Nvidia), and it also happens on alt-tabbing only, for him.

Esch1lus, maybe you can try to contact Nemo and see if there is something your setups have in common.
Post Reply

Return to “Engine”