Kong 9 Posted March 30, 2015 (edited) Hi all, I just want to ask about the dump file. Where is the gdb core dump being saved in Hercules? specifically for the map-server. Because I've tried both guides in rAthena https://rathena.org/wiki/GDB and Hercules http://herc.ws/wiki/GDB and nothing worked. Any help would be greatly appreciated. Using debian here, with gdb already installed. I've also set ulimit -u unlimited or ulimit -c 9999999 it now says unlimited when i check. I've also enabled gdb debug already using this command ./configure --enable-debug=gdb --disable-lto Edited March 30, 2015 by Kong Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted March 30, 2015 Generally, it would be saved as name "core" Alternatively, open a new screen(don't turn this screen/session off) on putty, run map-server from command gdb map-serverrunAnd upon crash, the same screen will show crashdump.Then type bt full Then copy all contents and paste 1 Kong reacted to this Quote Share this post Link to post Share on other sites
0 Kong 9 Posted April 13, 2015 Hi @@Dastgir What does this mean? [Error]: make_listen_bind: bind failed (socket #7, error 98: Address already in use)![Thread 0xb77acb70 (LWP 17683) exited] thanks Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted April 13, 2015 Hi @@Dastgir What does this mean? [Error]: make_listen_bind: bind failed (socket #7, error 98: Address already in use)![Thread 0xb77acb70 (LWP 17683) exited]thanksServer is running in background..(The port is been used, thus cannot use that port), majorly caused by the reason server is running or using some common other ports. Quote Share this post Link to post Share on other sites
0 Kong 9 Posted April 14, 2015 @@Dastgir So that means I can't run GDB when my map-server is already running? I need to start it manually using gdb so it can record the crash? Quote Share this post Link to post Share on other sites
Hi all,
I just want to ask about the dump file. Where is the gdb core dump being saved in Hercules? specifically for the map-server.
Because I've tried both guides in rAthena https://rathena.org/wiki/GDB and Hercules http://herc.ws/wiki/GDB
and nothing worked.
Any help would be greatly appreciated. Using debian here, with gdb already installed.
I've also set
it now says unlimited when i check.
I've also enabled gdb debug already using this command
Share this post
Link to post
Share on other sites