微信用户

微信用户

1个粉丝

87

问答

0

专栏

3

资料

微信用户  发布于  2019-10-23 16:01:37
采纳率 0%
87个问答
2208

11!!11!

 
[code]sample_vio invoked oom-killer: gfp_mask=0x24201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=0, order=0, oom_score_adj=0
CPU: 0 PID: 1552 Comm: sample_vio Tainted: P           O    4.9.37 #8
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
Call trace:
[] dump_backtrace+0x0/0x198
[] show_stack+0x14/0x20
[] dump_stack+0x94/0xb8
[] dump_header.isra.5+0x5c/0x170
[] oom_kill_process+0x29c/0x4b8
[] out_of_memory+0xd0/0x3d8
[] __alloc_pages_nodemask+0xa98/0xab0
[] filemap_fault+0x32c/0x4e8
[] ext4_filemap_fault+0x38/0x58
[] __do_fault+0x68/0x108
[] handle_mm_fault+0x76c/0xbb8
[] do_page_fault+0x278/0x308
[] do_mem_abort+0x40/0xc0
Exception stack(0xffffffc01ff87df0 to 0xffffffc01ff87f20)
7de0:                                   0000000000000000 0000007f8270b8d0
7e00: 00000000ffffffff 0000007f88422a98 0000000080000000 ffffffc01fd23900
7e20: ffffffc01ff87e90 ffffff80080eef0c 0000007f8270a960 0000007f8270b8d0
7e40: ffffffc01ff87e80 ffffffc01ff87e48 0000000000000000 0000000000000000
7e60: ffffffc01ff87e80 ffffff80080876d8 0000000000000008 ffffffc01ff84000
7e80: 0000000000000000 ffffff8008082e0c 0000000000000000 ffffff8008082b44
7ea0: 00000000ffffffff 0000007f88422a98 0000000080000000 0000000000000015
7ec0: 0000000000000000 0000007f8270a960 00000000ffffffbb 0000007f8270a8ec
7ee0: 0000007f8270b2e8 0000007f8270b1e0 0000007f8270b8d0 0000000000000000
7f00: 0000000000000065 0000007f88499d48 0000000000000000 0000000000000030
[] do_el0_ia_bp_hardening+0x8c/0xb0
Exception stack(0xffffffc01ff87ea0 to 0xffffffc01ff87fd0)
7ea0: 00000000ffffffff 0000007f88422a98 0000000080000000 0000000000000015
7ec0: 0000000000000000 0000007f8270a960 00000000ffffffbb 0000007f8270a8ec
7ee0: 0000007f8270b2e8 0000007f8270b1e0 0000007f8270b8d0 0000000000000000
7f00: 0000000000000065 0000007f88499d48 0000000000000000 0000000000000030
7f20: 0000000000000000 0000000000000000 0000000000000002 0000000000000001
7f40: 0000000000000000 0000007f88422890 0000000000000000 0000000000000040
7f60: 0000007f8270b8d0 0000000000000000 0000000000518000 0000000000631000
7f80: 000000000000001d 0000000080247009 0000000000000001 0000000000631000
7fa0: 0000000000518350 0000007f8270a930 0000007f88422a88 0000007f8270a8f0
7fc0: 0000007f88422a98 0000000080000000
[] el0_ia+0x18/0x1c
Mem-Info:
active_anon:109136 inactive_anon:0 isolated_anon:0
active_file:59 inactive_file:69 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
slab_reclaimable:391 slab_unreclaimable:2550
mapped:51 shmem:1 pagetables:340 bounce:0
free:2021 free_pcp:43 free_cma:768
Node 0 active_anon:436544kB inactive_anon:0kB active_file:236kB inactive_file:276kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:204kB dirty:0kB writeback:0kB shmem:4kB writeback_tmp:0kB unstable:0kB pages_scanned:21899 all_unreclaimable? yes
DMA free:8084kB min:8192kB low:10240kB high:12288kB active_anon:436544kB inactive_anon:0kB active_file:236kB inactive_file:276kB unevictable:0kB writepending:0kB present:524288kB managed:496404kB mlocked:0kB slab_reclaimable:1564kB slab_unreclaimable:10200kB kernel_stack:1504kB pagetables:1360kB bounce:0kB free_pcp:172kB local_pcp:172kB free_cma:3072kB
lowmem_reserve[]: 0 0 0
DMA: 5*4kB (UE) 20*8kB (UEC) 18*16kB (E) 14*32kB (UEC) 6*64kB (UEC) 3*128kB (EC) 5*256kB (UEC) 2*512kB (EC) 0*1024kB 2*2048kB (UC) 0*4096kB = 8084kB
145 total pagecache pages
131072 pages RAM
0 pages HighMem/MovableOnly
6971 pages reserved
1024 pages cma reserved
[ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
[  891]     0   891      473       38       5       3        0         -1000 udevd
[  908]     0   908      473       45       5       3        0         -1000 udevd
[  911]     0   911      473       39       5       3        0         -1000 udevd
[ 1538]     0  1538      831       11       5       3        0             0 sh
[ 1542]     0  1542      831       12       4       3        0             0 exe
[ 1545]     0  1545   197510   108944     309       4        0             0 sample_vio
Out of memory: Kill process 1545 (sample_vio) score 853 or sacrifice child
Killed process 1545 (sample_vio) total-vm:790040kB, anon-rss:435776kB, file-rss:0kB, shmem-rss:0kB
oom_reaper: reaped process 1545 (sample_vio), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Killed
mmz_userdev:mmz_userdev_release: MMB LEAK(pid=1545): 0xA7365000, 33177600 bytes, ''
mmz_userdev:mmz_userdev_release: mmb<0xa7365000> mapped to userspace 0x0000007f8370c000 will be unmaped!
[/code]
我来回答
回答4个
时间排序
认可量排序

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2019-10-23 16:08:46
认可0
out of memory

goodman

4个粉丝

30

问答

18

专栏

17

资料

goodman 2019-10-23 19:09:01
认可0
内存泄漏了,oom 杀掉进程了

微信用户

1个粉丝

87

问答

0

专栏

3

资料

微信用户 2019-10-24 15:37:36
认可0
使用SDL库 做 字符的叠加, 一直保持修改。网上说SDL 会有内存泄漏。  我确实top 发现 内存在增加。感觉自己的软件没问题。

微信用户

1个粉丝

87

问答

0

专栏

3

资料

微信用户 2019-10-24 16:55:09
认可0
最后找到了  是SDL 渲染后 要销毁掉。  
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

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

Markdown 语法

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

举报类型

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

详细说明

易百纳技术社区