为什么会出现“致命错误C1075”使用msbuild时间歇性发生错误? [英] Why might the "fatal error C1075" error occur intermittently when using msbuild?
问题描述
可能与我的其他问题相关(注意:不同的错误代码):
我们的buildbot从夜间编译我们的源代码,大部分时间都工作,但是间歇性地,我们看到这个错误:
c:\Program Files \ Microsoft Visual Studio 9.0 \VC\include\xtree(223):致命错误C1075:end的文件在左大括号'{'at'.. \lib \\\
et\CSocketMultiplexer.cpp(62)'之前找到匹配
c:\Program Files \Microsoft Visual Studio 9.0 \VC\\ \\include\xtree(427):参见类模板实例化的引用'std :: _正在编译的$ _Traits> :: const_iterator'
with
[
_Traits = std :: _Tmap_traits& ISocket *,CSocketMultiplexer :: CJobCursor,std :: less< ISocket *>,std :: allocator< std :: pair< ISocket * const,CSocketMultiplexer :: CJobCursor&
]
.. \lib\\\
et\CSocketMultiplexer.cpp(75):参见类模板实例化'std :: _ Tree< _Traits> :: iterator'正在编译
与
[
_Traits = std :: _Tmap_traits< ISocket *,CSocketMultiplexer :: CJobCursor,std :: less< ISocket *>,std :: allocator< std :: pair< ISocket * const,CSocketMultiplexer :: CJobCursor>>,false>
]
查看完整日志输出和 CSocketMultiplexer.cpp
- 有什么我可以改变在 CSocketMultiplexer.cpp $
此外,可能不值得一提,但日后在日志中,我们看到这个错误(这使得总感谢,因为文件没有编译):
版权所有(C)Microsoft Corporation。版权所有。
$ p $根据这个和你的其他问题,我开始把我的钱在硬件故障。可能是你的一个RAM芯片的一个位有错误,所以如果你刚刚碰到这个字节,一个'}将变成别的东西。我会运行一个RAM测试工具。
BSCMAKE:错误BK1506:无法打开文件'.\synergy.dir\Debug\CSocketMultiplexer.sbr':没有这样的文件或目录
这台机器是否会显示其他奇怪的行为?罕见的随机崩溃,例如?
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?
这篇关于为什么会出现“致命错误C1075”使用msbuild时间歇性发生错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!