TrinityCore/TrinityCore — Issue #4851: SIGSEGV at Group::RemoveMember
Author: Havenard
Created: 2012-01-17 02:00:31+00:00
State: open

Maybe caused by f4075f0f945c842fe2b1a08ea4a7fa253e8e2e53

```
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x43767950 (LWP 7443)]
Group::RemoveMember (this=0x7fc69be03600, guid=327169, method=@0x43766d84,
kicker=0, reason=0x0)
at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:85
85	++__n;
#0 Group::RemoveMember (this=0x7fc69be03600, guid=327169, method=@0x43766d84,
kicker=0, reason=0x0)
at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:85
#1 0x000000000089d727 in Player::RemoveFromGroup (group=0x7fc6f477cd30,
guid=8, method=GROUP_REMOVEMETHOD_LEAVE, kicker=0,
reason=0x7fc707c04a90 "")
at /opt/trinity/FaceCore/src/server/game/Entities/Player/Player.cpp:2915
#2 0x0000000000b276e5 in WorldSession::HandleGroupDisbandOpcode (
this=)
at /opt/trinity/FaceCore/src/server/game/Entities/Player/Player.h:1869
#3 0x0000000000ae805f in WorldSession::Update (this=0x7fc6aa578e00,
diff=, updater=@0x43766fd0)
at /opt/trinity/FaceCore/src/server/game/Server/WorldSession.cpp:330
#4 0x0000000000bcc7dc in World::UpdateSessions (this=0x7fc707913808, diff=137)
at /opt/trinity/FaceCore/src/server/game/World/World.cpp:2597
#5 0x0000000000bd4ce1 in World::Update (this=0x7fc707913808, diff=137)
at /opt/trinity/FaceCore/src/server/game/World/World.cpp:1970
#6 0x00000000008085b6 in WorldRunnable::run (this=)
at /opt/trinity/FaceCore/src/server/worldserver/WorldThread/WorldRunnable.cpp:59
#7 0x0000000000d4b56a in ACE_Based::Thread::ThreadTask (param=0x7fc6f477cd30)
at /opt/trinity/FaceCore/src/server/shared/Threading/Threading.cpp:183
#8 0x00007fc708ce1fc7 in start_thread () from /lib/libpthread.so.0
#9 0x00007fc708a5764d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()
#0 Group::RemoveMember (this=0x7fc69be03600, guid=327169, method=@0x43766d84,
kicker=0, reason=0x0)
at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:85
No locals.
#1 0x000000000089d727 in Player::RemoveFromGroup (group=0x7fc6f477cd30,
guid=8, method=GROUP_REMOVEMETHOD_LEAVE, kicker=0,
reason=0x7fc707c04a90 "")
at /opt/trinity/FaceCore/src/server/game/Entities/Player/Player.cpp:2915
No locals.
#2 0x0000000000b276e5 in WorldSession::HandleGroupDisbandOpcode (
this=)
at /opt/trinity/FaceCore/src/server/game/Entities/Player/Player.h:1869
No locals.
#3 0x0000000000ae805f in WorldSession::Update (this=0x7fc6aa578e00,
diff=, updater=@0x43766fd0)
at /opt/trinity/FaceCore/src/server/game/Server/WorldSession.cpp:330
packet = (WorldPacket *) 0x7fc687556130
deletePacket = true
firstDelayedPacket = (WorldPacket *) 0x0
#4 0x0000000000bcc7dc in World::UpdateSessions (this=0x7fc707913808, diff=137)
at /opt/trinity/FaceCore/src/server/game/World/World.cpp:2597
pSession = (WorldSession *) 0x7fc6aa578e00
updater = { = {_vptr.PacketFilter = 0x1276a10,
m_pSession = 0x7fc6aa578e00}, }
sess =
#5 0x0000000000bd4ce1 in World::Update (this=0x7fc707913808, diff=137)
at /opt/trinity/FaceCore/src/server/game/World/World.cpp:1970
No locals.
#6 0x00000000008085b6 in WorldRunnable::run (this=)
at /opt/trinity/FaceCore/src/server/worldserver/WorldThread/WorldRunnable.cpp:59
diff = 137
realCurrTime = 2786963
realPrevTime = 2786826
prevSleepTime = 0
#7 0x0000000000d4b56a in ACE_Based::Thread::ThreadTask (param=0x7fc6f477cd30)
at /opt/trinity/FaceCore/src/server/shared/Threading/Threading.cpp:183
No locals.
#8 0x00007fc708ce1fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9 0x00007fc708a5764d in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
11 Thread 0x45f6c950 (LWP 7448) 0x00007fc708a57c18 in epoll_wait ()
from /lib/libc.so.6
10 Thread 0x4576b950 (LWP 7447) 0x00007fc708a57c18 in epoll_wait ()
from /lib/libc.so.6
9 Thread 0x44f6a950 (LWP 7446) 0x00007fc708a50d52 in select ()
from /lib/libc.so.6
7 Thread 0x43f68950 (LWP 7444) 0x00007fc708a50d52 in select ()
from /lib/libc.so.6
* 6 Thread 0x43767950 (LWP 7443) Group::RemoveMember (this=0x7fc69be03600,
guid=327169, method=@0x43766d84, kicker=0, reason=0x0)
at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:85
5 Thread 0x42f66950 (LWP 7442) 0x00007fc708ce5d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
4 Thread 0x42765950 (LWP 7395) 0x00007fc708ce5d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
3 Thread 0x4160c950 (LWP 7394) 0x00007fc708ce87db in read ()
from /lib/libpthread.so.0
2 Thread 0x41f64950 (LWP 7393) 0x00007fc708ce5d29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
1 Thread 0x7fc70acfd6f0 (LWP 7390) 0x00007fc708ce2715 in pthread_join ()
from /lib/libpthread.so.0

```