View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004864 | Spring engine | General | public | 2015-07-01 05:12 | 2015-07-07 14:02 | ||||
Reporter | Google_Frog | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | crash | Reproducibility | sometimes | ||||
Status | resolved | Resolution | unable to reproduce | ||||||
Product Version | 99.0+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004864: 99.0.1-41 Failed to allocate memory | ||||||||
Description | I was testing the engine and had a crash "Failed to allocate memory". | ||||||||
Additional Information | Replay with ZK v1.3.6.10 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Google_Frog (reporter) 2015-07-01 05:14 |
A replay file was created but it is empty. 0 bytes. |
Google_Frog (reporter) 2015-07-01 05:32 |
Perhaps it can be reproduced by telling 10 armkam to attack a correap. That is what I was doing at the time. |
hokomoko (developer) 2015-07-01 09:38 |
Ordered same units all around the place but had no success in reproducing. Trace says something about los. |
abma (administrator) 2015-07-03 00:21 |
translated: C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077FBC9 rts/System/Platform/Win/CrashHandler.cpp:177 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077FEDB rts/System/Platform/Win/CrashHandler.cpp:325 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00C81563 /opt/mxe/tmp-gcc/gcc-4.8.1/libstdc++-v3/libsupc++/new_op.cc:58 C:\Windows\SysWOW64\ntdll.dll 0x774FE38C ??:0 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00A0B718 /opt/mxe/tmp-gcc/gcc-4.8.1.build/i686-w64-mingw32/libgcc/./gthr-default.h:628 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00C814B8 /opt/mxe/tmp-gcc/gcc-4.8.1/libstdc++-v3/libsupc++/new_opv.cc:32 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00A0B776 /opt/mxe/tmp-gcc/gcc-4.8.1.build/i686-w64-mingw32/libgcc/./gthr-default.h:628 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00A0B776 /opt/mxe/tmp-gcc/gcc-4.8.1.build/i686-w64-mingw32/libgcc/./gthr-default.h:628 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00C81583 /opt/mxe/tmp-gcc/gcc-4.8.1/libstdc++-v3/libsupc++/new_op.cc:62 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x006E1C07 rts/Rendering/Fonts/CFontTexture.cpp:414 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x006E2BFE rts/Rendering/Fonts/glFont.cpp:209 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x006E8274 rts/Rendering/Fonts/TextWrap.cpp:490 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x006E8DF8 rts/Rendering/Fonts/TextWrap.cpp:557 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x006E90F0 rts/Rendering/Fonts/TextWrap.cpp:585 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00481C1E /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h:272 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077D5B8 rts/System/Log/LogSinkHandler.cpp:46 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077D687 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/basic_string.h:293 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077C100 /opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/bits/stl_tree.h:270 C:\Windows\SysWOW64\ntdll.dll 0x774FE023 ??:0 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077C7D5 rts/System/Log/DefaultFilter.cpp:254 C:\Windows\syswow64\dbghelp.dll 0x72CE2489 ??:0 C:\Windows\syswow64\dbghelp.dll 0x72CE251F ??:0 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077FE4D rts/System/Platform/Win/CrashHandler.cpp:307 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0077FEC6 rts/System/Platform/Win/CrashHandler.cpp:291 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00C81563 /opt/mxe/tmp-gcc/gcc-4.8.1/libstdc++-v3/libsupc++/new_op.cc:58 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x008F5289 rts/Sim/Misc/LosHandler.cpp:207 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x008F6061 rts/Sim/Misc/LosHandler.cpp:196 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0092CDC6 rts/Sim/MoveTypes/MoveType.cpp:93 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x009CAB56 rts/Sim/Units/Unit.cpp:990 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x009DA27E rts/Sim/Units/UnitHandler.cpp:272 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0042579C rts/Game/Game.cpp:1578 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x004FC7BC rts/System/Sync/SyncChecker.h:37 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0042FB1D rts/Game/Game.cpp:1024 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x0073995E rts/System/SpringApp.cpp:939 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00740BA9 rts/System/SpringApp.cpp:975 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00719CE6 rts/System/Main.cpp:48 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\spring.exe 0x00CB4974 rts/System/Main.cpp:107 C:\Users\user\Documents\My Games\Spring\engine\99.0.1-41-g9d1b5ac\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 0x75FF337A ??:0 C:\Windows\SysWOW64\ntdll.dll 0x775092B2 ??:0 C:\Windows\SysWOW64\ntdll.dll 0x77509285 ??:0 |
abma (administrator) 2015-07-03 00:41 |
can't reproduce, too :-| |
hokomoko (developer) 2015-07-03 00:47 |
I haven't managed to figure by the trace where the issue is, but it may be a memory corruption. jK may have an idea? I won't be surprised if crash handler was called twice because it hit "out of memory" itself. |
abma (administrator) 2015-07-03 01:07 Last edited: 2015-07-03 01:07 |
the issue is, that in rts/Sim/Misc/LosHandler.cpp:207 the allocator fails and the crashhandler is triggered. https://github.com/spring/spring/blob/develop/rts/System/Platform/Win/CrashHandler.cpp#L329 not sure why it can't allocate any memory, very likely it allocated already to many. spring on windows is 32 bit, so 4GB RAM can be used at max. imo stacktrace looks valid, so no mem-corruption. |
abma (administrator) 2015-07-07 00:27 |
did this happen a second time? |
cleanrock (reporter) 2015-07-07 07:36 |
When testing 99.0.1-77-geebaa0b i get tc_new fail (debug and release) with Zero-K v1.3.7.2 on ScorpioBattleground when i do one "/give all". I don't get this tc_new fail with BA 8.17 when doing ~5 "/give all". |
abma (administrator) 2015-07-07 11:31 |
not sure if this is the same issue. created 0004890 for the crash without msg (vs "Failed to allocate memory) |
cleanrock (reporter) 2015-07-07 13:50 |
The change after http://github.com/spring/spring/commit/8b50289 probably fixed the tc_new issue i saw above but i get a new crash, i will create a new ticket for that. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-01 05:12 | Google_Frog | New Issue | |
2015-07-01 05:12 | Google_Frog | File Added: infolog.txt | |
2015-07-01 05:14 | Google_Frog | Note Added: 0014815 | |
2015-07-01 05:32 | Google_Frog | Note Added: 0014817 | |
2015-07-01 09:38 | hokomoko | Note Added: 0014819 | |
2015-07-03 00:21 | abma | Note Added: 0014841 | |
2015-07-03 00:41 | abma | Note Added: 0014842 | |
2015-07-03 00:42 | abma | Product Version | => 99.0+git |
2015-07-03 00:47 | hokomoko | Note Added: 0014843 | |
2015-07-03 01:07 | abma | Note Added: 0014847 | |
2015-07-03 01:07 | abma | Note Edited: 0014847 | View Revisions |
2015-07-07 00:27 | abma | Note Added: 0014917 | |
2015-07-07 00:27 | abma | Status | new => feedback |
2015-07-07 07:36 | cleanrock | Note Added: 0014920 | |
2015-07-07 11:31 | abma | Note Added: 0014922 | |
2015-07-07 13:50 | cleanrock | Note Added: 0014929 | |
2015-07-07 14:02 | abma | Status | feedback => resolved |
2015-07-07 14:02 | abma | Resolution | open => unable to reproduce |
2015-07-07 14:02 | abma | Assigned To | => abma |