2025-07-24 00:44 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004886Spring engineGeneralpublic2015-07-05 15:33
ReporterGoogle_Frog 
Assigned Tohokomoko 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version99.0+git 
Target Version100.0Fixed in Version 
Summary0004886: 99.0.1-62 Crash
DescriptionI had a crash during local testing. It has a stacktrace but I don't know how to translate stacktraces.
Additional Information[f=0007211] Error: Spring 99.0.1-62-g2ce9818 develop has crashed.
[f=0007211] Error: DLL information:
[f=0007211] Error: 0x00400000 spring
[f=0007211] Error: 0x77b10000 ntdll
[f=0007211] Error: 0x75500000 kernel32
[f=0007211] Error: 0x75b70000 KERNELBASE
[f=0007211] Error: 0x766d0000 ADVAPI32
[f=0007211] Error: 0x75760000 msvcrt
[f=0007211] Error: 0x75820000 sechost
[f=0007211] Error: 0x75a80000 RPCRT4
[f=0007211] Error: 0x75490000 SspiCli
[f=0007211] Error: 0x75480000 CRYPTBASE
[f=0007211] Error: 0x50210000 GLU32
[f=0007211] Error: 0x50140000 OPENGL32
[f=0007211] Error: 0x75cd0000 GDI32
[f=0007211] Error: 0x75f10000 USER32
[f=0007211] Error: 0x77ae0000 LPK
[f=0007211] Error: 0x76770000 USP10
[f=0007211] Error: 0x50050000 DDRAW
[f=0007211] Error: 0x59b50000 DCIMAN32
[f=0007211] Error: 0x761e0000 SETUPAPI
[f=0007211] Error: 0x75bc0000 CFGMGR32
[f=0007211] Error: 0x76150000 OLEAUT32
[f=0007211] Error: 0x77460000 ole32
[f=0007211] Error: 0x76110000 DEVOBJ
[f=0007211] Error: 0x6f220000 dwmapi
[f=0007211] Error: 0x75e10000 IMAGEHLP
[f=0007211] Error: 0x76810000 SHELL32
[f=0007211] Error: 0x76020000 SHLWAPI
[f=0007211] Error: 0x6f6e0000 WINMM
[f=0007211] Error: 0x75c90000 WS2_32
[f=0007211] Error: 0x76100000 NSI
[f=0007211] Error: 0x10000000 DevIL
[f=0007211] Error: 0x77f70000 MSVCP80
[f=0007211] Error: 0x6f8d0000 MSVCR80
[f=0007211] Error: 0x6b600000 OpenAL32
[f=0007211] Error: 0x6cec0000 libgcc_s_sjlj-1
[f=0007211] Error: 0x70780000 vorbisfile
[f=0007211] Error: 0x68140000 ogg
[f=0007211] Error: 0x64cc0000 vorbis
[f=0007211] Error: 0x62e80000 zlib1
[f=0007211] Error: 0x70e40000 libfreetype-6
[f=0007211] Error: 0x64f80000 libfontconfig-1
[f=0007211] Error: 0x68f40000 libexpat-1
[f=0007211] Error: 0x62aa0000 glew32
[f=0007211] Error: 0x6c740000 SDL2
[f=0007211] Error: 0x75db0000 IMM32
[f=0007211] Error: 0x75e40000 MSCTF
[f=0007211] Error: 0x753b0000 VERSION
[f=0007211] Error: 0x63c50000 nvapi
[f=0007211] Error: 0x76380000 profapi
[f=0007211] Error: 0x6f240000 uxtheme
[f=0007211] Error: 0x04770000 nvoglv32
[f=0007211] Error: 0x72740000 WTSAPI32
[f=0007211] Error: 0x75320000 ntmarta
[f=0007211] Error: 0x75d60000 WLDAP32
[f=0007211] Error: 0x02d40000 WINSTA
[f=0007211] Error: 0x775c0000 CLBCatQ
[f=0007211] Error: 0x6f6b0000 shfolder
[f=0007211] Error: 0x6d100000 MMDevApi
[f=0007211] Error: 0x6eb40000 PROPSYS
[f=0007211] Error: 0x77ef0000 dsound
[f=0007211] Error: 0x727b0000 POWRPROF
[f=0007211] Error: 0x65570000 AUDIOSES
[f=0007211] Error: 0x50020000 dinput8
[f=0007211] Error: 0x62330000 HID
[f=0007211] Error: 0x776e0000 WINTRUST
[f=0007211] Error: 0x765a0000 CRYPT32
[f=0007211] Error: 0x76140000 MSASN1
[f=0007211] Error: 0x03940000 XInput1_3
[f=0007211] Error: 0x70090000 mswsock
[f=0007211] Error: 0x6fbd0000 wship6
[f=0007211] Error: 0x70040000 wshtcpip
[f=0007211] Error: 0x6fb40000 DNSAPI
[f=0007211] Error: 0x70070000 IPHLPAPI
[f=0007211] Error: 0x70060000 WINNSI
[f=0007211] Error: 0x6f070000 rasadhlp
[f=0007211] Error: 0x6f080000 fwpuclnt
[f=0007211] Error: 0x6e3c0000 dbghelp
[f=0007211] Error: Exception: Access violation (0xc0000005)
[f=0007211] Error: Exception Address: 0x77b42a83
[f=0007211] Error: Stacktrace for Spring 99.0.1-62-g2ce9818 develop:
[f=0007211] Error: (0) C:\Windows\SysWOW64\ntdll.dll(RtlInterlockedFlushSList+0x2ee) [0x77B42A83]
[f=0007211] Error: (1) C:\Windows\SysWOW64\ntdll.dll(RtlInterlockedFlushSList+0x576) [0x77B42D0B]
[f=0007211] Error: (2) C:\Windows\SysWOW64\ntdll.dll(RtlInterlockedFlushSList+0x461) [0x77B42BF6]
[f=0007211] Error: (3) C:\Windows\syswow64\msvcrt.dll(free+0x39) [0x757698CD]
[f=0007211] Error: (4) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x00664D45]
[f=0007211] Error: (5) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe(skirmishAiCallback_Cheats_setEnabled+0x1ce6b7) [0x00979A47]
[f=0007211] Error: (6) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x006A49DF]
[f=0007211] Error: (7) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x0063A64B]
[f=0007211] Error: (8) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x0063B40D]
[f=0007211] Error: (9) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x006DA94A]
[f=0007211] Error: (10) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x0042C061]
[f=0007211] Error: (11) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x00738BFE]
[f=0007211] Error: (12) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x0073FD09]
[f=0007211] Error: (13) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x00719036]
[f=0007211] Error: (14) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe(skirmishAiCallback_Cheats_setEnabled+0x507dc4) [0x00CB3154]
[f=0007211] Error: (15) C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe [0x00401402]
[f=0007211] Error: (16) C:\Windows\syswow64\kernel32.dll(BaseThreadInitThunk+0x12) [0x7551337A]
[f=0007211] Error: (17) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x63) [0x77B492B2]
[f=0007211] Error: (18) C:\Windows\SysWOW64\ntdll.dll(RtlInitializeExceptionChain+0x36) [0x77B49285]
[f=0007211] Error: [ErrorMessageBox][1] msg="Spring has crashed:
  Access violation.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0014888

