DSGame.exe Crash

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 11:48 am

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.

User avatar
whasf
Site Admin
Posts: 1312
Joined: Thu Jul 19, 2012 9:11 pm

Re: DSGame.exe Crash

Post by whasf » Wed Feb 26, 2014 12:07 pm

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.
-- Whasf

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 12:23 pm

This is where it 'breaks'

DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_MOB);

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: DSGame.exe Crash

Post by kjLotus » Wed Feb 26, 2014 1:04 pm

tagban wrote:This is where it 'breaks'

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

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 1:10 pm

Where do I find that info? Im using VS Express 2013

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: DSGame.exe Crash

Post by kjLotus » Wed Feb 26, 2014 1:17 pm

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

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 1:22 pm

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.

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 1:23 pm

Found Line# setting: 5573 is function line, error occured on Line 5576

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: DSGame.exe Crash

Post by kjLotus » Wed Feb 26, 2014 1:39 pm

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)

User avatar
tagban
Posts: 352
Joined: Fri Dec 28, 2012 11:31 am
Location: Pennsylvania, USA

Re: DSGame.exe Crash

Post by tagban » Wed Feb 26, 2014 2:11 pm

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

Post Reply