Jump to content

Group::RemoveAllInvites


Guest johnholiver

Recommended Posts

I'm having several crashes a day because of this method and reading the code from HandleGroupLeaveOpcode til the RemoveAllInvites i came to some conclusions that might help solving this problem.

I did this topic to discuss the matter, to see if there is some sense on what i think it is.

- RemoveAllInvites has little relation with all the code that comes before it, the variables used (m_invitees) seem to be untouched until this call.

- m_invitees is a list of Player* only.

- Player::SetGroupInvite(NULL) just modify Player.m_groupInvite variable setting it to NULL.

So my (weak) conclusion is that, been as simples as this call is, the problem might be with one Player* on m_invitees... for example, what happens with the player doesn't exist anymore for some reason? (Player* now points to somewhere that is no longer a player) And i think that would justify an ACCESS_VIOLATION.

Maybe the destruction of a Player (logging out, rejecting party, i dunno) in somewhere isn't removing him from Group.m_invitees.

Anyways, if i'm right on my conclusions then a check to guarantee that itr* has a good and nice player* would solve this? My opinion is that it would, but i would like to listen to other devs their opinion.

Thanks for reading til here... below i quoted free-back that reported that crash (again, 2 or 3 times others had reported before) and his crash dump.

rev 7092 + sd2 844 + udb 366
Revision: 2009-01-16 07:53:29 7092 b88bfbdcefbe457b28af34d5f750a148d7155807

Date 17:1:2009. Time 12:14

//=====================================================

*** Hardware ***

Processor: Intel® Xeon MP CPU 2.80GHz

Number Of Processors: 4

Physical Memory: 3144628 KB (Available: 1656008 KB)

Commit Charge Limit: 4194303 KB

*** Operation System ***

Microsoft Windows Server 2003 Enterprise Edition Service Pack 2 (Version 5.2, Build 3790)

//=====================================================

Exception code: C0000005 ACCESS_VIOLATION

Fault address: 0048CF6E 01:0008BF6E I:\\servers\\wowserv\\Mangos\\mangosd.exe

Registers:

EAX:3B7255E0

EBX:08947C08

ECX:34FADB14

EDX:3B7255E0

ESI:00000000

EDI:00000000

CS:EIP:001B:0048CF6E

SS:ESP:0023:0FF3F75C EBP:0FF3F794

DS:0023 ES:0023 FS:003B GS:0000

Flags:00010216

Call stack:

Address Frame Function SourceFile

0048CF6E 00000000 Group::RemoveAllInvites+7E

0048DAB9 00000000 Group::Disband+289

0048D5D6 00000000 Group::RemoveMember+356

004C0383 00000000 Player::RemoveFromGroup+23

0070864C 00000000 WorldSession::HandleGroupLeaveOpcode+11C

Link to comment
Share on other sites

×
×
  • 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