Page 1 of 1

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

Posted: 01 Dec 2006, 21:34
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?

Posted: 06 Dec 2006, 14:27
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.

Posted: 09 Dec 2006, 08:19
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.

:(

Posted: 09 Dec 2006, 13:44
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.

Posted: 10 Dec 2006, 02:48
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?

Posted: 10 Dec 2006, 03:45
by LordMatt
You can't play online with an earlier version.

Posted: 10 Dec 2006, 04:00
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.

Posted: 24 Dec 2006, 23:38
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

Posted: 27 Dec 2006, 18:08
by Warl
I have this error too.. Cant start/join any game online....

Posted: 29 Dec 2006, 06:04
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.

Posted: 30 Dec 2006, 02:48
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"

Posted: 01 Jan 2007, 12:57
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]

Posted: 03 Jan 2007, 15:02
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.

Posted: 03 Jan 2007, 22:05
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.