Symptoms

Some floating-point math library functions in the Visual C++ 2013 x64 C Runtime (CRT) do not correctly check whether certain AVX and FMA3 instructions are available before the functions try to use them. If the instructions are not available for use, calls to these functions cause an illegal instruction exception (0xc000001d). Affected functions include log, log10, and pow, and others. 

This problem is most likely to occur in the following scenarios:

  • On an old version of the Windows operating system that does not support AVX state saving (for example, Windows Vista) if it's used on a computer that supports the AVX instruction set

  • If AVX state saving is explicitly disabled in the operating system boot configuration

  • In the Windows Preinstall Environment (Windows PE) 

    Note Windows PE does not support AVX state saving.

Cause

This problem occurs because the Visual C++ 2013 x64 C Runtime does not check whether the operating system supports AVX state saving before it tries to run AVX or FMA3 instructions.

Resolution

This update for Microsoft Visual C++ 2013 Update 5 Redistributable Package is released as a download-only update and isn’t distributed through Windows Update. Redistribution of this update is allowed, subject to the same license terms as granted by the Microsoft Visual Studio 2013 Update 5 release.

If you statically link to the Visual C++ 2013 C Runtime, a Visual Studio 2013 hotfix is available. For more information, see the following Microsoft Knowledge Base article:

3174417 FIX: Programs that are built with Visual C++ 2013 crash with "Illegal Instruction" exception

Microsoft Download Center

The following files are available for download from the Microsoft Download Center.

x64.exe File Path

Locales

File Paths

Czech - Czech Republic

http://download.microsoft.com/download/3/1/4/314627D5-7EEA-4C9A-ABB2-E2CC4FB0F224/vcredist_x64.exe

German - Germany

http://download.microsoft.com/download/8/2/4/82444F1C-AEA4-4153-81C2-7861905D54F5/vcredist_x64.exe

English - United States

http://download.microsoft.com/download/0/5/6/056DCDA9-D667-4E27-8001-8A0C6971D6B1/vcredist_x64.exe

Spanish(traditional Sorts) - Spain

http://download.microsoft.com/download/9/7/C/97C609E9-EBD3-466B-A87E-FA7F7BF1B000/vcredist_x64.exe

French - France

http://download.microsoft.com/download/3/0/3/30337CA1-8A4E-4043-B330-D0DCE8561EBB/vcredist_x64.exe

Italian - Italy

http://download.microsoft.com/download/9/8/4/98446BDF-BC9B-4BDE-9E54-28E15787FBED/vcredist_x64.exe

Japanese - Japan

http://download.microsoft.com/download/8/2/9/829AC8B2-E111-4F58-9B23-205A5E7D656A/vcredist_x64.exe

Korean - Korea

http://download.microsoft.com/download/F/8/D/F8D970BD-4218-49B9-B515-E6F1669D228B/vcredist_x64.exe

Polish - Poland

http://download.microsoft.com/download/0/B/4/0B46160F-B53F-45DA-87D6-DA0567E57784/vcredist_x64.exe

Portuguese - Brazil

http://download.microsoft.com/download/7/B/A/7BAFB681-05F8-4D13-98AF-9BC6C93B3536/vcredist_x64.exe

Russian - Russia

http://download.microsoft.com/download/C/D/2/CD274FA6-0D64-4B70-BD90-EC9A2E395DA4/vcredist_x64.exe

Turkish - Turkey

http://download.microsoft.com/download/C/4/6/C467522D-C094-4697-B9B2-BB59B2BCACA5/vcredist_x64.exe

Chinese - China

http://download.microsoft.com/download/1/8/0/180FA2CE-506D-4032-AAD1-9D7636F85179/vcredist_x64.exe

Chinese - Taiwan

http://download.microsoft.com/download/9/0/5/905DBD86-D1B8-4D4B-8A50-CB0E922017B9/vcredist_x64.exe


x86.exe File Path

Locales

File Paths

Czech - Czech Republic

http://download.microsoft.com/download/3/1/4/314627D5-7EEA-4C9A-ABB2-E2CC4FB0F224/vcredist_x86.exe

German - Germany

http://download.microsoft.com/download/8/2/4/82444F1C-AEA4-4153-81C2-7861905D54F5/vcredist_x86.exe

English - United States

