Map server crash how to get dump or error log?

Zirius

New member
Messages
261
Points
0
Is there an error log for map server?

My map server is crashing and the console is not saying anything. How do you pinpoint the problem?

Thanks!

i'm on windows platform.

 
Last edited by a moderator:
./configure --enable-debug=gdb
Code:
ulimit -c unlimited
then starting the server. The next time it crashes you will find a file named core.1234 (or whatever number)

Code:
gdb map-server core.xxxx
Code:
bt full
 
If you're using windows, enable dbghelpplug plugin
default_smile.png


How to enable? see this: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC

The .c file is in src/plugins folder

 
if you have gcc 4.8 or gcc 4.9 or some not very old clang, you can use this:

make clean./configure --enable-sanitize --enable-debug=gdb --enable-manager=nomake

After server crash it will show information about what happend on screen. You can copy it and show here.

 
if you have gcc 4.8 or gcc 4.9 or some not very old clang, you can use this:

make clean./configure --enable-sanitize --enable-debug=gdb --enable-manager=nomake

After server crash it will show information about what happend on screen. You can copy it and show here.
For sure I will use this to my live server since it is debian

But for now in my local dev, windows platform, I enabled and compiled via the debug plugin, and is wondering where can I see the dump files it generated?

 
For sanity flags dont need dump.

But if need dump after crash, most time it located in /var/crash/

 
Back
Top