Jump to content
  • 0
Sign in to follow this  
bWolfie

Map server crash

Question

Hello,

Recently my map server crashed. Hoping somebody can help me from this gdb debug information.
First it said there was an overflow in script, at script_reg_destroy at if( p->value )

Then it crashed with this log on 'bt full'.

https://pastebin.com/q50NEiDD

Share this post


Link to post
Share on other sites

29 answers to this question

Recommended Posts

  • 0

about where it crashed. look like double free for some data allocated in auth code. probably plugins affecting it?

 

Share this post


Link to post
Share on other sites
  • 0

I haven't been able to enable sanitize and test again, but something peculiar happened. I got a few of these messages, then everyone got booted from the map server.

(08/27/2018 12:16:09) [ Error ] : Memory manager: freed-data is changed. (freed in achievement.c line 79)
[Aug/27 12:16:26][Info]: Character 'Some Character' logged off.
[Aug/27 12:16:26][Info]: Character 'Some Character 2' logged off.
[Aug/27 12:16:26][Info]: Character 'Some Character 3' logged off.

I just thought it was weird and maybe too coincidental? No crash, everyone was able to login a few moments later.

Also I have had a few of these floating around:

(08/16/2018 21:08:07) [ Error ] : --- failed assertion --------------------------------------------
(08/16/2018 21:08:07) [ Error ] : achievement.c:727: 'amount != 0' in function `achievement_validate_zeny'
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x62f233]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x408ea3]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x521069]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x50c661]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x46ac9a]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x4ad21f]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x63b1de]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server(main+0x2ca) [0x4083ea]
(08/16/2018 21:08:07) [ Error ] : /lib64/libc.so.6(__libc_start_main+0xf5) [0x7ffff62c3445]
(08/16/2018 21:08:07) [ Error ] : /home/user/Hercules/./map-server() [0x40859b]
(08/16/2018 21:08:07) [ Error ] : --- end failed assertion ----------------------------------------

Using last months release (I believe v2018.07.29+2) with no edits or plugins related to acheivements.

Edited by Myriad

Share this post


Link to post
Share on other sites
  • 0

memory manager show memory corruption. but not show from where and why

this mean better disable memory manager and use gdb

atleast it may be crash if corruption happend and show where it happend

Share this post


Link to post
Share on other sites
  • 0

about assert in achievement it was fixed in hercules already

 

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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