pioneerspacesim/pioneer — Issue #673: crashing, odd behaviour when saving and loading in Epsilon Eridani
Author: matthewfarmery
Created: 2011-10-17 20:31:19+00:00
State: open

while I no longer get the tradeship bug #513, saving, loading and resuming time in the Epsilon Eridani has different effects

with the debug build I get outright crashes, info below, PS using latest files from master and in debug mode

--------------------------

LuaPlayer.cpp
pioneer-msvc-9.0_debug.exe!promotion_test(DeleteEmitter * o=0x10f98228) Line 513 + 0x17 bytes	C++

LuaObject.cpp
pioneer-msvc-9.0_debug.exe!LuaObjectBase::Push(LuaObjectBase * lo=0x1193c808, bool wantdelete=false) Line 408 + 0x16 bytes	C++

LuaObject.h
pioneer-msvc-9.0_debug.exe!LuaObject::PushToLua(Ship * o=0x10f98228) Line 228 + 0x4a bytes	C++

LuaEventQueue.h
pioneer-msvc-9.0_debug.exe!LuaEventQueue::PrepareLuaStack(lua_State * l=0x02ae2058, const LuaEventBase * eb=0x0db297e0) Line 92 + 0xc bytes	C++

LuaEventqueue.cpp
pioneer-msvc-9.0_debug.exe!LuaEventQueueBase::Emit() Line 100 + 0x17 bytes	C++

Space.cpp
pioneer-msvc-9.0_debug.exe!Space::TimeStep(float step=0.016666668) Line 578	C++

Pi.cpp
pioneer-msvc-9.0_debug.exe!Pi::MainLoop() Line 1292 + 0xf bytes	C++

Pi.cpp
pioneer-msvc-9.0_debug.exe!Pi::Start() Line 1139	C++

main.cpp
pioneer-msvc-9.0_debug.exe!SDL_main(int argc=1, char * * __formal=0x0024f790) Line 18 + 0x5 bytes	C++

-------------------------------------

one more thing that adds to the oddness, in prelease and release build mode in MSVC, if I save and load then resume time with those builds, the game takes me to hypersapce, but once its over, the ship crashes into something and game over, Epsilon Eridani has been a very buggy system to trade or start or save and load in, first the tradeship bug that plagued this system, now this, I honestly hope one day this system will be bug free at some point