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

无法定位Kern exec 3出错的地方解决办法

热度:6814   发布时间: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,对速度的影响很微小
  相关解决方案