trickerer / Trinity-Bots

NPCBots for TrinityCore and AzerothCore 3.3.5
https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/
473 stars 157 forks source link

[TC] [Crash] [Core] Segmentation fault in worldserver when using WanderingBots #931

Open TixanSin opened 4 hours ago

TixanSin commented 4 hours ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Current behaviour

After updating to the newest TC + NPC Bots version from 2024-11-15 21:21:48, worldserver crashes ( Segmentation fault ) seconds after it begings to spawn wandering bots. If I disable the wandering bots, the server seems to run stable.

I am getting this error during startup, but I believe that this was also the case with the last version. Sounds like that error may be related with the crash...

Setting up wander map... No valid Neutral spawn node for at least level 60 on non-continent map 30. No valid Neutral spawn node for at least level 60 on non-continent map 489. No valid Neutral spawn node for at least level 60 on non-continent map 529. No valid Neutral spawn node for at least level 60 on non-continent map 566.

Expected behaviour

No crash

Crashlog

https://gist.github.com/TixanSin/7e582630418de89bdeef4cb99b654772

Steps to reproduce the problem

Use Wandering Bots and run server. NpcBot.WanderingBots.Continents.Count = 200 worldserver crashes after a few bots were created.

TrinityCore or AzerothCore

TrinityCore

Core rev. hash/commit

TrinityCore rev. 53a2ee4587d7 2024-11-15 21:21:48 +0000 (npcbots_3.3.5 branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon) ready...

Operating system

Debian 12

DykeRz commented 3 hours ago

give us your Server.log

trickerer commented 2 hours ago

I am getting this error during startup, but I believe that this was also the case with the last version. Sounds like that error may be related with the crash...

Setting up wander map... No valid Neutral spawn node for at least level 60 on non-continent map 30. No valid Neutral spawn node for at least level 60 on non-continent map 489. No valid Neutral spawn node for at least level 60 on non-continent map 529. No valid Neutral spawn node for at least level 60 on non-continent map 566.

This isn't an error and isn't related to the crash. Crashlog indicates tha bot data was not found for some reason during a chained spawn of a bot triggered by a wandering bot spawning and loading the grid.

TixanSin commented 1 hour ago

Here is the Server.log