http://download.microsoft.com/download/0/5/6/056DCDA9-D667-4E27-8001-8A0C6971D6B1/vcredist_x86.exe

Spanish(traditional Sorts) - Spain

http://download.microsoft.com/download/9/7/C/97C609E9-EBD3-466B-A87E-FA7F7BF1B000/vcredist_x86.exe

French - France

http://download.microsoft.com/download/3/0/3/30337CA1-8A4E-4043-B330-D0DCE8561EBB/vcredist_x86.exe

Italian - Italy

http://download.microsoft.com/download/9/8/4/98446BDF-BC9B-4BDE-9E54-28E15787FBED/vcredist_x86.exe

Japanese - Japan

http://download.microsoft.com/download/8/2/9/829AC8B2-E111-4F58-9B23-205A5E7D656A/vcredist_x86.exe

Korean - Korea

http://download.microsoft.com/download/F/8/D/F8D970BD-4218-49B9-B515-E6F1669D228B/vcredist_x86.exe

Polish - Poland

http://download.microsoft.com/download/0/B/4/0B46160F-B53F-45DA-87D6-DA0567E57784/vcredist_x86.exe

Portuguese - Brazil

http://download.microsoft.com/download/7/B/A/7BAFB681-05F8-4D13-98AF-9BC6C93B3536/vcredist_x86.exe

Russian - Russia

http://download.microsoft.com/download/C/D/2/CD274FA6-0D64-4B70-BD90-EC9A2E395DA4/vcredist_x86.exe

Turkish - Turkey

http://download.microsoft.com/download/C/4/6/C467522D-C094-4697-B9B2-BB59B2BCACA5/vcredist_x86.exe

Chinese - China

http://download.microsoft.com/download/1/8/0/180FA2CE-506D-4032-AAD1-9D7636F85179/vcredist_x86.exe

Chinese - Taiwan

http://download.microsoft.com/download/9/0/5/905DBD86-D1B8-4D4B-8A50-CB0E922017B9/vcredist_x86.exe

File information

VCRedist_x86.exe installation path:

  • x86 operating system: %WinDir%\System32

  • x64 operating system: %WinDir%\SysWow64

File name

File size (x86)

File Version

msvcr120.dll

949 KB

12.0.40660.0

msvcp120.dll

445 KB

12.0.40660.0

vcamp120.dll

332 KB

12.0.40660.0

vcomp120.dll

118 KB

12.0.40660.0

vccorlib120.dll

243 KB

12.0.40660.0

mfc120.dll

4,321 KB

12.0.40660.0

mfc120u.dll

4,347 KB

12.0.40660.0

mfc120chs.dll

46 KB

12.0.40660.0

mfc120cht.dll

46 KB

12.0.40660.0

mfc120deu.dll

74 KB

12.0.40660.0

mfc120enu.dll

64 KB

12.0.40660.0

mfc120esn.dll

73 KB

12.0.40660.0

mfc120fra.dll

74 KB

12.0.40660.0

mfc120ita.dll

72 KB

12.0.40660.0

mfc120jpn.dll

53 KB

12.0.40660.0

mfc120kor.dll

53 KB

12.0.40660.0

mfc120rus.dll

70 KB

12.0.40660.0


Vcredist_x64.exe installation path:

  • x64 operating system: %WinDir%\System32

File name

File size (x64)

File Version

msvcr120.dll

941 KB

12.0.40660.0

msvcp120.dll

645 KB

12.0.40660.0

vcamp120.dll

471 KB

12.0.40660.0

vcomp120.dll

135 KB

12.0.40660.0

vccorlib120.dll

349 KB

12.0.40660.0

mfc120.dll

5,477 KB

12.0.40660.0

mfc120u.dll

5,503 KB

12.0.40660.0

mfc120chs.dll

46 KB

12.0.40660.0

mfc120cht.dll

46 KB

12.0.40660.0

mfc120deu.dll

74 KB

12.0.40660.0

mfc120enu.dll

64 KB

12.0.40660.0

mfc120esn.dll

73 KB

12.0.40660.0

mfc120fra.dll

74 KB

12.0.40660.0

mfc120ita.dll

72 KB

12.0.40660.0

mfc120jpn.dll

53 KB

12.0.40660.0

mfc120kor.dll

53 KB

12.0.40660.0

mfc120rus.dll

70 KB

12.0.40660.0

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×