Closed Zerkenn closed 3 months ago
I was able to figure out the issue exist within this function. It seems this gets called on pets/minions when you hide the bots and again on logout.
For a temporary fix on my server I just made it so creature->ToTempSummon())->UnSummon() is always called. This stops the segfault on logout.
Thanks for all the work on NPCbots. I hope these details help.
The issue must stay open until main repo receives the changes
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Current behaviour
The world server crashes with a segfault/Assertion Failed when you logout while having a hired bot with a pet and then using the command '.npcbot hide' command.
Expected behaviour
No response
Crashlog
No response
Steps to reproduce the problem
1) Hire a hunter bot or warlock bot and wait for it to summon a pet 2) Hide the bot using .npcbot hide 3) Logout and server will segfault/crash
TrinityCore or AzerothCore
AzerothCore
Core rev. hash/commit
AzerothCore rev. 3d00d05f4972+ 2024-08-09 21:27:36 +0000
Operating system
Debian 12