std:bad_alloc

std:bad_alloc

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

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

std:bad_alloc

Post by Esch1lus »

http://pastey.net/124911

Error: STD:bad_alloc while loading Weapon Definitions.
User avatar
ChaosMonkey
Posts: 180
Joined: 06 Jul 2009, 21:21

Re: std:bad_alloc

Post by ChaosMonkey »

i remember this error from ages ago i think u need to update graphics drivers maybe
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

No, I have the latest drivers installed, and I've tried with 3 different drivers at the moment.
I tried to create a stacktrace but gdb did not work for me.
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

Who can help me?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: std:bad_alloc

Post by Auswaschbar »

Did you try other [map|mod|AI]?
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

I've tried 10 maps, XTA, BA, NOTA, EvolutionRTS, and ALL ais (even void ais)
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

Who can help me? Still nothing?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: std:bad_alloc

Post by Auswaschbar »

How many memory you have? How much can spring use?
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

2Gb Ram, for the second question I don't know.
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

SOLVED: It was a running process. Although I don't know what it is specifically, it could be:

nvmixer.exe, nvidia audio integrated interface;
CTxxx.exe ("xxx" means several processes), Creative Audio related process;
gditray.exe, gdi is a font smoother
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

Ok, now I got the definitive solution: the problem is ONLY related to gditray.exe.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: std:bad_alloc

Post by imbaczek »

thanks for info.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: std:bad_alloc

Post by hoijui »

yeah.. thanks! :-)
what is this gditray.exe?
maybe it would be worth it trying to find out why it possibly makes spring crash.
I have the feel that it would be good to fill a well written mantis report about this, with one or two infologs, explanation of the whole story, and info about this programm, and stuff about it that may interfere with spring. eg, does it use springs defualt port? (just an example, i guess it wont be as easy as this).
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

gditray.exe is GDI++, a japanese C++ compiled program designed to smooth windows characters to look like mac ones.

Here's the link:
http://www.aqua-soft.org/forum/index.ph ... opic=48069
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: std:bad_alloc

Post by hoijui »

hmm... this is just a forum with a link to a page where you cna download the binary. doing a short search, i was not able to find a project page or source code or similar. though it was really a short search, and i am tired ;-)
Esch1lus
Posts: 14
Joined: 15 Aug 2009, 16:21

Re: std:bad_alloc

Post by Esch1lus »

Lol, it's really weird. This time I closed gditray.exe and got the error. Then, I closed CTxxx.exe files and it works like a charm. I can't understand why sometimes it's the first files and sometimes the second.
Post Reply

Return to “Help & Bugs”