Oleg: Hey, Happy Monday... > >Heya. I thought the bug we're seeing might be due > >to some code using "echofree" variables and some using > >"kaboodle" ones. So, I changed all instances of EchoFree > >to Kaboodle, matching case as best I could. Didn't help, > >but it's probably a better base to start work from. > > Got it. Are comparing now. I hope this is the final "base to > start work from" because as you and us have no mutual > version control facilities, we have to manually merge the > code and in the future it may become a real problem.
I'd be happy to re-setup the CVS server, if you'd prefer that? I could install the 0.77 snapshot I just sent. > >Implementation of the TCP/IP Tunneling capability for > >the Kaboodle software application, as specified in sections > >3.1, 3.2 and 4.3 of version 1.7 of the Kaboodle design > >specification dated January 2002. > > I am afraid, the latest version available is 1.6: Resending 1.7. Only change was to sections 5.3 and 5.4, which another dev team (hi, Suhail!) is working on. > >I recompiled Kaboodle in debug mode, and went into > >the debugger when it crashed. It's breaking at the > >CNIDPC:GetPCPriority() context with "First Chance > >exception in Kaboodle.exe: 0xC0000005: Access > >Violation". > > This bug seems to relate to the pre-Akmosoft period of > EchoFree development. > We found 6 places from where CNIDPC::GetPCPriority > is called. And, what it interesting, this function has a primitive > body: { return this->m_dwPCPriority; } (it just returns a > member value) so the only reason of crash can be invalid > "this" pointer. Actually, the address you gave (0xC0000005) > is rather high and most likely is garbage. > The places of the object creation must be checked up for > incorrect initialization. Consider the use of > AfxIsValidAddress, e.g.: > > CNIDPC::GetPCPriority() > { > ASSERT(AfxIsValidAddress(this, sizeof *this, false)) ; > return m_dwPCPriority; > } Right, "this" has a null value when the program crashes, according to the debugger. So I bet you're right with the initialization comment. -Scott _______________________________________________ Kaboodle-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kaboodle-devel