Google_Frog (reporter)

I can reliably reproduce the crash.
1. Run ZK v1.3.7.2 on Scorpio Battleground.
2. Enable cheats before the game starts.
3. Spawn a hoverriot on the ground.
4. Tell the new hoverriot to attack ground (such that it is in range and unblocked).
5. Goto 3 until crash.

It usually takes 3 or 4 hoverriot.

~0014893

hokomoko (developer)

C:\Windows\SysWOW64\ntdll.dll 0x77B42A83 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x77B42D0B ??:0
C:\Windows\SysWOW64\ntdll.dll 0x77B42BF6 ??:0
C:\Windows\syswow64\msvcrt.dll 0x757698CD ??:0
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00664D45 rts/Rendering/GL/VertexArray.cpp:415
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00979A47 rts/Rendering/GL/VertexArray.inl:16
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x006A49DF /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_tree.h:270
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x0063A64B rts/Rendering/Env/BumpWater.cpp:1195
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x0063B40D rts/Rendering/Env/BumpWater.cpp:741
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x006DA94A rts/Rendering/WorldDrawer.cpp:152
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x0042C061 rts/Game/Game.cpp:1335
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00738BFE rts/System/SpringApp.cpp:943
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x0073FD09 rts/System/SpringApp.cpp:975
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00719036 rts/System/Main.cpp:48
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00CB3154 rts/System/Main.cpp:107
C:\Users\user\Documents\My Games\Spring Dev\devEngine\spring.exe 0x00401402 /opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317
C:\Windows\syswow64\kernel32.dll 0x7551337A ??:0
C:\Windows\SysWOW64\ntdll.dll 0x77B492B2 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x77B49285 ??:0

