[FIXED] Crash: Sending chunk to dangling pointer to cClientHandle
#2
The log file would have been useful, too
Bu at least now debugging works, the symbols matched Smile
I think I know what the issue is, just not yet sure how to fix it.
cChunkSender::RemoveClient() is supposed to block until the client is really really removed, so it needs to wait for the sendthread to actually finish the current sending job. This waiting is flawed, because it uses a semaphore that is signalled everytime the sending job finishes, which makes the semaphore passable without waiting upon further queries.
I'll think it over when I go home from work tonight, I guess I'll have a fix for that in the evening.
Reply
Thanks given by:


Messages In This Thread
RE: Crash: Sending chunk to dangling pointer to cClientHandle - by xoft - 03-27-2012, 10:47 PM



Users browsing this thread: 1 Guest(s)