0

我有 MFC 应用程序,我在其中混合了 MFC c++ 和 C 代码。从 MFC ,我创建了一个线程并使用该线程运行 ac 代码。我有堆损坏消息,如果我点击继续,就会弹出并奇怪地消失。

尝试 malloc 512 char 时出现错误,但我知道在此之前发生了损坏。我运行了应用程序验证程序,这是我第一次使用它并得到以下信息。++++++++++++++++++++++++++

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<avrf:logfile xmlns:avrf="Application Verifier">
    <avrf:logSession TimeStarted="2013-09-04 : 19:11:15" PID="14112" Version="2">
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x33FF" Severity="Information">
            <avrf:message>Information: LUAPriv version.</avrf:message>
            <avrf:formatmessage>LUAPriv version: 1.0</avrf:formatmessage>
            <avrf:parameter1>1 - Version major</avrf:parameter1>
            <avrf:parameter2>0 - Version minor</avrf:parameter2>
            <avrf:parameter3>0 - n/a</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333A" Severity="Information">
            <avrf:message>Information: Application file name.</avrf:message>
            <avrf:formatmessage>c:\programpath\Debug\MFCAsci.exe</avrf:formatmessage>
            <avrf:parameter1>2bf24c - File Name</avrf:parameter1>
            <avrf:parameter2>0 - n/a</avrf:parameter2>
            <avrf:parameter3>0 - n/a</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333B" Severity="Information">
            <avrf:message>Information: Application file version.</avrf:message>
            <avrf:formatmessage>1.0.0.1</avrf:formatmessage>
            <avrf:parameter1>10000 - dwFileVersionMS</avrf:parameter1>
            <avrf:parameter2>1 - dwFileVersionLS</avrf:parameter2>
            <avrf:parameter3>0 - n/a</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333C" Severity="Information">
            <avrf:message>Information: Application file product version.</avrf:message>
            <avrf:formatmessage>1.0.0.1</avrf:formatmessage>
            <avrf:parameter1>10000 - dwProductVersionMS</avrf:parameter1>
            <avrf:parameter2>1 - dwProductVersionLS</avrf:parameter2>
            <avrf:parameter3>0 - n/a</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333D" Severity="Information">
            <avrf:message>Information: Application file description.</avrf:message>
            <avrf:formatmessage>MFCAsci</avrf:formatmessage>
            <avrf:parameter1>4e29aec - File description</avrf:parameter1>
            <avrf:parameter2>409 - Language</avrf:parameter2>
            <avrf:parameter3>4b0 - Code page</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333E" Severity="Information">
            <avrf:message>Information: Application file product name.</avrf:message>
            <avrf:formatmessage>TODO: &lt;Product name&gt;</avrf:formatmessage>
            <avrf:parameter1>4e29c48 - File product name</avrf:parameter1>
            <avrf:parameter2>409 - Language</avrf:parameter2>
            <avrf:parameter3>4b0 - Code page</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x333F" Severity="Information">
            <avrf:message>Information: Application file company name.</avrf:message>
            <avrf:formatmessage>TODO: &lt;Company name&gt;</avrf:formatmessage>
            <avrf:parameter1>4e29a98 - File company name</avrf:parameter1>
            <avrf:parameter2>409 - Language</avrf:parameter2>
            <avrf:parameter3>4b0 - Code page</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:16" LayerName="LuaPriv" StopCode="0x3340" Severity="Information">
            <avrf:message>Information: Application file original filename.</avrf:message>
            <avrf:formatmessage>MFCAsci.exe</avrf:formatmessage>
            <avrf:parameter1>4e29c10 - File original filename</avrf:parameter1>
            <avrf:parameter2>409 - Language</avrf:parameter2>
            <avrf:parameter3>4b0 - Code page</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3300" Severity="Warning">
            <avrf:message>The Verifier could not get an object&apos;s name.</avrf:message>
            <avrf:formatmessage>Object: Unable to query the object&apos;s name 0xc0000039</avrf:formatmessage>
            <avrf:parameter1>bf8 - Handle to the Object</avrf:parameter1>
            <avrf:parameter2>c0000039 - NTSTATUS</avrf:parameter2>
            <avrf:parameter3>0 - Key Type</avrf:parameter3>
            <avrf:parameter4>0 - Key Data</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd758d7 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7594a ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd75a09 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd82529 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba31 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+e33 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+9dfb ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+56c6 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+57e0 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+589b ( @ 0)</avrf:trace>
                <avrf:trace>verifier!VerifierGetProviderHelper+ce0d ( @ 0)</avrf:trace>
                <avrf:trace>vrfcore!VerifierTlsSetValue+20b ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f69f544 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!wcsncmp+4c ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!EtwEventRegister+135 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+1d3 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+d5 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrInitializeThunk+10 ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3300" Severity="Warning">
            <avrf:message>The Verifier could not get an object&apos;s name.</avrf:message>
            <avrf:formatmessage>Object: Unable to query the object&apos;s name 0xc0000039</avrf:formatmessage>
            <avrf:parameter1>bf8 - Handle to the Object</avrf:parameter1>
            <avrf:parameter2>c0000039 - NTSTATUS</avrf:parameter2>
            <avrf:parameter3>0 - Key Type</avrf:parameter3>
            <avrf:parameter4>0 - Key Data</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd758d7 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7594a ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd75a09 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd778ff ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba4c ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+e33 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+9dfb ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+56c6 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+57e0 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!SetNumberOfHooks+589b ( @ 0)</avrf:trace>
                <avrf:trace>verifier!VerifierGetProviderHelper+ce0d ( @ 0)</avrf:trace>
                <avrf:trace>vrfcore!VerifierTlsSetValue+20b ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f69f544 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!wcsncmp+4c ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!EtwEventRegister+135 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+1d3 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+d5 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrInitializeThunk+10 ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="HighVersionLie" StopCode="0x2204" Severity="Information">
            <avrf:message>Called the GetVersion API.</avrf:message>
            <avrf:formatmessage>Returned 8.3 build number: 8601.</avrf:formatmessage>
            <avrf:parameter1>0 - N/A</avrf:parameter1>
            <avrf:parameter2>0 - N/A</avrf:parameter2>
            <avrf:parameter3>0 - N/A</avrf:parameter3>
            <avrf:parameter4>0 - N/A</avrf:parameter4>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3301" Severity="Warning">
            <avrf:message>The Verifier could not get an object&apos;s path name.</avrf:message>
            <avrf:formatmessage>Object: Could not get &apos;pathname&apos; from pathname (\\?\Volume{8f78638b-5bec-11e0-af70-806e6f6e6963}\$Extend\$Reparse:$R:$INDEX_ALLOCATION) due to error 0x5</avrf:formatmessage>
            <avrf:parameter1>fd72088 - Type of name (LPSTR)</avrf:parameter1>
            <avrf:parameter2>4e17f50 - Pathname (LPWSTR)</avrf:parameter2>
            <avrf:parameter3>5 - LastError</avrf:parameter3>
            <avrf:parameter4>0 - N/A</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd75aa4 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd75ad6 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd76531 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd823f7 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!FindFirstVolumeMountPointW+109 ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x332D" Severity="Error">
            <avrf:message>The application was denied access to an object.</avrf:message>
            <avrf:formatmessage>CreateFileW: File (\\?\Volume{8f78638b-5bec-11e0-af70-806e6f6e6963}\$Extend\$Reparse:$R:$INDEX_ALLOCATION) is denied &apos;GENERIC_READ&apos; access with error 0x5.</avrf:formatmessage>
            <avrf:parameter1>5 - Error returned</avrf:parameter1>
            <avrf:parameter2>80000000 - Access Requested (if applicable)</avrf:parameter2>
            <avrf:parameter3>80000000 - Access Requested (for compatibility)</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd8249c ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!FindFirstVolumeMountPointW+109 ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3301" Severity="Warning">
            <avrf:message>The Verifier could not get an object&apos;s path name.</avrf:message>
            <avrf:formatmessage>Object: Could not get &apos;pathname&apos; from pathname (c:\programpath\Debug\MFCAsci.exe\) due to error 0x7b</avrf:formatmessage>
            <avrf:parameter1>fd72088 - Type of name (LPSTR)</avrf:parameter1>
            <avrf:parameter2>3624f40 - Pathname (LPWSTR)</avrf:parameter2>
            <avrf:parameter3>7b - LastError</avrf:parameter3>
            <avrf:parameter4>0 - N/A</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd75aa4 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd75ad6 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd76531 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd823f7 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumePathNameW+5d ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+712 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x332E" Severity="Warning">
            <avrf:message>The application called an API that failed unexpectedly, possibly due to bad parameters.</avrf:message>
            <avrf:formatmessage>CreateFileW: File (c:\programpath\Debug\MFCAsci.exe\) is denied &apos;&apos; access with error 0x7b.</avrf:formatmessage>
            <avrf:parameter1>7b - Error returned</avrf:parameter1>
            <avrf:parameter2>0 - Access Requested (if applicable)</avrf:parameter2>
            <avrf:parameter3>0 - Access Requested (for compatibility)</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd82468 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumePathNameW+5d ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+712 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3301" Severity="Warning">
            <avrf:message>The Verifier could not get an object&apos;s path name.</avrf:message>
            <avrf:formatmessage>Object: Could not get &apos;pathname&apos; from pathname (c:\users\xxxxx\AppVerifierLogs\MFCAsci.exe.3.dat\) due to error 0x7b</avrf:formatmessage>
            <avrf:parameter1>fd72088 - Type of name (LPSTR)</avrf:parameter1>
            <avrf:parameter2>5fedf78 - Pathname (LPWSTR)</avrf:parameter2>
            <avrf:parameter3>7b - LastError</avrf:parameter3>
            <avrf:parameter4>0 - N/A</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd75aa4 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd75ad6 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd76531 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd823f7 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumePathNameW+5d ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+712 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x332E" Severity="Warning">
            <avrf:message>The application called an API that failed unexpectedly, possibly due to bad parameters.</avrf:message>
            <avrf:formatmessage>CreateFileW: File (c:\users\xxxxx\AppVerifierLogs\MFCAsci.exe.3.dat\) is denied &apos;&apos; access with error 0x7b.</avrf:formatmessage>
            <avrf:parameter1>7b - Error returned</avrf:parameter1>
            <avrf:parameter2>0 - Access Requested (if applicable)</avrf:parameter2>
            <avrf:parameter3>0 - Access Requested (for compatibility)</avrf:parameter3>
            <avrf:parameter4>0 - n/a</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd82468 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7b9b1 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumePathNameW+5d ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+712 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3319" Severity="Warning">
            <avrf:message>Unable to display a security descriptor.</avrf:message>
            <avrf:formatmessage>Could not convert File security descriptor &apos;\Device\HarddiskVolume1\Users&apos; to text due to error 0x8</avrf:formatmessage>
            <avrf:parameter1>4ef9fb8 - Object Name</avrf:parameter1>
            <avrf:parameter2>fd71d5c - Object Type</avrf:parameter2>
            <avrf:parameter3>4efbf50 - Security Descriptor</avrf:parameter3>
            <avrf:parameter4>8 - Win32 Error</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd76d3b ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd77971 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba4c ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumePathNameW+5d ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+712 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3319" Severity="Warning">
            <avrf:message>Unable to display a security descriptor.</avrf:message>
            <avrf:formatmessage>Could not convert File security descriptor &apos;\Device\MountPointManager&apos; to text due to error 0x8</avrf:formatmessage>
            <avrf:parameter1>4f03fc0 - Object Name</avrf:parameter1>
            <avrf:parameter2>fd71d5c - Object Type</avrf:parameter2>
            <avrf:parameter3>4f05f80 - Security Descriptor</avrf:parameter3>
            <avrf:parameter4>8 - Win32 Error</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd76d3b ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd77971 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba4c ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+4c6 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+7a6 ( @ 0)</avrf:trace>
                <avrf:trace>kernel32!GetVolumeInformationW+538 ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+753984ba ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3319" Severity="Warning">
            <avrf:message>Unable to display a security descriptor.</avrf:message>
            <avrf:formatmessage>Could not convert File security descriptor &apos;\Device\Ide\IdeDeviceP0T0L0-0&apos; to text due to error 0x8</avrf:formatmessage>
            <avrf:parameter1>4f15fb8 - Object Name</avrf:parameter1>
            <avrf:parameter2>fd71d5c - Object Type</avrf:parameter2>
            <avrf:parameter3>4f17f70 - Security Descriptor</avrf:parameter3>
            <avrf:parameter4>8 - Win32 Error</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd76d3b ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd77971 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba4c ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+75397b0d ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="LuaPriv" StopCode="0x3319" Severity="Warning">
            <avrf:message>Unable to display a security descriptor.</avrf:message>
            <avrf:formatmessage>Could not convert File security descriptor &apos;\Device\Ide\IdeDeviceP0T0L0-0&apos; to text due to error 0x8</avrf:formatmessage>
            <avrf:parameter1>4f15fb8 - Object Name</avrf:parameter1>
            <avrf:parameter2>fd71d5c - Object Type</avrf:parameter2>
            <avrf:parameter3>4f17f70 - Security Descriptor</avrf:parameter3>
            <avrf:parameter4>8 - Win32 Error</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vfluapriv!+fd76d3b ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd77971 ( @ 0)</avrf:trace>
                <avrf:trace>vfluapriv!+fd7ba4c ( @ 0)</avrf:trace>
                <avrf:trace>SYSFER!+75397b0d ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
        <avrf:logEntry Time="2013-09-04 : 19:11:17" LayerName="Heaps" StopCode="0x13" Severity="Error">
            <avrf:message>First chance access violation for current stack trace.</avrf:message>
            <avrf:parameter1>8 - Invalid address causing the exception.</avrf:parameter1>
            <avrf:parameter2>76f5d6a7 - Code address executing the invalid access.</avrf:parameter2>
            <avrf:parameter3>2bf4f8 - Exception record.</avrf:parameter3>
            <avrf:parameter4>2bf514 - Context record.</avrf:parameter4>
            <avrf:stackTrace>
                <avrf:trace>vrfcore!VerifierRegisterLayerEx+11b ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f696262 ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f696af1 ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f697316 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!RtlReleasePrivilege+114 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!RtlGetGroupSecurityDescriptor+30c ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!RtlGetGroupSecurityDescriptor+211 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!KiUserExceptionDispatcher+f ( @ 0)</avrf:trace>
                <avrf:trace>urlmon!GetPortFromUrlScheme+616c ( @ 0)</avrf:trace>
                <avrf:trace>urlmon!Ordinal293+1c94 ( @ 0)</avrf:trace>
                <avrf:trace>urlmon!GetPortFromUrlScheme+5506 ( @ 0)</avrf:trace>
                <avrf:trace>urlmon!Ordinal293+1a5b ( @ 0)</avrf:trace>
                <avrf:trace>verifier!VerifierGetProviderHelper+ce0d ( @ 0)</avrf:trace>
                <avrf:trace>vrfcore!VerifierTlsSetValue+20b ( @ 0)</avrf:trace>
                <avrf:trace>vfbasics!+f69f544 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!wcsncmp+4c ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!EtwEventRegister+135 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+1d3 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrQueryImageFileKeyOption+d5 ( @ 0)</avrf:trace>
                <avrf:trace>ntdll!LdrInitializeThunk+10 ( @ 0)</avrf:trace>
            </avrf:stackTrace>
        </avrf:logEntry>
    </avrf:logSession>
</avrf:logfile>

+++++++++++++++++++++++++++

我可以从这个日志中得到任何有用的信息吗?

任何帮助将不胜感激。

这是一些代码:

   extern "C" { int MyProc(CHAR *par)};
   void CMFCAsciDoc::SecondThread()
   {
    WorkerThread =
        AfxBeginThread(ThreadProc, &m_ThreadInfo);
   }

ThreadProca 是调用 MyProc 的 C++ 函数,它是纯 C 语言,并且具有完整的消息处理程序,就像典型的 win32 C 应用程序一样。抱歉,代码很长,但我试图让你明白。

4

0 回答 0