当前位置: 代码迷 >> Symbian >> 没法定位Kern exec 3出错的地方
  详细解决方案

没法定位Kern exec 3出错的地方

热度:3411   发布时间:2013-02-26 00:00:00.0
无法定位Kern exec 3出错的地方
最近写了一个symbian下的程序,关于视频播放的,结果在模拟器下播放一定的时间会出现kern exec 3错误。
因为该错误出现在程序运行过程中,所以很难跟踪。
想请问下,一般这个错误会有什么原因。怎样定位出错的地方呢?
希望有同样经历的人可以谈谈自己的经验!
------最佳解决方案--------------------------------------------------------
写log找到错误位置
------其他解决方案--------------------------------------------------------
一般这个错误会有什么原因。怎样定位出错的地方呢?

Symbian OS v9.1 ? Symbian OS reference ? System panic reference ? KERN-EXEC


This panic is raised when an unhandled exception occurs. Exceptions have many causes, but the most common are access violations caused, for example, by dereferencing NULL. Among other possible causes are: general protection faults, executing an invalid instruction, alignment checks, etc. 

多半是指针删除了多次,除非确认不再使用,删除后设置为NULL,对速度的影响很微小
------其他解决方案--------------------------------------------------------
顶楼上大哥,这种问题打Log直接
------其他解决方案--------------------------------------------------------
分析一下,crash bin 直接定位!
------其他解决方案--------------------------------------------------------
一般都是空指针引起的!
------其他解决方案--------------------------------------------------------
空指针引起的,写log是个好习惯
  相关解决方案