bWolfie 138 Posted August 16, 2018 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 Quote Share this post Link to post Share on other sites
0 4144 364 Posted August 26, 2018 about where it crashed. look like double free for some data allocated in auth code. probably plugins affecting it? Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted August 27, 2018 (edited) 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 August 27, 2018 by Myriad Quote Share this post Link to post Share on other sites
0 4144 364 Posted August 27, 2018 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 Quote Share this post Link to post Share on other sites
0 4144 364 Posted August 27, 2018 about assert in achievement it was fixed in hercules already Quote Share this post Link to post Share on other sites
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