Assertion `checksum == 0x617a9968' failed.

Assertion `checksum == 0x617a9968' failed.

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
User avatar
sombriks
Posts: 50
Joined: 03 Jan 2008, 15:40

Assertion `checksum == 0x617a9968' failed.

Post by sombriks »

what have i made wrong???

Code: Select all

leonardo@sombriks:/usr/local/spring$ spring
spring: /home/ftp/src/spring-svn/trunk/rts/System/myMath.cpp:41: CMyMath::CMyMath(): Assertion `checksum == 0x617a9968' failed.
Abortado
leonardo@sombriks:/usr/local/spring$ 
since the new machine have slackware 12.1 (gcc 4.2.3), i've made 2 modifications, one in IL.h (from DevIL) and other in alc.h (from OpenAL) so that nasty bug about typedef'ing void things was fixed using a small #define on that 2 headers;

but the final binary throws me that exception.

why????

ps: i'm using svn revision 6195.
User avatar
sombriks
Posts: 50
Joined: 03 Jan 2008, 15:40

Re: Assertion `checksum == 0x617a9968' failed.

Post by sombriks »

ok, the revision is 6210 and that new machine still unable to get spring running; the
linux version is slacwkare 12.1 (+ gslacky), gcc is 4.2.3, i've made 2 modifications in IL.h and alc.h, as ai've said before; ILvoid isn't a legal type anymore and it must be corrected in newer versions of these libraries.

but the final spring binary remains failing in that assertion:

Code: Select all

leonardo@sombriks:/home/ftp/src/spring-svn/trunk$ /usr/local/spring/spring 
spring: /home/ftp/src/spring-svn/trunk/rts/System/myMath.cpp:41: CMyMath::CMyMath(): Assertion `checksum == 0x617a9968' failed.
Abortado
leonardo@sombriks:/home/ftp/src/spring-svn/trunk$ 
i can't test the game, just try to figure why it isn't compiling.

aditional (maybe useful) info:

Code: Select all

leonardo@sombriks:/home/ftp/src/spring-svn/trunk$ /sbin/lspci 
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 01)
leonardo@sombriks:/home/ftp/src/spring-svn/trunk$

Code: Select all

leonardo@sombriks:/home/ftp/src/spring-svn/trunk$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
stepping        : 13
cpu MHz         : 2200.024
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4403.30
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 Duo CPU     E4500  @ 2.20GHz
stepping        : 13
cpu MHz         : 2200.024
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 4400.01
clflush size	: 64

leonardo@sombriks:/home/ftp/src/spring-svn/trunk$ 

User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Assertion `checksum == 0x617a9968' failed.

Post by lurker »

That error means your fpu mode flags are screwed up, and it's giving the wrong results. (unless you have hardware errors happening)
User avatar
sombriks
Posts: 50
Joined: 03 Jan 2008, 15:40

Re: Assertion `checksum == 0x617a9968' failed.

Post by sombriks »

hey, thanks for the reponse!
now i understand what do i need to do, ;)

btw, the trunk seems freezed, were's coming the new version!
Post Reply

Return to “Engine”