Jump to content
  • 0
Sign in to follow this  
Zirius

Map server crash how to get dump or error log?

Question

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.

Edited by Zirius

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

./configure --enable-debug=gdb 
ulimit -c unlimited 

 

then starting the server. The next time it crashes you will find a file named core.1234 (or whatever number)

 

gdb map-server core.xxxx 
bt full 

Share this post


Link to post
Share on other sites
  • 0

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.

 

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

For sanity flags dont need dump.

 

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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.