[SOLVED]Server crash at loading zones

Post Reply
thyris
Posts: 15
Joined: Wed Mar 25, 2015 2:02 am

[SOLVED]Server crash at loading zones

Post by thyris » Thu Mar 26, 2015 6:28 am

Not much info in the log about this error, but when I reach loading zones in the DSGame-server.exe it shows loading zones for about 30 seconds or so then crashes.

Here's what my log says:

Code: Select all

[0m[04:10:17][1;32m[Status][0m do_init: loading zones[1;32m[Status][0m Memory manager initialised: [1;37mlog/DSP.leaks[0m
[1;37m[Info][0m DarkStar - Git Revision Hash: [1;37mUnknown[0m.
[1;32m[Status][0m do_init: begin server initialization...
[04:19:18][1;37m[Info][0m Console Silent Setting: 0 			 - [1;32m[OK][0m
[04:19:18][1;32m[Status][0m do_init: map_config is reading 		 - [1;32m[OK][0m
[04:19:18][1;32m[Status][0m luautils::init:lua initializing... 		 - [1;32m[OK][0m
[04:19:18][1;32m[Status][0m do_init: sqlhandle is allocating 		 - [1;32m[OK][0m
[04:19:18][1;32m[Status][0m do_init: zlib is reading 			 - [1;32m[OK][0m
[04:19:18][1;32m[Status][0m do_init: loading items 			 - [1;32m[OK][0m
[04:19:19][1;32m[Status][0m do_init: loading spells 			 - [1;32m[OK][0m
[04:19:19][1;36m[Debug][0m [1;36mUpdateGuildPointsPattern is finished. New pattern: 6
[0m[04:19:21][1;32m[Status][0m do_init: loading zones
I just downloaded and installed all files today according to this page:
https://wiki.dspt.info/index.php/Building_the_Server

I have tried recompiling the binaries, I've also tried updating the tables again as I saw mentioned in several other threads with similar issues, but there were no solutions provided in them that worked.

Running the server on Windows 8.1

UPDATE:
For those wondering, I turned on the harvest festival in the settings lua, apparently this breaks the server :)
Last edited by thyris on Thu Mar 26, 2015 5:37 pm, edited 1 time in total.

thyris
Posts: 15
Joined: Wed Mar 25, 2015 2:02 am

Re: Server crash at loading zones

Post by thyris » Thu Mar 26, 2015 6:47 am

Here's the output from Visual Studio's debugging:

Code: Select all

'DSGame-server.exe' (Win32): Loaded 'C:\darkstar\DSGame-server.exe'. Symbols loaded.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\darkstar\libmariadb.dll'. Module was built without symbols.
'DSGame-server.exe' (Win32): Loaded 'C:\darkstar\lua51.dll'. Module was built without symbols.
'DSGame-server.exe' (Win32): Loaded 'C:\darkstar\libzmq-d.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\NapiNSP.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\pnrpnsp.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nlaapi.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winrnr.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wshbth.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Program Files (x86)\Bonjour\mdnsNSP.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'. Cannot find or open the PDB file.
'DSGame-server.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE770.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE770.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE770.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE770.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE770.
First-chance exception at 0x74E12F71 in DSGame-server.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00FDE64C.
The thread 0x72f8 has exited with code 0 (0x0).
The thread 0x8e70 has exited with code 0 (0x0).
DSGame-server.exe has triggered a breakpoint.
and here's the first breakpoint highlighted by Visual Studio:

Code: Select all

inline int32 CLuaBaseEntity::changeSkin(lua_State *L)
{
    DSP_DEBUG_BREAK_IF(m_PBaseEntity == nullptr);
    DSP_DEBUG_BREAK_IF(m_PBaseEntity->objtype != TYPE_MOB);

User avatar
demolish
Developer
Posts: 262
Joined: Thu Jul 26, 2012 7:12 am

Re: Server crash at loading zones

Post by demolish » Thu Mar 26, 2015 12:24 pm

<Giblet[NewBrain]> kj with this first step would be fine on my shit
Click here for a guide on scripting missions.

thyris
Posts: 15
Joined: Wed Mar 25, 2015 2:02 am

Re: Server crash at loading zones

Post by thyris » Thu Mar 26, 2015 3:44 pm

haha okay, on it :P I haven't made the dump yet, I started another process in VS that was still running when I went to bed.

I also thought perhaps the problem could be solved by someone who has experienced the same issue ~without~ uploading 137 megs of data, in a time where bandwidth is no longer free and upload speeds are at record lows since dialup from some ISPs, also troubleshooting usually isn't that complicated for ANY program.
Stick the dmp, exe, pdb, and log\map-server.log in a 7z archive and post a link to the dump in a new issue on github.


Heh, the article on the wiki needs to come a little more specific than that. git is pretty new tech to me, I was a stubborn supporter of SVN. I'll do what I -think- it means, and hope that's right, but not everyone you talk to is going to be as tech savvy as I am and will be completely mystified by most of that wiki article you just linked as if it holds information for someone who has a problem with their very first run of this software, as I had stated. :P

Also, where does one go to store such a large file to be accessed by the whole web for free, and quickly? I guess I'll just attach it to a post in here and link that? *shrug*

These are the results that can be expected from severely incomplete information used as a reply to an already well formed bug report, and these questions should be addressed in the links provided by those offering assistance. ^_^

thyris
Posts: 15
Joined: Wed Mar 25, 2015 2:02 am

Re: Server crash at loading zones

Post by thyris » Thu Mar 26, 2015 4:11 pm

here's the file, linking on the github. Or so I thought, apparently the upload size mazimum for the board is 20 megs.

Luckily I figured out how to send the file, but it was rather complicated, so this wiki page and type of response is not exactly an appropriate response to someone asking for help who may be a bit less knowledgeable than myself. Perhaps some step by step instructions would be useful?

Since I can't attach to the forum, I'll use google drive.

https://drive.google.com/file/d/0B1lzkN ... sp=sharing

File dump and log uploaded here, for anyone interested in taking a look at it.

One other note, I had the server up and running initially with the very first install, it allowed me to create an account, and a character, then failed on logging into the character and loading the world. Then it began crashing at the loading zone step. Character creation is handled by the login server, I guess?

Also I modified the XP rates, and allowed expansions and uncommented their bytes in the map server .conf file.
Last edited by thyris on Thu Mar 26, 2015 4:18 pm, edited 2 times in total.

thyris
Posts: 15
Joined: Wed Mar 25, 2015 2:02 am

Re: Server crash at loading zones

Post by thyris » Thu Mar 26, 2015 4:15 pm

wow, I had no idea the response time would be so swift on github, I can see why you guys like it. Apparently I'm just old and didn't realize how quickly you can get support through github, ignore my complaints :P

Post Reply