Jump to content

[Crash] VisitorHelper<MaNGOS::ObjectUpdater, Creature>


Guest Woweur
 Share

Recommended Posts

Hi, i have a crash every ~15 hours, but i dont understand how this crash can happen, because it's an illogic error. MaNGOS crash when line "iter->getSource()->Update(i_timeDiff);" is call, but pointer for iter->GetSource() is valid ( i have add one line for check is pointer is ok : "if(iter->getSource() && iter->getSource()->IsInWorld())" before my error). I can see only one solution to my crash : the pointer of creature is delete, but it's impossible because i have'nt mtmaps or other multi-thread ...

It's possible to check if pointer is delete or not ? You can see another problem in this code ?

Thanks you for your helps.

Link for a crashlog : http://paste2.org/p/443870

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use