msbuild - 在 tracker.exe 中运行 fxc.exe 时 DirectX 崩溃,来自 msbuild 的 -1073741819 错误

标签 msbuild shader

当从 msbuild 运行以下命令时:

D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib>"C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\Tracker.exe" /d C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll /i D:\Projects\VisualStudioProjects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release /r D:\PROJECTS\VISUALSTUDIOPROJECTS\THOR\MAIN\SBC\APP\CORE\EXECUI\LIBS.LIVELIB\BRIGHTNESSHISTOGRAM.HLSL /c C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  /nologo /E"BrightnessHistogram" /T cs_5_0 /Fh "x64\Release\BrightnessHistogram.h" /Vn "g_BrightnessHistogram" BrightnessHistogram.hlsl

DirectX 崩溃(收到弹出窗口),msbuild 返回错误代码 -1073741819

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(1129,5): error MSB6006: "fxc.exe" exited with code -1073741819.

请注意,如果 fxc.exe 命令独立运行,则会成功。

进一步调查显示,在 .h 文件成功生成后,procmon.exe 记录了以下序列。注意所有缓冲区溢出。无论出于何种原因,没有为 QueryNameInformationFile 操作提供足够的缓冲区空间。因此,fxc.exe 似乎失败了,因为它没有投注其所需的正确 DLL 名称。这是一个 Windows 10 系统,运行 Visual Studio 2012。 该系统工作正常一段时间,然后发生了一些事情使其停止工作。

Time of Day Process Name    PID Operation   Path    Result  Detail
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,487, Length: 3
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,490, Length: 2
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,492, Length: 3
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,495, Length: 2
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,497, Length: 3
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,500, Length: 2
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,502, Length: 3
20:04.3 fxc.exe 4228    WriteFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS Offset: 11,505, Length: 6
20:04.3 fxc.exe 4228    CloseFile   D:\Projects\VisualStudioProjects\Thor\Release\2.52\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h   SUCCESS 
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  SUCCESS Name: \Dev\ms\kits\8.0\bin\x86\fxc.exe
20:04.3 fxc.exe 4228    RegOpenKey  HKLM\SYSTEM\CurrentControlSet\Control\Session Manager   REPARSE Desired Access: Query Value, Enumerate Sub Keys
20:04.3 fxc.exe 4228    RegOpenKey  HKLM\System\CurrentControlSet\Control\Session Manager   SUCCESS Desired Access: Query Value, Enumerate Sub Keys
20:04.3 fxc.exe 4228    RegSetInfoKey   HKLM\System\CurrentControlSet\Control\SESSION MANAGER   SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
20:04.3 fxc.exe 4228    RegQueryValue   HKLM\System\CurrentControlSet\Control\SESSION MANAGER\ResourcePolicies  NAME NOT FOUND  Length: 24
20:04.3 fxc.exe 4228    RegCloseKey HKLM\System\CurrentControlSet\Control\SESSION MANAGER   SUCCESS 
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  SUCCESS Name: \Dev\ms\kits\8.0\bin\x86\fxc.exe
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Windows\System32\locale.nls  BUFFER OVERFLOW Name: \Windo
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Windows\Microsoft.NET\Framework\v4.0.30319\1033\FileTrackerUI.dll    BUFFER OVERFLOW Name: \Windo
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\fxc.exe  BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Windows\Globalization\Sorting\SortDefault.nls    BUFFER OVERFLOW Name: \Windo
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Dev\ms\kits\8.0\bin\x86\d3dcompiler_46.dll   BUFFER OVERFLOW Name: \Dev\m
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll   BUFFER OVERFLOW Name: \Windo
20:04.3 fxc.exe 4228    QueryNameInformationFile    C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll   BUFFER OVERFLOW Name: \Windo

我有另一个系统,它是Windows 7系统,它可以很好地编译相同的代码。以下是 Windows 7 系统上相同序列的 procmon 的输出。请注意,没有缓冲区溢出。另请注意,创建 .h 文件后,此工作序列显示 fxc.read.1.tlog 和 fxc.write.1.tlog 文件被访问(而在损坏的序列中并非如此。)请注意,我不这样做认为这是 Windows 10 问题。

