cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 47 forks source link

🐛 [Bug Report] Random Crash #3764

Closed d3athbl0w closed 1 month ago

d3athbl0w commented 2 months ago

Bug Details

I haven't been able to figure out exactly where it crashes, it's usually when users are in dungeons.

Steps to Reproduce

1. 2. 3. 4.

Expected behavior

No response

Suggested Workaround

No response

Crash Log

crash.txt

Core SHA1 Commit Hash

8397e7ba4ddce8d2fcea677e4521400595f63ed2

Database SHA1 Commit Hash

21871f15cc3d4809409dce42e601aaea1ca10a07

Operating System

Debian 11 and 12

Client Version

2.4.3 (The Burning Crusade)

cpevors commented 2 months ago

It appears to be some sort of segmentation fault that occurs at a section in the code where it attempts to update all world objects.

   // update all objects
    for (auto wObj : objToUpdate)
    {
        wObj->Update(t_diff);
        ++count;
    }

I haven't been able to produce this crash at all. Can you give me some idea which dungeon(s) are more likely to trip this crash?

d3athbl0w commented 2 months ago

It appears to be some sort of segmentation fault that occurs at a section in the code where it attempts to update all world objects.

   // update all objects
    for (auto wObj : objToUpdate)
    {
        wObj->Update(t_diff);
        ++count;
    }

I haven't been able to produce this crash at all. Can you give me some idea which dungeon(s) are more likely to trip this crash?

This is extremely rare, we did the same procedure again and it didn't happen

https://streamable.com/zpgbl5

Arnibou commented 1 month ago

Same , even if nobody in game (starting world)

mostlikely4r commented 1 month ago

https://github.com/cmangos/mangos-tbc/pull/699

Maybe related. Pr is to fix a crash in the same location.

d3athbl0w commented 1 month ago

Thanks @mostlikely4r crash solved! <3