当前位置: 技术问答>linux和unix
谁能帮忙解释一下程序退出的错误信息。
来源: 互联网 发布时间:2016-07-22
本文导语: 异常退出的信息如下: Unable to handle kernel paging request at virtual address c532104a pgd = c5264000 [c532104a] *pgd=8520041e(bad) Internal error: Oops: 1 [#4] Modules linked in: adv7179 adv7401 dsplinkk cmemk fpgaDrv CPU: 0 PC is at udp_rec...
异常退出的信息如下:
Unable to handle kernel paging request at virtual address c532104a
pgd = c5264000
[c532104a] *pgd=8520041e(bad)
Internal error: Oops: 1 [#4]
Modules linked in: adv7179 adv7401 dsplinkk cmemk fpgaDrv
CPU: 0
PC is at udp_recvmsg+0x190/0x228
LR is at 0x2020c7b9
pc : [] lr : [] Tainted: GF
sp : c5173d60 ip : 00000000 fp : c5173da4
r10: 00000524 r9 : 00000000 r8 : c5173ed4
r7 : 000005dc r6 : c55f49a0 r5 : c5173f54 r4 : c564e4e0
r3 : c532103e r2 : c55f4a98 r1 : 00000008 r0 : c5173edc
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 5317F
Table: 85264000 DAC: 00000015
Process evmDemoApp_dm64 (pid: 646, stack limit = 0xc5172258)
Stack: (0xc5173d60 to 0xc5174000)
3d60: 60000013 e1083380 c064f260 00000000 00000000 00000000 c5173e04 c0340358
3d80: c5173f54 000005dc 00000040 c5173f54 c5172000 00000000 c5173dd4 c5173da8
3da0: c0249a30 c028d28c 00000040 00000000 c5173dbc 04000000 00000001 00000010
3dc0: c5173de0 c5685800 c5173ecc c5173dd8 c02474c0 c02499f4 00000040 c064f0bc
3de0: c064f000 c03af064 00000000 00000001 ffffffff 00000000 00000000 00000000
3e00: 00000000 00000000 c0573ca0 0000012c 00000000 00000000 00000001 c0573ca0
3e20: c005d444 c5173e24 c5173e24 c5173e38 c0051ae0 c003c598 c5173e60 45d3ab98
3e40: 3b8f0e06 0001fa97 c5173e94 c5173e58 c0051ae0 c003c598 c03996bc c063a260
3e60: 3b8f2325 0001fa97 00000040 000005dc c5685800 c03996f0 00000000 c5173f54
3e80: c5173f70 00000000 c5173eb4 c5173e98 c0060d54 c063a260 c032c058 c4f47f24
3ea0: c4f47f20 c063a260 c5173ed4 00000040 000005dc 47b41000 c5173ed4 c56118c0
3ec0: c5173fa4 c5173ed0 c0248f78 c02473cc c006069c 00080002 3b8f2325 0001fa97
3ee0: 00000000 00000000 00000001 c5172000 c063a260 c0573ca0 c5173f6c c5173f08
3f00: c004b090 c00605d0 00000001 00000000 00000000 c5173f30 c5172000 c5173f78
3f20: 00000000 00000000 00000000 00000001 00000000 00000000 c5173f6c c5173f48
3f40: c008e408 45d39fa0 00000000 00000000 40042000 c5173ed4 00000080 c5173f70
3f60: 00000001 00000000 00000000 c004b398 47b41524 000000b8 00000001 00000000
3f80: 00000000 00000000 40042000 00000124 c0031f88 00000000 00000000 c5173fa8
3fa0: c0031f58 c0248ef0 00000000 00000000 0000001b 47b41000 000005dc 00000040
3fc0: 00000000 00000000 40042000 00000124 40042000 003d0f00 4002a85c 45d3ae34
3fe0: 00000000 45d39fa8 400344f4 40035084 80000010 0000001b f69bdcf6 925c8fea
Backtrace:
[] (udp_recvmsg+0x0/0x228) from [] (sock_common_recvmsg+0x4c/0x60)
[] (sock_common_recvmsg+0x0/0x60) from [] (sock_recvmsg+0x104/0x130)
r5 = C5685800 r4 = C5173DE0
[] (sock_recvmsg+0x0/0x130) from [] (sys_recvfrom+0x98/0xf0)
r8 = C56118C0 r7 = C5173ED4 r6 = 47B41000 r5 = 000005DC
r4 = 00000040
[] (sys_recvfrom+0x0/0xf0) from [] (__sys_trace_return+0x0/0x28)
Code: e2880008 e1d330b0 e3a01008 e1c830b2 (e5943020)
Unable to handle kernel paging request at virtual address c532104a
pgd = c5264000
[c532104a] *pgd=8520041e(bad)
Internal error: Oops: 1 [#4]
Modules linked in: adv7179 adv7401 dsplinkk cmemk fpgaDrv
CPU: 0
PC is at udp_recvmsg+0x190/0x228
LR is at 0x2020c7b9
pc : [] lr : [] Tainted: GF
sp : c5173d60 ip : 00000000 fp : c5173da4
r10: 00000524 r9 : 00000000 r8 : c5173ed4
r7 : 000005dc r6 : c55f49a0 r5 : c5173f54 r4 : c564e4e0
r3 : c532103e r2 : c55f4a98 r1 : 00000008 r0 : c5173edc
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 5317F
Table: 85264000 DAC: 00000015
Process evmDemoApp_dm64 (pid: 646, stack limit = 0xc5172258)
Stack: (0xc5173d60 to 0xc5174000)
3d60: 60000013 e1083380 c064f260 00000000 00000000 00000000 c5173e04 c0340358
3d80: c5173f54 000005dc 00000040 c5173f54 c5172000 00000000 c5173dd4 c5173da8
3da0: c0249a30 c028d28c 00000040 00000000 c5173dbc 04000000 00000001 00000010
3dc0: c5173de0 c5685800 c5173ecc c5173dd8 c02474c0 c02499f4 00000040 c064f0bc
3de0: c064f000 c03af064 00000000 00000001 ffffffff 00000000 00000000 00000000
3e00: 00000000 00000000 c0573ca0 0000012c 00000000 00000000 00000001 c0573ca0
3e20: c005d444 c5173e24 c5173e24 c5173e38 c0051ae0 c003c598 c5173e60 45d3ab98
3e40: 3b8f0e06 0001fa97 c5173e94 c5173e58 c0051ae0 c003c598 c03996bc c063a260
3e60: 3b8f2325 0001fa97 00000040 000005dc c5685800 c03996f0 00000000 c5173f54
3e80: c5173f70 00000000 c5173eb4 c5173e98 c0060d54 c063a260 c032c058 c4f47f24
3ea0: c4f47f20 c063a260 c5173ed4 00000040 000005dc 47b41000 c5173ed4 c56118c0
3ec0: c5173fa4 c5173ed0 c0248f78 c02473cc c006069c 00080002 3b8f2325 0001fa97
3ee0: 00000000 00000000 00000001 c5172000 c063a260 c0573ca0 c5173f6c c5173f08
3f00: c004b090 c00605d0 00000001 00000000 00000000 c5173f30 c5172000 c5173f78
3f20: 00000000 00000000 00000000 00000001 00000000 00000000 c5173f6c c5173f48
3f40: c008e408 45d39fa0 00000000 00000000 40042000 c5173ed4 00000080 c5173f70
3f60: 00000001 00000000 00000000 c004b398 47b41524 000000b8 00000001 00000000
3f80: 00000000 00000000 40042000 00000124 c0031f88 00000000 00000000 c5173fa8
3fa0: c0031f58 c0248ef0 00000000 00000000 0000001b 47b41000 000005dc 00000040
3fc0: 00000000 00000000 40042000 00000124 40042000 003d0f00 4002a85c 45d3ae34
3fe0: 00000000 45d39fa8 400344f4 40035084 80000010 0000001b f69bdcf6 925c8fea
Backtrace:
[] (udp_recvmsg+0x0/0x228) from [] (sock_common_recvmsg+0x4c/0x60)
[] (sock_common_recvmsg+0x0/0x60) from [] (sock_recvmsg+0x104/0x130)
r5 = C5685800 r4 = C5173DE0
[] (sock_recvmsg+0x0/0x130) from [] (sys_recvfrom+0x98/0xf0)
r8 = C56118C0 r7 = C5173ED4 r6 = 47B41000 r5 = 000005DC
r4 = 00000040
[] (sys_recvfrom+0x0/0xf0) from [] (__sys_trace_return+0x0/0x28)
Code: e2880008 e1d330b0 e3a01008 e1c830b2 (e5943020)
|
OS使用请业机制在将你请求的虚拟地址转换成物理地址时,发现你虚拟地址c532104a为内核地址(0xC0000000-0xffffffff为内核地址空间),此时有异常发生。
|
OS使用请业机制在将你请求的虚拟地址转换成物理地址时,发现你虚拟地址c532104a为内核地址(0xC0000000-0xffffffff为内核地址空间),此时有异常发生。
|
可能你的代码中存在内存泄露,长时间运行后可能会出现虚地址无效以及可用的物理内存越来越少。
我只是猜测而已,最好贴下代码!
|
内存泄露可以使用代码检查工具检查出来的,
用valgrind检查一下代码试试。
用valgrind检查一下代码试试。
|
可能是你操作了不该你操作的地址,0xc532104a是内核空间了,确定你有没有权限
|
引用非法地址通常不太像内存泄漏,很可能是使用了已释放的指针,或者是别的什么不该用的地址访问。通常这种情况之下的看栈没有任何意义。