Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Hello, I've installed CVSNT 2.0.58d on Mac OS X 10.4 seed 8A369 (Darwin 8.0.0), and was getting a crash in cvslockd, in the function lock_time() in LockParse.cpp when a client (local or remote) would attempt to check out. The crash was an invalid memory access to NULL, and the culprit was the call to times() [3] with an argument of NULL. The function is expecting a pointer to a struct tms. Apparently, this version of Darwin cannot accept a NULL argument. The fix was simple - just create a local struct tms and pass it's address instead of NULL. Checkouts now work. The link to report bugs on http://www.cvsnt.org/wiki/BugReporting <http://www.cvsnt.org/wiki/BugReporting> @ http://www.cvsnt.org/mantis/ <http://www.cvsnt.org/mantis/> is loading a blank page, so I can't report this, but I wanted to share it anyway. Here's a diff for the file lockservice/LockParse.cpp <attached> KD