2

我有一个带有 php 模块的简单潮汐dk 程序,其中包含一个简单的表单和一个处理此表单的 php 文件。

一切正常。但是当我提交表单时,程序崩溃并抛出下面列出的异常。

我正在通过潮汐dk 开发人员运行该程序。

这是表格。

<form action="login.php">
                        <table style="margin: 0 auto; width: 250px;">
                            <tr>
                                <td style="padding-top: 20px;">
                                    <div class="input-group margin-bottom-sm"> 
                                        <span class="input-group-addon"> 
                                            <i class="fa fa-user fa-fw"></i>
                                         </span>
                                        <input name="username" class="form-control custom-input" type="text" placeholder="Username" id="focusedInput">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top: 15px;">
                                    <div class="input-group"> 
                                        <span class="input-group-addon">
                                            <i class="fa fa-key fa-fw"></i>
                                         </span>
                                        <input name="password" class="form-control" type="password" placeholder="Password">
                                        <input id='loginSubmit' name='loginSubmit' type="hidden" value="<?php print md5(time()); ?>">
                                  </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-top: 15px;">
                                    <button name="login" id="login" type="submit" class="btn-inverse button-custom" data-section="2">
                                        Sign In
                                        <i class="fa fa-sign-in fa-fw"></i>
                                    </button>
                                </td>
                            </tr>
                        </table>
                    </form>

这是处理表单的 php 文件。

 <?php 

      print_r($_GET);

?>

这是我得到的例外。

Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.

我在 Windows 8 Pro - 64 位上运行它。但我也在 32 位版本的 XP 和 Windows 7 上尝试过这个,但得到了同样的例外。

谁能帮我解决这个问题?

提前致谢。

这是应用程序的完整跟踪。

'HelloWorld.exe' (Win32): Loaded 'C:\Users\Jay\Desktop\hsm-test\dist\win32\HelloWorld\HelloWorld.exe'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d\msvcp80.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d\msvcr80.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\tide.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoFoundation.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\WebKit.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\icuuc40.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\libproxy.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\CFLite.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\JavaScriptCore.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\libcurl.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\libxml2.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\icuin40.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\icudt40.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\pthreadVC2.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wsock32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Wldap32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\libeay32.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\ssleay32.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\zlib1.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\app\1.3.1-beta\tideapp.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoUtil.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoXML.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\codec\1.3.1-beta\tidecodec.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoZip.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\database\1.3.1-beta\tidedatabase.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoData.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoSQLite.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\filesystem\1.3.1-beta\tidefilesystem.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\media\1.3.1-beta\tidemedia.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\monkey\1.3.1-beta\tidemonkey.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\network\1.3.1-beta\tidenetwork.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\PocoNet.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\platform\1.3.1-beta\tideplatform.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\runtime\win32\1.3.1-beta\cairo.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msimg32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\process\1.3.1-beta\tideprocess.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\ui\1.3.1-beta\tideui.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comdlg32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.16384_none_a9f4965301334e09\comctl32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\worker\1.3.1-beta\tideworker.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\php\1.3.1-beta\tidephp.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\php\1.3.1-beta\php5ts.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\odbc32.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\php\1.3.1-beta\php_gd2.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\ProgramData\TideSDK\modules\win32\php\1.3.1-beta\php_curl.dll'. Module was built without symbols.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WindowsCodecs.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dhcpcsvc6.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mlang.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\NapiNSP.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\pnrpnsp.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nlaapi.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winrnr.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'. Cannot find or open the PDB file.
'HelloWorld.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'. Cannot find or open the PDB file.
The thread 0xf80 has exited with code 0 (0x0).
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
First-chance exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
The thread 0x1d50 has exited with code 0 (0x0).
Unhandled exception at 0x738573BD (msvcr80.dll) in HelloWorld.exe: 0xC0000005: Access violation reading location 0x88001200.
4

1 回答 1

1

引用微软支持

当您运行 Microsoft 基础类 (MFC) 应用程序时,您可能会收到访问冲突错误消息。

通常,如果满足以下条件,则会出现此问题:

  • 运行 MFC 应用程序的文件夹的名称包含百分号 (%)。
  • 您在配置文件文件夹下创建 MFC 应用程序。

您的用户文件夹中似乎有您的项目:

C:\Users\Jay\Desktop\hsm-test\dist\win32\HelloWorld\HelloWorld.exe

仍然引用:

修补程序信息

Microsoft 现已提供受支持的修补程序,但它仅用于解决本文中描述的问题。仅将其应用于遇到此特定问题的系统。此修补程序可能会接受额外的测试。因此,如果此问题没有对您造成严重影响,我们建议您等待包含此修复程序的下一个 Microsoft Visual Studio 2005 服务包。

要立即解决此问题,请联系 Microsoft 产品支持服务以获取此修复程序。有关 Microsoft 产品支持服务电话号码的完整列表和有关支持费用的信息,请访问以下 Microsoft 网站: http: //support.microsoft.com/contactus/ ?ws=support

于 2013-11-17T11:00:49.730 回答