WinCE 系统刚启动时运行应用,在应用启动时偶尔出现异常
生活随笔
收集整理的這篇文章主要介紹了
WinCE 系统刚启动时运行应用,在应用启动时偶尔出现异常
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
以下是出錯時,串口輸出的 LOG:
...... Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=00054828, BVA=00001003 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(core lw.illo0t0o06r7(4 SW=I0E54EeS,OBVE=E0T01 03 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=00053ba8, BVA=00001003 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=00053568, BVA=00001003 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=00052f28, BVA=00001003 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=000528e8, BVA=00001003 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=000522a8, BVA=00001003 Exception 'User Stack Overflow' (0xfffffffd): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=400666a4(coredll.dll+0x000566a4) RA=4002ed34(coredll.dll+0x0001ed34) SP=00051d3c, BVA=00051d1c Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=000516fc, BVA=00000004 Exception 'Data Abort' (0x4): Thread-Id=05fe00b2(pth=c0869000), Proc-Id=053f00be(pprc=c087ba2c) 'MyTest.exe', VM-active=053f00be(pprc=c087ba2c) 'MyTest.exe' PC=4007a930(coredll.dll+0x0006a930) RA=4007a794(coredll.dll+0x0006a794) SP=000510bc, BVA=00001003 !!! Committed last page of the stack (0x00001003) or invalid stack pointer (0x000510bc), SEH bypassed, thread terminated !!!?
其中關鍵信息:
(1) Exception 'User Stack Overflow' (0xfffffffd)
(2) !!! Committed last page of the stack (0x00001003) or invalid stack pointer (0x000510bc), SEH bypassed, thread terminated !!!
由于是偶爾出現的問題,目前還沒有找到引起上述異常信息的原因。
修改了工程的屬性中:
配置屬性->鏈接器->系統 下的:
(1) 堆棧保留大小 65536 修改為 131072
(2) 堆棧提交大小 4096 修改為 8192
都擴大了2倍。
以下修改是否有效,還需要進一步測試與驗證。
轉載于:https://www.cnblogs.com/91program/p/5216570.html
總結
以上是生活随笔為你收集整理的WinCE 系统刚启动时运行应用,在应用启动时偶尔出现异常的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: hotcss用法
- 下一篇: ASP.NET内置对象的总结