WINCE下的APP程序报Exception 'User Stack Overflow'异常,怎么解决?

xqhrs232 2012-08-07 05:53:27
WINCE下的APP程序报Exception 'User Stack Overflow'异常,怎么解决?
...全文
296 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
xqhrs232 2012-08-08
  • 打赏
  • 举报
回复
我的平台就是GRegisterImagingNotifyWnd这个函数在做怪!来回多次调用就报USER STACK OVERFLOW了。
xqhrs232 2012-08-08
  • 打赏
  • 举报
回复
今天调整了一下DEBUG的方式,DEBUG了一下,出现STACK OVERFLOW时去看汇编代码,看在那个函数出的问题,对应把那个函数屏掉就OK了,想不明白。算暂时解决吧!!!还没长时间测试,不知道是不是那个函数的问题!!!
qthsrs232 2012-08-07
  • 打赏
  • 举报
回复
wince R2 打补丁 081231 后出现堆栈溢出
http://topic.csdn.net/u/20091105/14/0605a1ee-29d9-44f3-93b7-79402f594537.html



各位大哥,
我的 WINCE6。0 升级到 R2 版本后运行一切正常,
当我装上 081231 的补丁后就出现堆栈溢出了,
调试信息如下,
OEMLaunch:Physical Address 0xA0501000(Virtual Address 0x80501000)

Windows CE Kernel for ARM (Thumb Enabled) Built on Nov 24 2008 at 14:58:01
+OEMInit
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
OEM: Force clean boot.
-OEMInit
!!! Committed last page of the stack (0xd0230018), SEH bypassed, thread terminated !!!
Exception 'User Stack Overflow' (-3): Thread-Id=00920002(pth=87f95120), Proc-Id=00400002(pprc=827c9308) 'NK.EXE', VM-active=00400002(pprc=827c9308) 'NK.EXE'
PC=c003f4e0(k.coredll.dll+0x0001f4e0) RA=d0040000(???+0xd0040000) SP=d023f860, BVA=d0230018

请高手指点一下,怎么样修改才能解决这问题~!

xqhrs232 2012-08-07
  • 打赏
  • 举报
回复
调整VS2005中的STACK SIZE没有作用啊!!!
xqhrs232 2012-08-07
  • 打赏
  • 举报
回复
请高手指教,在vs2005中如何设置栈的大小?
http://topic.csdn.net/u/20090427/18/d0daee6c-9fe9-4924-9aff-d55ad9f31577.html

VS2005 stack overflow的问题
http://blog.csdn.net/virtualdesk/article/details/5636005
xqhrs232 2012-08-07
  • 打赏
  • 举报
回复
具体的串口消息如下



Exception 'User Stack Overflow' (-3): Thread-Id=07de00a2(pth=8f043264), Proc-Id=07dc00a6(pprc=8eb5d3c0) myAPP.exe', VM-active=07dc00a6(pprc=8eb5d3c0) myAPP.exe'
PC=0006cf90(myAPP.exe+0x0005cf90) RA=0006d0c4(myAPP.exe+0x0005d0c4) SP=00121ff4, BVA=00121fe4


Exception 'Raised Exception' (-1): Thread-Id=07de00a2(pth=8f043264), Proc-Id=00400002(pprc=8c918308) 'NK.EXE', VM-active=07dc00a6(pprc=8eb5d3c0) myAPP.exe'
PC=c003ba9c(k.coredll.dll+0x0001ba9c) RA=8c11c520(kernel.dll+0x00006520) SP=d115f558, BVA=ffffffff

!!! Committed last page of the stack (0x00120fe8), SEH bypassed, thread terminated !!!

Exception 'User Stack Overflow' (-3): Thread-Id=07de00a2(pth=8f043264), Proc-Id=07dc00a6(pprc=8eb5d3c0) myAPP.exe', VM-active=07dc00a6(pprc=8eb5d3c0) myAPP.exe'

PC=0006cf90(myAPP.exe+0x0005cf90) RA=0006d0c4(myAPP.exe+0x0005d0c4) SP=00120ff8, BVA=00120fe8

SetWaveFormDataState ,m_dwMuteEventData(0X100)-----
SetWaveFormDataState After SetEventData ,EventData(0X100)-----

Exception 'Data Abort' (4): Thread-Id=07de00a2(pth=8f043264), Proc-Id=07dc00a6(pprc=8eb5d3c0) myAPP.exe', VM-active=07dc00a6(pprc=8eb5d3c0) myAPP.exe'
PC=0006cf90(myAPP.exe+0x0005cf90) RA=0006d0c4(myAPP.exe+0x0005d0c4) SP=0011fff4, BVA=0011ffe4

19,520

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