ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
194 stars 93 forks source link

Bots crash instanced zones #104

Closed thepopdog closed 1 year ago

thepopdog commented 1 year ago

I entered the Deadmines with a team of bots. 2-3 minutes later the entire server crashes with a segmentation fault. There was no error output otherwise and nothing showed in the logs. I did this multiple times with the same result.

ZhengPeiRu21 commented 1 year ago

Thank you for the reporting. If you are able to share a crash dump from the server's Crashes folder, that would be helpful.

thepopdog commented 1 year ago

I cannot find a Crashes directory or any dump files. Do I need to recompile as debug for that output?

htc16 commented 1 year ago

I cannot find a Crashes directory or any dump files. Do I need to recompile as debug for that output?

Please follow this tutorial to learn how to use the AC debugger.

Link: https://www.azerothcore.org/wiki/how-to-restart-and-debug

thepopdog commented 1 year ago

Found some time to recompile, etc. Here's the dump, or the closest thing to one.

gdb.txt

ZhengPeiRu21 commented 1 year ago

Thank you for the debug log! That makes it very easy to fix. Crash is fixed in https://github.com/ZhengPeiRu21/mod-playerbots/commit/5cfac7bf71589317abc75c8d61b5eed46ceb1127.

thepopdog commented 1 year ago

Glad I could help!