Zirius 1 Posted October 27, 2014 (edited) 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 October 27, 2014 by Zirius Quote Share this post Link to post Share on other sites
0 Ridley 295 Posted October 27, 2014 ./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 Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted October 28, 2014 If you're using windows, enable dbghelpplug plugin How to enable? see this: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC The .c file is in src/plugins folder Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted December 2, 2014 (edited) If you're using windows, enable dbghelpplug plugin How to enable? see this: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC The .c file is in src/plugins folder Where are the DUMP files generated? Edited December 2, 2014 by Zirius Quote Share this post Link to post Share on other sites
0 4144 366 Posted December 2, 2014 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. Quote Share this post Link to post Share on other sites
0 Zirius 1 Posted December 2, 2014 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? Quote Share this post Link to post Share on other sites
0 4144 366 Posted December 2, 2014 For sanity flags dont need dump. But if need dump after crash, most time it located in /var/crash/ Quote Share this post Link to post Share on other sites
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 ZiriusShare this post
Link to post
Share on other sites