Possibly related to my other question (note: different error code):
Our buildbot slave compiles our source code nightly and works most of the time, but intermittently, we see this error:
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xtree(223) : fatal error C1075: end of file found before the left brace '{' at '..\lib\net\CSocketMultiplexer.cpp(62)' was matched
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xtree(427) : see reference to class template instantiation 'std::_Tree<_Traits>::const_iterator' being compiled
with
[
_Traits=std::_Tmap_traits<ISocket *,CSocketMultiplexer::CJobCursor,std::less<ISocket *>,std::allocator<std::pair<ISocket *const ,CSocketMultiplexer::CJobCursor>>,false>
]
..\lib\net\CSocketMultiplexer.cpp(75) : see reference to class template instantiation 'std::_Tree<_Traits>::iterator' being compiled
with
[
_Traits=std::_Tmap_traits<ISocket *,CSocketMultiplexer::CJobCursor,std::less<ISocket *>,std::allocator<std::pair<ISocket *const ,CSocketMultiplexer::CJobCursor>>,false>
]
See the full log output and CSocketMultiplexer.cpp — Is there anything that I can change in CSocketMultiplexer.cpp that might stop this from happening in future?
Also, probably not worth mentioning, but later on in the log, we see this error (which makes total sense, since the file wasn’t compiled):
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\synergy.dir\Debug\CSocketMultiplexer.sbr': No such file or directory
Judging by this and your other question, I’m starting to put my money on “hardware failure”. Could be that one bit in one of your RAM chips is faulty, so if you just happen to hit this very byte, a ‘}’ will turn into something else. I’d run a RAM test tool.
Does this machine exhibit other weird behavior? Rare random crashes, for example?