Re: Bugfix: Crash in PacketSession::addSession()

Hello everybody,

Here is yet another patch (revno 93) that takes care about care conditions, this time in PacketSession. With the previous patch Calitko run on my Debian test server for about 4 days before it crashed. Under Windows it used to crash much faster. With this patch applied it takes a bit longer for Calitko to crash but does so anyway. In both cases the suspect is PacketReader. I’ll investigate that further.

Another thing I noted was that under Windows the connections to other peers don’t last for more 15-20 mins. Maybe the Internet connection has something to do with that because under Debian I see quite high connection uptime. We’ll be ready for v0.6.0 when we achieve higher uptime of Calitko and its peer connections under both Windows and Linux. We’ll need to revise our dynamic searching and query routing implementations.

Regards,

Peter

Would you like to post a relpy?


This post is a reply to:
Bugfix: Crash in PacketSession::addSession()
Hello everybody, I think I found and fixed this old bug! The cause was a race condition + inconsistent ownership of the Connection object. HandshakeSession used to assume ownership of (more...)

No follow-ups yet.