Hi.
My commit hash is dfdf93397757eef08b1d38f23cc7aba6b8681d20 or commit 6947
I run on x86 32 bits (Debian etch 4.0)
I've sometimes (~ all 15 hours) a crash, and it's the same.
Here the coredump (of thread 5) :
#0 ~Unit (this=0x9f621c90) at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/list.tcc:76
No locals.
#1 0x0810d90c in ~Creature (this=0x9f621c90) at ../../../src/game/Creature.cpp:145
No locals.
#2 0x081c791e in ObjectGridUnloader::Visit<Creature> (this=0xa84fe198, m=@0x9f98b4bc) at ../../../src/game/ObjectGridLoader.cpp:280
obj = (class Creature *) 0x9f621c90
#3 0x081c7b3d in ObjectGridUnloader::Unload (this=0xa84fe198, grid=@0x9f98b4a4) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64
No locals.
#4 0x08199ad9 in Map::UnloadGrid (this=0x88ff668, x=@0xa84fe248, y=@0xa84fe244, pForce=false) at ../../../src/game/../framework/GameSystem/GridLoader.h:72
unloader = {i_grid = @0x9f98a978}
grid = (NGridType *) 0x9f98a978
gx = <value optimized out>
gy = <value optimized out>
__PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)"
#5 0x0839f931 in RemovalState::Update (this=0x88e0588, m=@0x88ff668, grid=@0x9f98a978, info=@0xb78106d4, x=@0xa84fe248, y=@0xa84fe244, t_diff=@0xa84fe288) at ../../../src/game/GridStates.cpp:66
No locals.
#6 0x081941d8 in Map::Update (this=0x88ff668, t_diff=@0xa84fe288) at ../../../src/game/Map.cpp:630
grid = <value optimized out>
updater = {i_timeDiff = 102}
grid_object_update = {i_visitor = @0xa84fe240}
world_object_update = {i_visitor = @0xa84fe240}
__PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#7 0x081a954d in MapManager::Update (this=0x88f26c8, diff=102) at ../../../src/game/MapManager.cpp:253
No locals.
#8 0x0833917d in World::Update (this=0x8593478, diff=102) at ../../../src/game/World.cpp:1529
i = 3
AuctionMap = (AuctionHouseObject *) 0x859440c
#9 0x080e8187 in WorldRunnable::run (this=0x88f3cd8) at ../../../src/mangosd/WorldRunnable.cpp:59
diff = 102
realCurrTime = 2186782862
realPrevTime = <value optimized out>
prevSleepTime = 92
#10 0xb79703a9 in ZThread::ThreadImpl::Dispatch (parent=0x8570478, impl=0x8a5cbe8, task=@0xa84fe424) at ../../../../dep/src/zthread/ThreadImpl.cxx:407
No locals.
#11 0xb7973384 in ZThread::(anonymous namespace)::Launcher::run (this=0xbff9ac94) at ../../../../dep/src/zthread/ThreadImpl.cxx:49
No locals.
#12 0xb79770fc in _dispatch (arg=0xb78106d4) at ../../../../dep/src/zthread/posix/ThreadOps.cxx:137
__PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)"
#13 0xb7938240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#14 0xb77b849e in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
It's seems to crash on Creature destructor, on line "m_vendorItemCounts.clear();"
std::list seems to be already empty, so I think it's a thread concurrency problem.
Thanks to help me to solve this problem, for me and for mangos