beike2001

beike2001

0个粉丝

10

问答

0

专栏

1

资料

beike2001  发布于  2019-06-27 21:06:09
采纳率 0%
10个问答
1550

neon 代码导致oom killer问题求助

 
Detect Cost 51.5681 ms
Detect Cost 4250.35 ms
vs_server invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Backtrace:
[] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c)
r6:00007915 r5:00000359 r4:c0516e60 r3:c05a6b40
[] (dump_stack+0x0/0x1c) from [] (dump_header.isra.16+0x58/0x150)
[] (dump_header.isra.16+0x0/0x150) from [] (oom_kill_process.part.19.constprop.23+0x4c/0x21c)
r8:00000000 r7:00000000 r6:00007915 r5:00000359 r4:c0516e60
[] (oom_kill_process.part.19.constprop.23+0x0/0x21c) from [] (out_of_memory+0x310/0x32c)
[] (out_of_memory+0x0/0x32c) from [] (__alloc_pages_nodemask+0x680/0x694)
[] (__alloc_pages_nodemask+0x0/0x694) from [] (filemap_fault+0x21c/0x3f4)
[] (filemap_fault+0x0/0x3f4) from [] (__do_fault+0x70/0x498)
[] (__do_fault+0x0/0x498) from [] (handle_pte_fault+0x74/0x60c)
[] (handle_pte_fault+0x0/0x60c) from [] (handle_mm_fault+0x80/0xb4)
[] (handle_mm_fault+0x0/0xb4) from [] (do_page_fault+0x164/0x27c)
[] (do_page_fault+0x0/0x27c) from [] (do_PrefetchAbort+0x3c/0xa0)
[] (do_PrefetchAbort+0x0/0xa0) from [] (ret_from_exception+0x0/0x10)
Exception stack(0xc6e3bfb0 to 0xc6e3bff8)
bfa0:                                     000002dc 00000000 00000000 00000000
bfc0: 0000003d b5184ca0 00000000 15555555 000002dc 15555555 00000000 00000000
bfe0: 0064a4f0 b5184940 00230414 b6e7a858 28000010 ffffffff
r8:000002dc r7:15555555 r6:ffffffff r5:28000010 r4:b6e7a858
Mem-info:
Normal per-cpu:
CPU    0: hi:   42, btch:   7 usd:  44
active_anon:27443 inactive_anon:0 isolated_anon:0
active_file:112 inactive_file:201 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:345 slab_reclaimable:119 slab_unreclaimable:1241
mapped:118 shmem:1 pagetables:100 bounce:0
Normal free:1380kB min:1440kB low:1800kB high:2160kB active_anon:109772kB inactive_anon:0kB active_file:448kB inactive_file:804kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:130048kB mlocked:0kB dirty:0kB writeback:0kB mapped:472kB shmem:4kB slab_reclaimable:476kB slab_unreclaimable:4964kB kernel_stack:440kB pagetables:400kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1954 all_unreclaimable? yes
lowmem_reserve[]: 0 0
Normal: 5*4kB 6*8kB 6*16kB 4*32kB 5*64kB 4*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1380kB
314 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap  = 0kB
Total swap = 0kB
32768 pages of RAM
468 free pages
1771 reserved pages
848 slab pages
196 pages shared
0 pages swap cached
[ pid ]   uid  tgid total_vm      rss cpu oom_adj oom_score_adj name
[  645]     0   645      267       31   0     -17         -1000 udevd
[  715]     0   715      267       30   0     -17         -1000 udevd
[  724]     0   724      267       31   0     -17         -1000 udevd
[  909]     0   909      445       24   0       0             0 sh
[ 1145]     0  1145     2348       35   0       0             0 webs
[ 1148]     0  1148    54157    27426   0       0             0 vs_server
Out of memory: Kill process 1148 (vs_server) score 857 or sacrifice child
Killed process 1148 (vs_server) total-vm:216628kB, anon-rss:109260kB, file-rss:444kB
MMB LEAK(pid=1157): 0x9E4BB000, 1384448 bytes, ''
mmz_userdev_release: mmb<0x9E4BB000> mapped to userspace 0xb1635000 will be force unmaped!
MMB LEAK(pid=1157): 0x9E60D000, 2764800 bytes, ''
mmz_userdev_release: mmb<0x9E60D000> mapped to userspace 0xb1392000 will be force unmaped!

改为neon 指令代码之前的c代码是没有问题的,改为neon指令执行后,程序crash
以上为出错的串口log信息。呼叫论坛大牛指点迷津,非常感谢。
我来回答
回答0个
时间排序
认可量排序
易百纳技术社区暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区