View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004013 | Spring engine | General | public | 2013-09-21 12:05 | 2013-09-23 03:24 |
| Reporter | cleanrock | Assigned To | jK | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 94.1.1+git | ||||
| Summary | 0004013: crash in CLuaHandle::CollectGarbage | ||||
| Description | Spring 94.1.1-1178-gcc53afa develop Using game: Zero-K test-11447 Note that this is a RelWithDebInfo build, in a Debug build i am pretty sure asserts will stop spring before this, see : http://springrts.com/mantis/view.php?id=4008#c11640 http://springrts.com/mantis/view.php?id=4012 infolog attached. | ||||
| Steps To Reproduce | On Tempest: /give all 1 /give all | ||||
| Additional Information | (gdb) bt full #0 0x00007ffff39b73d9 in raise () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007ffff39b87d8 in abort () from /usr/lib/libc.so.6 No symbol table info available. #2 0x00007ffff39f4ed4 in __libc_message () from /usr/lib/libc.so.6 No symbol table info available. 0000003 0x00007ffff39fa69e in malloc_printerr () from /usr/lib/libc.so.6 No symbol table info available. 0000004 0x00007ffff39fe35a in realloc () from /usr/lib/libc.so.6 No symbol table info available. 0000005 0x0000000000a2bc1e in luaM_realloc_ (L=L@entry=0x7fff9a080330, block=block@entry=0x7fff9194e910, osize=3680, nsize=nsize@entry=1936) at /home/johanr/my_projects/spring/rts/lib/lua/src/lmem.cpp:81 g = 0x7fff9a0803e8 #6 0x0000000000a273e9 in luaD_reallocstack (L=L@entry=0x7fff9a080330, newsize=115) at /home/johanr/my_projects/spring/rts/lib/lua/src/ldo.cpp:145 oldstack = 0x7fff9194e910 realsize = 121 #7 0x0000000000a29492 in checkstacksizes (max=<optimized out>, L=0x7fff9a080330) at /home/johanr/my_projects/spring/rts/lib/lua/src/lgc.cpp:251 ci_used = <optimized out> s_used = <optimized out> #8 traversestack (l=0x7fff9a080330, g=0x7fff9a0803e8) at /home/johanr/my_projects/spring/rts/lib/lua/src/lgc.cpp:269 o = <optimized out> lim = <optimized out> ci = <optimized out> #9 propagatemark (g=0x7fff9a0803e8) at /home/johanr/my_projects/spring/rts/lib/lua/src/lgc.cpp:303 th = 0x7fff9a080330 o = 0x7fff9a080330 0000010 0x0000000000a299ed in singlestep (L=L@entry=0x7fff9a080330) at /home/johanr/my_projects/spring/rts/lib/lua/src/lgc.cpp:566 g = <optimized out> #11 0x0000000000a29e1d in luaC_step (L=L@entry=0x7fff9a080330) at /home/johanr/my_projects/spring/rts/lib/lua/src/lgc.cpp:617 g = 0x7fff9a0803e8 lim = 1728 0000012 0x0000000000a220b8 in lua_gc (L=L@entry=0x7fff9a080330, what=what@entry=5, data=data@entry=2) at /home/johanr/my_projects/spring/rts/lib/lua/src/lapi.cpp:945 a = 2048 res = 0 g = 0x7fff9a0803e8 0000013 0x0000000000588e4c in CLuaHandle::CollectGarbage (this=<optimized out>) at /home/johanr/my_projects/spring/rts/Lua/LuaHandle.cpp:2950 memUsageInMB = <optimized out> TIME_PER_MB = 0.026377432 maxRuntime = 1.00234234 L = 0x7fff9a080330 endTime = {static binder = {class_ = 0x11abf50, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x10c87d0 <spring_time::memberRegistrator>, name = 0xd01a9c "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0x92f7d0 <spring_time::_ConstructInstance(void*)>, destructor = 0x92f7e0 <spring_time::_DestructInstance(void*)>, nextBinder = 0x10c86a0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x10c87d8 <spring_timemreg>, static hasVTable = false, x = 71816121917333} 0000014 0x000000000090e1cd in CEventHandler::CollectGarbage (this=0x10c5520 <eventHandler>) at /home/johanr/my_projects/spring/rts/System/EventHandler.cpp:280 ec = 0x7fff9a07fea0 i = 0 #15 0x000000000046c92e in operator() (__closure=<optimized out>) at /home/johanr/my_projects/spring/rts/Game/Game.cpp:280 myScopedTimerFromMakro = {<BasicTimer> = {<boost::noncopyable_::noncopyable> = {<No data fields>}, hash = 1405, starttime = {static binder = {class_ = 0x11abf50, base = 0x0, flags = creg::CF_None, memberRegistrator = 0x10c87d0 <spring_time::memberRegistrator>, name = 0xd01a9c "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = 0x92f7d0 <spring_time::_ConstructInstance(void*)>, destructor = 0x92f7e0 <spring_time::_DestructInstance(void*)>, nextBinder = 0x10c86a0 <CRectangleOptimizer::binder>}, static memberRegistrator = 0x10c87d8 <spring_timemreg>, static hasVTable = false, x = 71816120913794}, nameIterator = {first = 1405, second = "CollectGarbage"}}, autoShowGraph = false, it = {first = 1405, second = 1}} #16 std::_Function_handler<bool (), doOnce290::doOnce290()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8.1/functional:2057 No locals. #17 0x000000000046aa20 in operator() (this=0x37b686e8) at /usr/include/c++/4.8.1/functional:2468 No locals. #18 Update () at /home/johanr/my_projects/spring/rts/Game/Game.cpp:263 j = 0x37b686e8 it = {first = {static binder = {class_ = , base = , flags = creg::CF_None, memberRegistrator = <spring_time::memberRegistrator>, name = "spring_time", size = 8, alignment = 8, hasVTable = false, constructor = <spring_time::_ConstructInstance(void*)>, destructor = <spring_time::_DestructInstance(void*)>, nextBinder = <CRectangleOptimizer::binder>}, static memberRegistrator = <spring_timemreg>, static hasVTable = false, x = 71816112786212}, second = { f = {<std::_Maybe_unary_or_binary_function<bool>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = { _M_unused = {_M_object = , _M_const_object = , _M_function_pointer = , _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x371de6d0, this adjustment 17608224}, _M_pod_data = "\320\346\035\067\000\000\000\000 \256\f\001\000\000\000"}, _M_manager = <std::_Function_base::_Base_manager<doOnce290::doOnce290()::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Function_base::_Base_manager<doOnce290::doOnce290()::{lambda()#1}> const&, std::_Manager_operation)>}, _M_invoker = <std::_Function_handler<bool (), doOnce290::doOnce290()::{lambda()#1}>::_M_invoke(std::_Any_data const&)>}, freq = 30, startDirect = true, catchUp = false}} #19 CGame::Update (this=0x2305f50) at /home/johanr/my_projects/spring/rts/Game/Game.cpp:929 timeNow = <optimized out> diffsecs = <optimized out> 0000020 0x0000000000946472 in Threading::UpdateGameController (ac=0x2305f50) at /home/johanr/my_projects/spring/rts/System/Platform/Threading.cpp:348 ret = false #21 0x000000000094cd28 in SpringApp::Update (this=this@entry=0x7fffffffe660) at /home/johanr/my_projects/spring/rts/System/SpringApp.cpp:967 ret = 1 #22 0x00000000009518da in SpringApp::Run (this=this@entry=0x7fffffffe660, argc=argc@entry=1, argv=argv@entry=0x7fffffffe8c8) at /home/johanr/my_projects/spring/rts/System/SpringApp.cpp:1055 No locals. #23 0x000000000092b8b5 in Run (argc=1, argv=0x7fffffffe8c8) at /home/johanr/my_projects/spring/rts/System/Main.cpp:64 app = {cmdline = 0x1197dd0, binaryName = "/home/johanr/spring_develop/bin/spring"} ret = -1 err = <optimized out> 0000024 0x00007ffff39a3bc5 in __libc_start_main () from /usr/lib/libc.so.6 No symbol table info available. #25 0x000000000043ad39 in _start () No symbol table info available. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-09-21 12:05 | cleanrock | New Issue | |
| 2013-09-21 12:05 | cleanrock | File Added: infolog.txt | |
| 2013-09-21 20:00 | jK | Changeset attached | => spring develop 5c25e2c5 |
| 2013-09-21 20:00 | jK | Assigned To | => jK |
| 2013-09-21 20:00 | jK | Status | new => resolved |
| 2013-09-21 20:00 | jK | Resolution | open => fixed |
| 2013-09-23 03:24 | jK | Relationship added | duplicate of 0004008 |