Posted under CVS
Permalink
Tags Bug, CVS, CVSNT, Windows
cvslock.exe sometimes crashes with the following pair of event log messages :-
- Failed to bind listening socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
- Faulting application cvslock.exe, version 0.0.0.0, faulting module advapi32.dll…
Initially I thought this was due to not adding it as a firewall/antivirus exception, but the error still appears to happen the first time a repository is created and brought up/reconfigured. The 2 errors appear to be related – the socket error may be due to cvslock being started twice in error (indeed, this may be the cause of the other error too.)
Once the repository configuration is up and stable, the error does not seem to occur.
When the error occurs, a systray icon for cvslock appears, and selecting the debug listing menu option for the tray icon displays the error “no ipv6 address found for host” in a command window.
I tried stopping the services, creating a new repository (which succeeds), and then starting the services. The cvslock service refuses to start, and the tray icon appears as above. After a few seconds, the tray icon disappears, and the service can be started as normal.
This does appear to be a cvslock issue related to new repository creation. As the workaround is straightforward, and operation appears stable after that, the bug appears to be a minor one.