~0014894

hokomoko (developer)

Managed to replicate it and had the crash in:
C:\Windows\SysWOW64\ntdll.dll 0x7766334F ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776635D7 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776634C2 ??:0
C:\Windows\syswow64\msvcrt.dll 0x767798CD ??:0
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x00664D45 rts/Rendering/GL/VertexArray.cpp:415
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x0049B49A rts/Rendering/GL/VertexArray.inl:12
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x0049BE3C /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_iterator.h:748
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x006FD8C1 rts/System/EventHandler.cpp:568
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x00738BFE rts/System/SpringApp.cpp:943
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x0073FD09 rts/System/SpringApp.cpp:975
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x00719036 rts/System/Main.cpp:48
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x00CB3154 rts/System/Main.cpp:107
C:\Games\spring\engine\99.0.1-62-g2ce9818\spring.exe 0x00401402 /opt/mxe/tmp-gcc/gcc-4.8.1/mirror-mingw-w64-c28722c/trunk/mingw-w64-crt/crt/crtexe.c:317
C:\Windows\syswow64\kernel32.dll 0x7501337A ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776692E2 ??:0
C:\Windows\SysWOW64\ntdll.dll 0x776692B5 ??:0

~0014896

abma (administrator)

when doing this i get this failed assert:

spring: rts/Rendering/GL/VertexArray.inl:93: void CVertexArray::AddVertexQTC(const float3&, float, float, const unsigned char*): Assertion `drawArrayPos + (sizeof(VA_TYPE_TC) / sizeof(float)) <= drawArraySize' failed.

~0014897

abma (administrator)

Last edited: 2015-07-05 12:57

View 2 revisions

(gdb) print drawArraySize
$1 = (float *) 0x1f0efa00
(gdb) print drawArrayPos
$2 = (float *) 0x1f0ef9f0
(gdb) print sizeof(VA_TYPE_TC)
$3 = 24

~0014898

hokomoko (developer)

can you give me a backtrace?

~0014899

abma (administrator)

#0 0x00007ffff3d45267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007ffff3d46eca in __GI_abort () at abort.c:89
#2 0x00007ffff3d3e03d in __assert_fail_base (fmt=0x7ffff3ea0028 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0xfc3408 "drawArrayPos + (sizeof(VA_TYPE_TC) / sizeof(float)) <= drawArraySize",
    file=file@entry=0xfc3398 "rts/Rendering/GL/VertexArray.inl", line=line@entry=93,
    function=function@entry=0xfc3580 <CVertexArray::AddVertexQTC(float3 const&, float, float, unsigned char const*)::__PRETTY_FUNCTION__> "void CVertexArray::AddVertexQTC(const float3&, float, float, const unsigned char*)") at assert.c:92
0000003 0x00007ffff3d3e0f2 in __GI___assert_fail (assertion=0xfc3408 "drawArrayPos + (sizeof(VA_TYPE_TC) / sizeof(float)) <= drawArraySize",
    file=0xfc3398 "rts/Rendering/GL/VertexArray.inl", line=93,
    function=0xfc3580 <CVertexArray::AddVertexQTC(float3 const&, float, float, unsigned char const*)::__PRETTY_FUNCTION__> "void CVertexArray::AddVertexQTC(const float3&, float, float, const unsigned char*)") at assert.c:101
0000004 0x00000000008dc50b in CVertexArray::AddVertexQTC (this=0x1d22bc0, pos=..., tx=0,988461494, ty=0,494186044, col=0x7fffffffddc0 "\377\177")
    at rts/Rendering/GL/VertexArray.inl:93
0000005 0x0000000000945315 in CStandardGroundFlash::Draw (this=0xcd5aa80) at rts/Rendering/GroundFlash.cpp:190
#6 0x000000000099f0e2 in CProjectileDrawer::DrawGroundFlashes (this=0x67c6a80) at rts/Rendering/ProjectileDrawer.cpp:804
#7 0x00000000009f4acd in CWorldDrawer::Draw (this=0x21d3400) at rts/Rendering/WorldDrawer.cpp:136
#8 0x00000000005dafc3 in CGame::Draw (this=0x2041000) at rts/Game/Game.cpp:1321
#9 0x0000000000a9f90d in SpringApp::Update (this=0x7fffffffe210) at rts/System/SpringApp.cpp:943
0000010 0x0000000000a9fa65 in SpringApp::Run (this=0x7fffffffe210) at rts/System/SpringApp.cpp:975
#11 0x0000000000a676d0 in Run (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:48
0000012 0x0000000000a67fa6 in main (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:107

~0014900

abma (administrator)

maybe interesting in CStandardGroundFlash:

(gdb) print circleSize
$19 = -0,199999973
(gdb) print circleGrowth
$20 = -0,0199999996
(gdb) print ttl
$21 = 71

~0014901

hokomoko (developer)

Fix f692913f537d6e6868ef43fade0a2991b6f7e4b2 committed to develop branch: Fix 0004886, repo: spring changeset id: 5309

~0014902

hokomoko (developer)

Fix ba11af3056eb5f7f083e2bbf097a77c4a275902d committed to develop branch: Fix 0004886 again, repo: spring changeset id: 5311
+Notes

-Issue History
Date Modified Username Field Change
2015-07-05 11:03 Google_Frog New Issue
2015-07-05 11:03 Google_Frog File Added: infolog.txt
2015-07-05 11:19 Google_Frog Note Added: 0014888
2015-07-05 12:18 hokomoko Note Added: 0014893
2015-07-05 12:21 hokomoko Note Added: 0014894
2015-07-05 12:38 abma Product Version => 99.0+git
2015-07-05 12:38 abma Target Version => 100.0
2015-07-05 12:54 abma Note Added: 0014896
2015-07-05 12:56 abma Note Added: 0014897
2015-07-05 12:57 abma Note Edited: 0014897 View Revisions
2015-07-05 12:57 hokomoko Note Added: 0014898
2015-07-05 12:58 abma Note Added: 0014899
2015-07-05 13:15 abma Note Added: 0014900
2015-07-05 15:11 hokomoko Changeset attached => spring develop f692913f
2015-07-05 15:11 hokomoko Note Added: 0014901
2015-07-05 15:11 hokomoko Assigned To => hokomoko
2015-07-05 15:11 hokomoko Status new => resolved
2015-07-05 15:11 hokomoko Resolution open => fixed
2015-07-05 15:33 hokomoko Changeset attached => spring develop 346bc361
2015-07-05 15:33 hokomoko Changeset attached => spring develop ba11af30
2015-07-05 15:33 hokomoko Note Added: 0014902
+Issue History