azerothcore-wotlk icon indicating copy to clipboard operation
azerothcore-wotlk copied to clipboard

crash on shutdown

Open Nyeriah opened this issue 1 year ago • 8 comments

Current Behaviour

Server crashes when its about to shutdown

https://gist.github.com/Nyeriah/b7e18c8795dda0ba25a8ec29c6f24ccf

Expected Blizzlike Behaviour

Proccess exit gracefully

Source

N/A

Steps to reproduce the problem

server shutdown 5

Extra Notes

No response

AC rev. hash/commit

https://github.com/azerothcore/azerothcore-wotlk/commit/9dc20bc261eeb7be8289d50117135d80dfa03fa4

Operating system

Ubuntu 22

Custom changes or Modules

Nyeriah avatar Aug 15 '24 21:08 Nyeriah

I'm not able to reproduce the crash in local even with .server shutdown 5. The crash seems occurs during a unloading script, do you have others informations on context ?

ghost avatar Aug 16 '24 05:08 ghost

it also happens on the live server but there it produces a different log https://gist.github.com/Nyeriah/2c1de1814b73a837782d63c641482013

Experienced for the first time on — 04/17/2024 It happens on script unload/destruction, after everything else has been processed, we`ve received no reports of rollbacks

Nyeriah avatar Aug 16 '24 09:08 Nyeriah

what is the version of the live server? (If it hasn't happened before, I guess it must be a recent commit)

ghost avatar Aug 16 '24 10:08 ghost

how to without all modules?

Winfidonarleyan avatar Aug 16 '24 15:08 Winfidonarleyan

I cant check crashlog, but it's a known issue on Linux. Doesnt happen on Windows, there is an open issue for it

Kitzunu avatar Aug 19 '24 18:08 Kitzunu

Need check all listed modules for proper memory release I try shutdown clear core - all okay

Winfidonarleyan avatar Aug 20 '24 06:08 Winfidonarleyan

@Nyeriah any news since #19643 merged? Is the name of a script displayed in logs?

ghost avatar Aug 25 '24 12:08 ghost

It's still crashing (what I find odd as I don't think it was meant to with the try-catch in place) and I don't see the log message being print anywhere

Nyeriah avatar Aug 25 '24 16:08 Nyeriah

Is any module trying to modify/accessing the group while being deleted through OnDestructGroup?

Kitzunu avatar Feb 22 '25 22:02 Kitzunu