Page 1 of 2

DSGame.exe Crash

Posted: Wed Feb 26, 2014 11:48 am
by tagban
DSGame crashes on me, has for since before we switched to GIT, but I did a full re-download and full rebuild and still having the same issue. Here's my log:

Code: Select all

[1;32m[Status][0m Memory manager initialised: [1;37mlog/DSP.leaks[0m
[1;37m[Info][0m DarkStar - Git Revision Hash: [1;37m4fce36480f7e1a6e8199a90afe21bb1dfa5ef1ad[0m.
[1;32m[Status][0m do_init: begin server initialization...
[11:45:19][1;37m[Info][0m Console Silent Setting: 0 			 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: map_config is reading 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m luautils::init:lua initializing... 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: sqlhandle is allocating 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: zlib is reading 			 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: loading items 			 - [1;32m[OK][0m
[11:45:20][1;32m[Status][0m do_init: loading spells 			 - [1;32m[OK][0m
[11:45:21][1;32m[Status][0m do_init: loading zones[11:46:12][1;36m[Debug][0m [1;36mUpdateWeather Finished
[0m 			 - [1;32m[OK][0m
I know its getting pretty far into it, I tried completely resetting my settings files pretty well. And still doing it, Could use some guidance.

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 12:07 pm
by whasf
tagban wrote:DSGame crashes on me, has for since before we switched to GIT, but I did a full re-download and full rebuild and still having the same issue. Here's my log:

Code: Select all

[1;32m[Status][0m Memory manager initialised: [1;37mlog/DSP.leaks[0m
[1;37m[Info][0m DarkStar - Git Revision Hash: [1;37m4fce36480f7e1a6e8199a90afe21bb1dfa5ef1ad[0m.
[1;32m[Status][0m do_init: begin server initialization...
[11:45:19][1;37m[Info][0m Console Silent Setting: 0 			 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: map_config is reading 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m luautils::init:lua initializing... 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: sqlhandle is allocating 		 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: zlib is reading 			 - [1;32m[OK][0m
[11:45:19][1;32m[Status][0m do_init: loading items 			 - [1;32m[OK][0m
[11:45:20][1;32m[Status][0m do_init: loading spells 			 - [1;32m[OK][0m
[11:45:21][1;32m[Status][0m do_init: loading zones[11:46:12][1;36m[Debug][0m [1;36mUpdateWeather Finished
[0m 			 - [1;32m[OK][0m
Run it inside Visual Studio and see where it crashes
I know its getting pretty far into it, I tried completely resetting my settings files pretty well. And still doing it, Could use some guidance.

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 12:23 pm
by tagban
This is where it 'breaks'

DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_MOB);

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:04 pm
by kjLotus
tagban wrote:This is where it 'breaks'

DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_MOB);
function/file/line number

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:10 pm
by tagban
Where do I find that info? Im using VS Express 2013

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:17 pm
by kjLotus
file name should be the tab at the top (ends in .cpp, even though i'm 99% sure it's lua_baseentity.cpp) , function name is probably like 2 lines up from where it broke (the one with no indent, probably starts with int32). line numbers are off by default (no idea why) and you can turn them on in the settings somewhere (editor? i forget). probably only need 1 of function name or line number though

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:22 pm
by tagban
File: lua_baseentity.cpp // Function: CLuaBaseEntity::changeSkin(lua_state *L)
DSGame-Server.exe!CLuaBaseEntity::changeSkin(lua_State *L) Line 5576
DSGame-Server!Lunar<CLuaBaseEntity>::thunk(lua_State * L) Line 173

The two lines were in an area called "Call Stack" that might help.

Still looking for "Line #'s setting, but will do my best to find it.

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:23 pm
by tagban
Found Line# setting: 5573 is function line, error occured on Line 5576

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 1:39 pm
by kjLotus
if you can mouse over the "m_PBaseEntity" and check the id that would help (i'm not 100% familiar myself with what mobs use changeskin)

Re: DSGame.exe Crash

Posted: Wed Feb 26, 2014 2:11 pm
by tagban
It says at the bottom: 0x06a8ad58 {m_PBaseEntity=0x05ef2688 (unknown=27 name_prefix=32''}}

This is under "Value".

If I mouse over PBaseEntity, it shows the 0x05ef2688