Time of Day Process Name    PID Operation   Path    Result  Detail
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,474, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,476, Length: 3, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,479, Length: 8, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,487, Length: 3, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,490, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,492, Length: 3, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,495, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,497, Length: 3, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,500, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,502, Length: 3, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Offset: 11,505, Length: 6, Priority: Normal
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS 
20:47.1 fxc.exe 12192   Thread Exit     SUCCESS Thread ID: 12072, User Time: 0.0000000, Kernel Time: 0.0000000
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   QueryBasicInformationFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS CreationTime: 6/2/2016 7:41:57 AM, LastAccessTime: 1/9/2017 11:54:57 AM, LastWriteTime: 1/9/2017 11:54:57 AM, ChangeTime: 1/9/2017 11:54:57 AM, FileAttributes: D
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS 
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   QueryBasicInformationFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS CreationTime: 6/2/2016 7:41:57 AM, LastAccessTime: 1/9/2017 11:54:57 AM, LastWriteTime: 1/9/2017 11:54:57 AM, ChangeTime: 1/9/2017 11:54:57 AM, FileAttributes: D
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release  SUCCESS 
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Desired Access: Generic Read/Write, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   ReadFile    C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Offset: 0, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   QueryStandardInformationFile    C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS AllocationSize: 8,192, EndOfFile: 6,228, NumberOfLinks: 1, DeletePending: False, Directory: False
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Offset: 6,228, Length: 396, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Offset: 6,624, Length: 164, Priority: Normal
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\BrightnessHistogram.hlsl SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   QueryNetworkOpenInformationFile C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\BrightnessHistogram.hlsl SUCCESS CreationTime: 10/6/2015 11:01:23 AM, LastAccessTime: 10/6/2015 11:01:23 AM, LastWriteTime: 10/6/2015 11:01:23 AM, ChangeTime: 10/6/2015 11:01:23 AM, AllocationSize: 4096, EndOfFile: 2326, FileAttributes: A
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\BrightnessHistogram.hlsl SUCCESS 
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Offset: 6,788, Length: 162, Priority: Normal
20:47.1 fxc.exe 12192   CreateFile  C:\Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   QueryNetworkOpenInformationFile C:\Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe SUCCESS CreationTime: 7/25/2012 7:25:38 PM, LastAccessTime: 10/6/2015 10:26:10 AM, LastWriteTime: 7/25/2012 7:25:38 PM, ChangeTime: 11/23/2015 9:45:38 AM, AllocationSize: 94208, EndOfFile: 94152, FileAttributes: A
20:47.1 fxc.exe 12192   CloseFile   C:\Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe SUCCESS 
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS Offset: 6,950, Length: 114, Priority: Normal
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.read.1.tlog  SUCCESS 
20:47.1 fxc.exe 12192   ReadFile    C:  SUCCESS Offset: 48,697,344, Length: 96, I/O Flags: Non-cached, Paging I/O, Synchronous Paging I/O, Priority: Normal
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS Desired Access: Generic Read/Write, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   ReadFile    C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS Offset: 0, Length: 2, Priority: Normal
20:47.1 fxc.exe 12192   QueryStandardInformationFile    C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS AllocationSize: 8,192, EndOfFile: 5,018, NumberOfLinks: 1, DeletePending: False, Directory: False
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS Offset: 5,018, Length: 396, Priority: Normal
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS Offset: 5,414, Length: 164, Priority: Normal
20:47.1 fxc.exe 12192   CreateFile  C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
20:47.1 fxc.exe 12192   QueryNetworkOpenInformationFile C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS CreationTime: 1/5/2017 9:00:09 AM, LastAccessTime: 1/9/2017 11:54:46 AM, LastWriteTime: 1/10/2017 1:20:47 PM, ChangeTime: 1/10/2017 1:20:47 PM, AllocationSize: 12288, EndOfFile: 11511, FileAttributes: A
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\BrightnessHistogram.h    SUCCESS 
20:47.1 fxc.exe 12192   WriteFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS Offset: 5,578, Length: 180, Priority: Normal
20:47.1 fxc.exe 12192   CloseFile   C:\Projects\Thor\Main\sbc\app\core\ExecUI\Libs.LiveLib\x64\Release\fxc.write.1.tlog SUCCESS 
20:47.1 fxc.exe 12192   RegCloseKey HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer SUCCESS 
20:47.1 fxc.exe 12192   RegOpenKey  HKLM\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\GRE_Initialize    SUCCESS Desired Access: Read
20:47.1 fxc.exe 12192   RegSetInfoKey   HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize    SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
20:47.1 fxc.exe 12192   RegQueryValue   HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize\DisableMetaFiles   NAME NOT FOUND  Length: 20
20:47.1 fxc.exe 12192   RegCloseKey HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize    SUCCESS 
20:47.1 fxc.exe 12192   Thread Exit     SUCCESS Thread ID: 10292, User Time: 0.0468003, Kernel Time: 0.3588023
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\System32\apisetschema.dll    SUCCESS Name: \Windows\System32\apisetschema.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe SUCCESS Name: \Program Files (x86)\Windows Kits\8.0\bin\x86\fxc.exe
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files (x86)\Windows Kits\8.0\bin\x86\d3dcompiler_46.dll  SUCCESS Name: \Program Files (x86)\Windows Kits\8.0\bin\x86\d3dcompiler_46.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll   SUCCESS Name: \Windows\Microsoft.NET\Framework\v4.0.30319\FileTracker.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\COM_Sensor.dll    SUCCESS Name: \Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\COM_Sensor.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\OS_Plugin.dll SUCCESS Name: \Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\OS_Plugin.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AME_SmtpSensor.dll    SUCCESS Name: \Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AME_SmtpSensor.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AME_OutlookSensor.dll SUCCESS Name: \Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AME_OutlookSensor.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AE_MailSensor_Plugin.dll  SUCCESS Name: \Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AE_MailSensor_Plugin.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\version.dll SUCCESS Name: \Windows\SysWOW64\version.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\mpr.dll SUCCESS Name: \Windows\SysWOW64\mpr.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\DgApi.dll   SUCCESS Name: \Windows\SysWOW64\DgApi.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\System32\wow64cpu.dll    SUCCESS Name: \Windows\System32\wow64cpu.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\System32\wow64win.dll    SUCCESS Name: \Windows\System32\wow64win.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\System32\wow64.dll   SUCCESS Name: \Windows\System32\wow64.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\cryptbase.dll   SUCCESS Name: \Windows\SysWOW64\cryptbase.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\sspicli.dll SUCCESS Name: \Windows\SysWOW64\sspicli.dll
20:47.1 fxc.exe 12192   QueryNameInformationFile    C:\Windows\SysWOW64\lpk.dll SUCCESS Name: \Windows\SysWOW64\lpk.dll

