2025-07-19 00:45 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004708Spring engineGeneralpublic2015-03-23 17:45
Reporternsajko 
Assigned Toabma 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionduplicate 
Product Version98.0 
Target VersionFixed in Version 
Summary0004708: crash at exit in SMFReadMap.cpp:76
DescriptionWhile I am playing Kernel Panic, mission "Challenge 6 - Navigating through N X flags" if I try to quit, the game freezes, with the system cursor appearing and not frozen, but the game cursor still stuck on Quit menu option.

Included file is output of gdb commands bt and t a a bt.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
duplicate of 0004714resolvedabma crash when starting kernel panic 4.6 mission 6: "Challenge 6 - Navigating through N X f" 
+Relationships

-Notes

~0014210

nsajko (reporter)

Also, after some time the process started to hog all of a CPU while still being unresponsive.

~0014212

abma (administrator)

Last edited: 2015-03-22 20:45

View 2 revisions

infolog.txt with such a crash would be useful as its unclear:

- which engine version is used
- what game/map is used

(exact names/versions are needed, case matters!)

~0014213

abma (administrator)

possible fix: set groundDrawer = NULL after deleting it:
https://github.com/spring/spring/blob/develop/rts/Map/SMF/SMFReadMap.cpp#L79

~0014214

nsajko (reporter)

Last edited: 2015-03-22 23:59

View 3 revisions

The mission name wasn't mentioned in infolog.txt so I uploaded new infolog.txt and infolog.bak.txt .

~0014215

nsajko (reporter)

Last edited: 2015-03-22 23:26

View 3 revisions

And also, it doesn't crash, as in exit; it freezes/hangs (doesn't respond to input); which is more of a nuisance because when it runs fullscreen I have to open a new X session/login to kill it's proccess.

~0014219

abma (administrator)

i get this crash when i try to start this mission:

