我有一个简单的tidesdk程序与php模块,其中包含一个简单的表单和一个处理此表单的php文件。
一切正常。但是当我提交表单时程序崩溃并引发一个异常,如下所示。
我正在通过tidesdk开发人员运行该程序。
这是表格。
<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.
答案 0 :(得分:1)
当您运行Microsoft基础类(MFC)应用程序时,您可以 收到访问冲突错误消息。
通常,如果满足以下条件,则会出现此问题:
- 运行MFC应用程序的文件夹的名称包含 百分比符号(%)。
- 您在个人资料下创建MFC应用程序 文件夹中。
您似乎将项目放在用户文件夹中:
C:\Users\Jay\Desktop\hsm-test\dist\win32\HelloWorld\HelloWorld.exe
仍然引用:
修补程序信息
现在可以从Microsoft获得支持的修补程序,但它只是 旨在纠正本文中描述的问题。 仅将其应用于遇到此特定问题的系统。 此修补程序可能会收到其他测试。因此,如果你不是 受此问题严重影响,我们建议您等待 下一个包含此的Microsoft Visual Studio 2005 Service Pack 修复程序。
要立即解决此问题,请与Microsoft产品支持联系 获取此修补程序的服务。有关Microsoft的完整列表 产品支持服务电话号码和信息 支持费用,请访问以下Microsoft网站: http://support.microsoft.com/contactus/?ws=support