VS 2010 Premium SP1: C++ Linker Crash: LNK1000

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
We experience crashes during compilation of VC++ Solution (Visual Studio 2010 Premium SP1) Windows Server 2008 - 32 Bit), consisting out of different library projects. The solution compiles and links without any problems on another PC (Windows 7 - 64
Bit).
We can prevent the linker crashes, if we disable global optimization for all projects. Though I suppose this is just a work around for a short time and the problem might occur again if the project increases - and another downside is - the code isnt that
well optimized without global optimization disabled. <br/>
There is another issue with that project, sometimes, especially if another IDE instance is started and a project is opened, which is using a library included in the other solution, the compiled / IDE complains about that the *.lib file is locked which
can be only resolved by closing all Visual Studio instances.<br/>
The *.lib project, which is locked is also the *.lib project which crashes the linker.
Is there possibly a hotfix available ? Any help is appreciated !
Thank you in advance,
Andre
<br/>
Crash Error output:
1>LINK : fatal error LNK1000: Internal error during BuildLibrary<br/>
1> <br/>
1> Version 10.00.40219.01<br/>
1> <br/>
1> ExceptionCode = C0000005<br/>
1> ExceptionFlags = 00000000<br/>
1> ExceptionAddress = 6B4551BF (6B290000) "C:Program Files (x86)CompilerVS2010VCbinc2.dll"<br/>
1> NumberParameters = 00000002<br/>
1> ExceptionInformation[ 0] = 00000000<br/>
1> ExceptionInformation[ 1] = 20000000<br/>
1> <br/>
1> CONTEXT:<br/>
1> Eax = 00000025 Esp = 0043D844<br/>
1> Ebx = 0043D904 Ebp = 0043D85C<br/>
1> Ecx = 20000000 Esi = 6B4F79F0<br/>
1> Edx = 6679A6EC Edi = 6B4EDC8A<br/>
1> Eip = 6B4551BF EFlags = 00010206<br/>
1> SegCs = 00000023 SegDs = 0000002B<br/>
1> SegSs = 0000002B SegEs = 0000002B<br/>
1> SegFs = 00000053 SegGs = 0000002B<br/>
1> Dr0 = 00000000 Dr3 = 00000000<br/>
1> Dr1 = 00000000 Dr6 = 00000000<br/>
1> Dr2 = 00000000 Dr7 = 00000000<br/>
========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========<br/>
devenv.com returned Error code : 1



View the full article
 
Back
Top