最佳答案

我也遇到了同样的问题。对我来说,它与 dgagent.exe 相关,而不是与 VS、.NET 工具、环境变量、win10 等相关。 几乎可以肯定这是同一个问题。

如果可以,请卸载 Digital Guardian 代理。如果没有,请联系您的 IT 部门并要求他们修复。

-1073741819 是 0xC0000005,这是 ACCESS_VIOLATION 异常。

关于msbuild - 在 tracker.exe 中运行 fxc.exe 时 DirectX 崩溃,来自 msbuild 的 -1073741819 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41578961/

相关文章:

visual-studio-2010 - 自动化 VS 2010 "Publish"配置文件替换

3d - WebGL 片段着色器输出的颜色在不同平台上有很大差异

java - 为什么没有绑定(bind) VAO 时 glValidateProgram 会失败?

c# - SharpDX 编译着色器

c# - TeamCity - MSBuild - SVN - AssemblyVersion - C#

visual-studio-2013 - Visual Studio 2013 构建和发布

msbuild - TFS2013 MsTest,开关无效

javascript - three.js:如何让透明的png Sprite 转换和接收阴影?

opengl - 如何查询 SSBO 结构的对齐/步幅?

visual-studio - 在未安装 VS 的情况下在构建服务器上构建 VS 2015 扩展?