当前位置: 代码迷 >> VxWorks >> (急)Page Fault有关问题
  详细解决方案

(急)Page Fault有关问题

热度:797   发布时间:2013-02-26 00:00:00.0
(急)Page Fault问题求助
我的vxworks系统启动之后,一运行项目就出现Page Fault的错误,信息如下:

(Tornado里显示的信息)
Exception number 14: Task: 0x7f362ec4 (tMyProject)

Page Fault
Program Counter: 0x081af6c7
Status Register: 0x00010286
Error Code : 0x00000002
8148b73 iseUsrRoot +b3 : CWDevInit ([eeeeeeee, &vxTaskEntry, 0, 31c0bc, 0])
8156c2a CWDevInit +81a: drv423 ([eeeeeeee, eeeeeeee, eeeeeeee, eeeeeeee, eeeeeeee])
816be87 drv423 +167: ser2tyCoDrv (7f361ca4, 7f361c98, 7f361c0a, 7)
81afce7 ser2tyCoDrv +347: 81b5b40 (82ed6d0, 0, 7, 0)
81b5b97 ser2tyCo485Set +16e7: 81b4d10 (82ed6d0, a, 10, 8)
81b4d85 ser2tyCo485Set +8d5: OutReg (90, 0, febff000, 81b3c60)

(串口输出的信息)
Page Fault
Page Dir Base : 0x7f3f2000
Esp0 0x7f361bbc : 0x00000000, 0x00000000, 0x7f361c14, 0x081b5467
Esp0 0x7f361bcc : 0x00000007, 0x00000000, 0x7f361bf4, 0x081b4d8a
Program Counter : 0x081af6c7
Code Selector : 0x00000008
Eflags Register : 0x00010286
Error Code : 0x00000002
Page Fault Addr : 0xfebff090 
Task: 0x7f362ec4 "tMyProject"


-> lkAddr 0x00010286
wrs_kernel_text_start 0x00308000 text (vxWorks)
_sysInit 0x00308000 text (vxWorks)
_wrs_kernel_text_start 0x00308000 text (vxWorks)
sysInit 0x00308000 text (vxWorks)
sysInByte 0x00308080 text (vxWorks)
sysInWord 0x00308090 text (vxWorks)
sysInLong 0x003080a0 text (vxWorks)
sysOutByte 0x003080b0 text (vxWorks)
sysOutWord 0x003080c0 text (vxWorks)
sysOutLong 0x003080d0 text (vxWorks)
sysInWordString 0x003080e0 text (vxWorks)
sysInLongString 0x00308100 text (vxWorks)
value = 0 = 0x0
-> 

-> lkAddr 0xfebff090
_dtors 0x0829c2c0 data (cise_f.out)





这个怎么去查问题原因啊。

------解决方案--------------------------------------------------------
单步执行你的任务,看执行到哪一步出错
------解决方案--------------------------------------------------------
如果单步执行不方便,在任务重插桩打印信息,看打印到那个地方就报错
------解决方案--------------------------------------------------------
1.先看传入的参数是否正确,调用方法是否正确?
2.如果确定是对方驱动库有问题,就要对方的技术支持了!
这种错误在vxworks下比较常见!
------解决方案--------------------------------------------------------
直接找售后
------解决方案--------------------------------------------------------
直接找风河
  相关解决方案