[f=0000000] Loading Skirmish AIs
*** Error in `./spring': free(): invalid pointer: 0x000000000cd45b80 ***
[f=0000000] [CrashHandler] Error: Aborted (SIGABRT) in spring 98.0.1-428-gb47c43b develop (Debug)
[f=0000000] [CrashHandler] Error: Halted Stacktrace for Spring 98.0.1-428-gb47c43b develop (Debug) using libunwind:
[f=0000000] [CrashHandler] Error: [00] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:833 CrashHandler::HaltedStacktrace(std::string const&, siginfo_t*, ucontext*)
[f=0000000] [CrashHandler] Error: [01] /home/abma/dev/spring/develop/rts/System/Platform/Linux/CrashHandler.cpp:939 CrashHandler::HandleSignal(int, siginfo_t*, void*)
[f=0000000] [CrashHandler] Error: [02] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfc90) [0x7f77e7d5dc90] __restore_rt
[f=0000000] [CrashHandler] Error: [03] /build/buildd/glibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56 __GI_raise
[f=0000000] [CrashHandler] Error: [04] /build/buildd/glibc-2.19/stdlib/abort.c:91 __GI_abort
[f=0000000] [CrashHandler] Error: [05] /build/buildd/glibc-2.19/libio/../sysdeps/posix/libc_fatal.c:175 __fsetlocking
[f=0000000] [CrashHandler] Error: <06> /build/buildd/glibc-2.19/malloc/malloc.c:4996 malloc_printerr
[f=0000000] [CrashHandler] Error: [06] /build/buildd/glibc-2.19/malloc/malloc.c:3840 _int_free
[f=0000000] [CrashHandler] Error: [07] .../rts/lib/lua/include/LuaUser.cpp:187 spring_lua_alloc(void*, void*, unsigned long, unsigned long)
[f=0000000] [CrashHandler] Error: [08] .../rts/lib/lua/src/lmem.cpp:81 luaM_realloc_(lua_State*, void*, unsigned long, unsigned long)
[f=0000000] [CrashHandler] Error: [09] .../rts/lib/lua/src/ltable.cpp:378 (discriminator 1) luaH_free(lua_State*, Table*)
[f=0000000] [CrashHandler] Error: [10] .../rts/lib/lua/src/lgc.cpp:383 freeobj
[f=0000000] [CrashHandler] Error: [11] .../rts/lib/lua/src/lgc.cpp:411 sweeplist
[f=0000000] [CrashHandler] Error: [12] .../rts/lib/lua/src/lgc.cpp:488 luaC_freeall(lua_State*)
[f=0000000] [CrashHandler] Error: [13] .../rts/lib/lua/src/lstate.cpp:111 close_state
[f=0000000] [CrashHandler] Error: [14] .../rts/lib/lua/src/lstate.cpp:222 lua_close(lua_State*)
[f=0000000] [CrashHandler] Error: [15] /home/abma/dev/spring/develop/rts/lib/lua/include/LuaInclude.h:233 LUA_CLOSE
[f=0000000] [CrashHandler] Error: [16] /home/abma/dev/spring/develop/rts/Lua/LuaHandle.cpp:127 CLuaHandle::KillLua()
[f=0000000] [CrashHandler] Error: [17] /home/abma/dev/spring/develop/rts/Lua/LuaIntro.cpp:43 (discriminator 4) CLuaIntro::FreeHandler()
[f=0000000] [CrashHandler] Error: [18] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:160 CLoadScreen::~CLoadScreen()
[f=0000000] [CrashHandler] Error: [19] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:183 CLoadScreen::~CLoadScreen()
[f=0000000] [CrashHandler] Error: [20] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:206 CLoadScreen::DeleteInstance()
[f=0000000] [CrashHandler] Error: [21] /home/abma/dev/spring/develop/rts/Game/LoadScreen.cpp:198 CLoadScreen::CreateInstance(std::string const&, std::string const&, ILoadSaveHandler*)
[f=0000000] [CrashHandler] Error: [22] /home/abma/dev/spring/develop/rts/Game/PreGame.cpp:338 (discriminator 3) CPreGame::UpdateClientNet()
[f=0000000] [CrashHandler] Error: [23] /home/abma/dev/spring/develop/rts/Game/PreGame.cpp:174 CPreGame::Update()
[f=0000000] [CrashHandler] Error: [24] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:918 SpringApp::Update()
[f=0000000] [CrashHandler] Error: [25] /home/abma/dev/spring/develop/rts/System/SpringApp.cpp:954 SpringApp::Run()
[f=0000000] [CrashHandler] Error: [26] .../rts/System/Main.cpp:48 Run(int, char**)
[f=0000000] [CrashHandler] Error: [27] .../rts/System/Main.cpp:108 main
[f=0000000] [CrashHandler] Error: [28] /build/buildd/glibc-2.19/csu/libc-start.c:321 __libc_start_main
[f=0000000] [CrashHandler] Error: [29] ./spring() [0x5d64b9] _start

~0014220

abma (administrator)

can't reproduce in development version, instead i get the crash in 0004714
+Notes

-Issue History
Date Modified Username Field Change
2015-03-22 03:48 nsajko New Issue
2015-03-22 03:48 nsajko File Added: gdb.txt
2015-03-22 19:11 nsajko Note Added: 0014210
2015-03-22 20:43 abma Severity block => crash
2015-03-22 20:43 abma Summary freeze => crash at exit
2015-03-22 20:44 abma Note Added: 0014212
2015-03-22 20:44 abma Summary crash at exit => crash at exit in SMFReadMap.cpp:76
2015-03-22 20:45 abma Note Edited: 0014212 View Revisions
2015-03-22 20:48 abma Note Added: 0014213
2015-03-22 23:10 nsajko Note Added: 0014214
2015-03-22 23:10 nsajko File Added: infolog.txt
2015-03-22 23:11 nsajko Note Edited: 0014214 View Revisions
2015-03-22 23:15 nsajko Note Added: 0014215
2015-03-22 23:24 nsajko Note Edited: 0014215 View Revisions
2015-03-22 23:26 nsajko Note Edited: 0014215 View Revisions
2015-03-22 23:53 nsajko File Added: infolog.bak.txt
2015-03-22 23:57 nsajko File Added: infolog-new.txt
2015-03-22 23:59 nsajko Note Edited: 0014214 View Revisions
2015-03-23 17:40 abma Note Added: 0014219
2015-03-23 17:45 abma Note Added: 0014220
2015-03-23 17:45 abma Relationship added duplicate of 0004714
2015-03-23 17:45 abma Status new => resolved
2015-03-23 17:45 abma Resolution open => duplicate
2015-03-23 17:45 abma Assigned To => abma
+Issue History