Jump to content
  • 0
Kong

GDB Dump File

Question

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 by Kong

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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-serverrun
And upon crash, the same screen will show crashdump.

Then type

bt full

Then copy all contents and paste

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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
Server 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.

Share this post


Link to post
Share on other sites
  • 0

@@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?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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