[FIXED] Found a deadlock
#1
Just writing down what locks what..

Code:
cSocketThread
Waits for cChunkMap::m_CSLayers (owned by ChunkSender) in cChunkMap::RemoveClientFromChunks
Owns cClientHandle::m_CSChunkLists

ChunkSender
Waits for cClientHandle::m_CSChunkLists (owned by cSocketThread) in cClientHandle::Send
Owns cChunkMap::m_CSLayers

ServerTickThread
Waits for cChunkMap::m_CSLayers  (owned by ChunkSender) in cChunkMap::Tick

The deadlock is between cSocketThread and ChunkSender

ChunkSender stack:
[Image: Screenshot-2012-03-22_16.18.14.png]

cSocketThread stack:
[Image: Screenshot-2012-03-22_16.19.02.png]

Would a dump work here as well?
Reply
Thanks given by:


Messages In This Thread
[FIXED] Found a deadlock - by FakeTruth - 03-23-2012, 01:11 AM
RE: Found a deadlock - by xoft - 03-23-2012, 01:29 AM



Users browsing this thread: 1 Guest(s)