azerothcore / azerothcore-wotlk

Complete Open Source and Modular solution for MMO
http://www.azerothcore.org
GNU Affero General Public License v3.0
6.56k stars 2.63k forks source link

Server frozen after "Delete GameObject ... Crash possible later." #5838

Closed FrancescoBorzi closed 1 year ago

FrancescoBorzi commented 3 years ago

CURRENT BEHAVIOUR:

The server has frozen with the following:

Delete GameObject (GUID Full: 0xf110007458002a17 Type: Gameobject Entry: 29784  Low: 10775 Entry: 29784 SpellId 818 LinkedGO 31442) that lost references to owner GUID Full: 0x00000000000058fd Type: Player Low: 22781 GO list. Crash possible later.
Delete GameObject (GUID Full: 0xf110007458002986 Type: Gameobject Entry: 29784  Low: 10630 Entry: 29784 SpellId 818 LinkedGO 31442) that lost references to owner GUID Full: 0x0000000000007800 Type: Player Low: 30720 GO list. Crash possible later.
Delete GameObject (GUID Full: 0xf1100074580027e9 Type: Gameobject Entry: 29784  Low: 10217 Entry: 29784 SpellId 818 LinkedGO 31442) that lost references to owner GUID Full: 0x0000000000007800 Type: Player Low: 30720 GO list. Crash possible later.
5239968.904518 [Thread 0x7fff99dfe700 (LWP 29291) exited]Delete GameObject (GUID Full: 0xf11002ace80020ac Type: Gameobject Entry: 175336  Low: 8364 Entry: 175336 SpellId 16072 LinkedGO 0) that lost references to owner GUID Full: 0x000000000000735d Type: Player Low: 29533 GO l                                                   "chromiegame" 08:29 14-May-21ist. Crash possible later.
Delete GameObject (GUID Full: 0xf1100074580020e0 Type: Gameobject Entry: 29784  Low: 8416 Entry: 29784 SpellId 818 LinkedGO 31442) that lost references to owner GUID Full: 0x0000000000006c56 Type: Player Low: 27734 GO list. Crash possible later.

restarting the server fixed the issue but this should not happen.

SOURCE:

STEPS TO REPRODUCE THE PROBLEM:

Unable to reproduce, needs investigation

AC HASH/COMMIT:

8dd58ebb5bea ##### OPERATING SYSTEM: Ubuntu 20.04 ##### MODULES: - [mod-cfbg](https://github.com/azerothcore/mod-cfbg) - [mod-duel-reset](https://github.com/azerothcore/mod-duel-reset) - [mod-desertion-warnings](https://github.com/azerothcore/mod-desertion-warnings) - [mod-ah-bot](https://github.com/azerothcore/mod-ah-bot) - [mod-eluna-lua-engine](https://github.com/azerothcore/mod-eluna-lua-engine) - [mod-server-auto-shutdown](https://github.com/azerothcore/mod-server-auto-shutdown) - [lua-LevelUpReward](https://github.com/55Honey/Acore_LevelUpReward) - [lua-CarbonCopy](https://github.com/55Honey/Acore_CarbonCopy) - [mod-pvp-titles](https://github.com/azerothcore/mod-pvp-titles) ##### OTHER CUSTOMIZATIONS: None. --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/98478387-server-frozen-after-delete-gameobject-crash-possible-later?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F40032087&utm_medium=issues&utm_source=github).
Kitzunu commented 3 years ago

Just frozen or do you get a crashlog?

FrancescoBorzi commented 3 years ago

no crashlog, just frozen

Kitzunu commented 2 years ago

@FrancescoBorzi Has this occurred anymore?

I have not seen any other reports or mentions about this.

FrancescoBorzi commented 2 years ago

not that I'm aware of, cc @Nyeriah

Kitzunu commented 2 years ago

In that case I think we can close this until we can get more info or it happens again

LannyE commented 2 years ago

FYI: I get this error whenever I put down and use a campfire (GO) to cook food then either log off or restart the server.

Kitzunu commented 2 years ago

@FrancescoBorzi @LannyE enable https://github.com/azerothcore/azerothcore-wotlk/blob/87f76587d808245b6ebab91f9c6be35898bab8a5/src/server/worldserver/worldserver.conf.dist#L457 to force crash if frozen. That way we can debug it

Nyeriah commented 2 years ago

@Kitzunu we have the freezedetector enabled, but honestly I have not seen such freeze ever. Maybe it got fixed with the trap rewrite.

LannyE commented 2 years ago

My server doesn't crash or freeze it just puts out this error after I deploy a basic campfire to cook food. The error pops up in the console for each campfire I had deployed during my session whenever I log out or restart the server. It does not repeat after subsequent log outs. It only errors once per campfire I had deployed.

This image is when I deployed two campfires and then logged out a little while later. This was last night. Using AzerothCore rev. cfb171efda7e 2022-02-05 16:32:25 -0500 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon).
image

Nyeriah commented 2 years ago

I haven’t checked but this error sounds bogus to me. The player spawns the bonfire and the reference is lost once they relog that is totally expected and completely fine

LannyE commented 2 years ago

I agree, so far I haven't seen any negative issues spawn from it but I have just only noticed it lately since I don't normally use campfires.

Nyeriah commented 1 year ago

No words about this for a long time, closing as it's been a year without issues