C++ Runtime error. game crash after start. in XTA & AA

C++ Runtime error. game crash after start. in XTA & AA

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
lawyer_arkh
Posts: 1
Joined: 01 Dec 2006, 19:14

C++ Runtime error. game crash after start. in XTA & AA

Post by lawyer_arkh »

hi. I have a big Problem. My English is not good, but i'll try to explain. When i locate on server anâ someone create the game, i connect to this game & have a message frame box c++ error. This frame describe problem:
Program D:\Spring\Spring.exe
File: RTS\Game\pregame.cpp
line: 211

Expression: good_fpu_control_registers (CPreGame::Update)

in log file i saw these description of erroe: Map: SpeedMetal.smf Mod: "XTAPE.sd7" from XTAPE.sd7 FPUCW: 0x027F instead of 0x003A or 0x003F debug text: "CPreGame::Update"

What is it?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Could you try setting MaxSounds to 0 in the registry (that disables sound)? (in SJ\\spring)

That probably works around your problem. If it indeed does, then your bug will be fixed in the next release.
Samma3l
Posts: 2
Joined: 09 Dec 2006, 08:08

Post by Samma3l »

I am having a similar problem where I get a C++ runtime error

In the dialog box, it just gives me "Program H:\Program Files\Spring\Spring.exe" and nothing for File or line. It is calling itself an abnormal program termination. It has happened everytime I play I've tried updating my driver library and the registry change and it still occurs.

:(
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

It sounds like a different problem.

Does the dialog contain the word good_fpu_control_registers somewhere? If so, it is the same problem. If not, it's unrelated.
Samma3l
Posts: 2
Joined: 09 Dec 2006, 08:08

Post by Samma3l »

this is the dialog box I get. If you can tell me which log I should post that could help with further diagnostics I can post that too, but I cant find anything that has any kind of error in it. Here is a picture of the dialog box if that helps:

htt p://img2.freeimagehosting.net/uploads/32e15d7810.jpg

Should I try an earlier version of spring?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

You can't play online with an earlier version.
User avatar
Bobcatben
Posts: 120
Joined: 10 Mar 2006, 17:01

Post by Bobcatben »

i get that error if i press shift after one of my groupais is loaded... even if the group with the ai isnt selected.
ankurkh1
Posts: 3
Joined: 24 Dec 2006, 23:02

Post by ankurkh1 »

Even i faced a similar error thrice in speedmetal and XTA mod before I switched over to some other map, so may be the map has something to do with it.
My OS was Win 2000 SP4
User avatar
Warl
Posts: 9
Joined: 24 Feb 2006, 23:55

Post by Warl »

I have this error too.. Cant start/join any game online....
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

o m g, tjis is bullSHit, cept I get the same error with game.cpp. It's only gotten worse in the past day or so.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Post by REVENGE »

New update does not fix this bug [see my post under the discussion on new version released]. Error on Sail Away with BAA 4.41:

Code: Select all

FPUCW: 0x027F instead of 0x003A or 0x003F
debug text: "CGame::Update"
seero
Posts: 11
Joined: 16 Oct 2006, 13:57

Post by seero »

I got same error message as lawyer_arkh. Here is the infolog.txt


Map: Small Supreme Battlefield V2.smf
Mod: "Balanced Annihilation V4.5" from BA45.sd7
FPUCW: 0x027F instead of 0x003A or 0x003F
debug text: "CPreGame::Update"
Spring 0.74b2 has crashed.
Exception: Breakpoint (0x80000003)
Exception Address: 0x77c25b61
DLL information:
0x00400000 spring
0x7c900000 ntdll
0x7c800000 kernel32
0x77dc0000 ADVAPI32
0x77e70000 RPCRT4
0x73ee0000 dsound
0x77c00000 msvcrt
0x77d30000 USER32
0x77f10000 GDI32
0x774d0000 ole32
0x76b30000 WINMM
0x77bf0000 VERSION
0x61560000 GLU32
0x5f250000 OPENGL32
0x73730000 DDRAW
0x73b90000 DCIMAN32
0x76c80000 IMAGEHLP
0x71ac0000 WSOCK32
0x71aa0000 WS2_32
0x71a90000 WS2HELP
0x10000000 SDL
0x7c340000 MSVCR71
0x00b50000 DevIL
0x66fc0000 freetype6
0x61b80000 zlib1
0x003d0000 glew32
0x76370000 IMM32
0x5b2a0000 uxtheme
0x01a10000 fsscoehk
0x746f0000 MSCTF
0x751a0000 msctfime
0x01c90000 ATKOGL32
0x69500000 nvoglnt
0x02d10000 winsflt
0x77f60000 SHLWAPI
0x7c9c0000 SHELL32
0x773c0000 comctl32
0x5d5e0000 comctl32
0x71a40000 mswsock
0x02e80000 hnetcfg
0x71a80000 wshtcpip
0x59f80000 DBGHELP
Stacktrace:
(0) C:\WINDOWS\system32\msvcrt.dll(assert+0x5fb) [0x77C25B61]
(1) C:\Program Files\Spring\spring.exe [0x004EF94E]
(2) C:\Program Files\Spring\spring.exe [0x00715FC6]
(3) C:\Program Files\Spring\spring.exe [0x0071B896]
(4) C:\Program Files\Spring\spring.exe [0x0071BC23]
(5) C:\Program Files\Spring\spring.exe [0x0071BDF2]
(6) C:\Program Files\Spring\spring.exe [0x00794985]
(7) C:\Program Files\Spring\spring.exe [0x00401092]
(8) C:\Program Files\Spring\spring.exe [0x0040110F]
(9) C:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C816FD7]
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

http://taspring.clan-sy.com/mantis/view.php?id=341:
Changed the code to be a bit less constraining.

In the next version, it will show a warning in infolog.txt and reset the FPU control word to the correct value. You then only have to pray no synced floating point calculations were performed while the control word was wrong, because if that's so you'll probably desync.

Keeping the bug report open because this is just a workaround, not a true solution.
seero
Posts: 11
Joined: 16 Oct 2006, 13:57

Post by seero »

in previous versions spring "worked well" but i always got sync errors. seems that now the game knows that im going to desync so it crashes before it starts.

http://taspring.clan-sy.com/mantis/view.php?id=341
I have just the same problem as bitehandnin.
Post Reply

Return to “Help & Bugs”