[Crash] Guild::HandleRoster #260

Closed
click opened this Issue May 16, 2011 · 11 comments

Projects

None yet

6 participants

@click
Member
click commented May 16, 2011

CORE revision number : [https://github.com/TrinityCore/TrinityCore/commit/8d59953f9372c6876e0cd8078b44de6893082cbe /8d59953f9372c6876e0cd8078b44de6893082cbe]
Database: TDB 335.11.36
Patches: NONE

@LihO
LihO commented May 28, 2011

CONFIRMED on 60f00e4
TDB: 335.11.40
Patches: NONE that would affect guild system
crash log: http://paste2.org/p/1440428

for now I've made this little workaround that solves the crash,
but we should find out why this corrupted officerNote got there...

@LihO
LihO commented Jun 28, 2011

issues connected to this one are: #995, #1490, #1935
... sometimes it crashes in std::vector, sometimes in ACE

this is most offten scenario of this crash: http://pastebin.com/MKeCibfs

I wasn't able to find out whether it is problem of releasing lock of mutex
or whether it is problem of this line:

value = *this->_value;

... in log it continues with overriden operator =, then operator ++
I suppose it is not problem of ACE but problem of roster handling

@n4ndo
n4ndo commented Jun 28, 2011

Hi LihO, i can have this crash 2-6 times per day, could you share your fix please?

@LihO
LihO commented Jun 28, 2011

actually I don't have a fix for this, I've made a little workaround there as I use to do, so I'm gettin' this crash cca each 48 hours, so it's not that hardcore for me... anyway I'd like to understand why it happens and how it can be solved

@3kids
3kids commented Jun 28, 2011

Another crashlog concerning this issue with full debug information:
http://paste2.org/p/1493455

@jslack
jslack commented Jul 6, 2011

Crash like a hell =/

@3kids
3kids commented Jul 6, 2011

How many mapupdate threads you got Jslack?

@jslack
jslack commented Jul 6, 2011

8 but with my old core ( very old about 1k rev ) my uptime with same conf is 2 days. Now 10 min i have this crash lol :S

@jslack
jslack commented Jul 6, 2011

Any ugly hack for avoid this crash ?

@jslack
jslack commented Jul 6, 2011

Anyone have its before: ea06dcf ?

@LihO
LihO commented Jul 17, 2011

Confirmed on: f35d8c9

Exception code: C0000005 ACCESS_VIOLATION
Fault address:  0000000074E8E415
...
074E8E415  000000005F3AE8C0  memmove+1E5
000000013FB13C91  000000005F3AF950  ByteBuffer::append+101  g:\tc_compilation\s\src\server\shared\packets\bytebuffer.h line 369
0000000140097002  000000005F3AF980  Guild::Member::WritePacket+332  g:\tc_compilation\s\src\server\game\guilds\guild.cpp line 652
000000014009740D  000000005F3AFA50  Guild::HandleRoster+32D  g:\tc_compilation\s\src\server\game\guilds\guild.cpp line 1218
0000000140173C2C  000000005F3AFA80  WorldSession::HandleGuildRosterOpcode+5C  g:\tc_compilation\s\src\server\game\server\protocol\handlers\guildhandler.cpp line 129
000000013FD0716A  000000005F3AFC30  WorldSession::Update+1EA  g:\tc_compilation\s\src\server\game\server\worldsession.cpp line 249
000000013FB22C4E  000000005F3AFCF0  World::UpdateSessions+13E  g:\tc_compilation\s\src\server\game\world\world.cpp line 2592
000000013FB23C63  000000005F3AFDA0  World::Update+193  g:\tc_compilation\s\src\server\game\world\world.cpp line 1927
0000000
...
Local Variables And Parameters

Call stack:
Address   Frame     Function      SourceFile
0000000074E8E415  000000005F3AE8C0  memmove+1E5

000000013FB13C91  000000005F3AF950  ByteBuffer::append+101  g:\tc_compilation\s\src\server\shared\packets\bytebuffer.h line 369
punting on symbol this
punting on symbol src
punting on symbol cnt
punting on symbol st

0000000140097002  000000005F3AF980  Guild::Member::WritePacket+332  g:\tc_compilation\s\src\server\game\guilds\guild.cpp line 652
    Local  <user defined> 'this' = FFFFFFFFFFFFFFFE
    Parameter  <user defined> 'data' = 74EBCABC

000000014009740D  000000005F3AFA50  Guild::HandleRoster+32D  g:\tc_compilation\s\src\server\game\guilds\guild.cpp line 1218
    Local  <user defined> 'this' = 5F3A0089
    Parameter  <user defined> 'session' = 7FEF7B191BE
@Shocker Shocker added a commit that closed this issue Jul 27, 2011
@Shocker Shocker Core/Misc: Fix StopCastingBindSight.
Closes #260
cc3b845
@Shocker Shocker closed this in cc3b845 Jul 27, 2011
@ghost Unknown pushed a commit to rebirth-core/Rebirth---WoW that referenced this issue Feb 14, 2012
@Shocker Shocker Core/Misc: Fix StopCastingBindSight.
Closes #260
15d409e
@Asido Asido pushed a commit to Asido/TrinityCore that referenced this issue Mar 12, 2012
@Shocker Shocker Core/Misc: Fix StopCastingBindSight.
Closes #260
4465051
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment