Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: ai demo share_memory not free #93

Closed
wangjianxin-canaan opened this issue Jun 6, 2022 · 0 comments
Closed

[Bug]: ai demo share_memory not free #93

wangjianxin-canaan opened this issue Jun 6, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@wangjianxin-canaan
Copy link
Contributor

What happened

ai demo 运行几次后 share_memory就会耗尽,随后打印类似下面错误:

memPartAlignedAlloc mpid->numBytesFree less than nBytes

isp_f2k_cfg:total_width =3476,total_height =1166
mediactl_init:total_size.width(0xd94),total_size.height(0x48e)
---------------------------start ----------------------------------------
[ 1008.590420] [K510_RESET]:k510_reset id = 0x01404f80, offset = 0x00000140 type = 1 done = 31 reset =0
[ 1008.837915] k510-share-memory: [ERROR] memPartAlignedAlloc mpid->numBytesFree less than nBytes!
[ 1008.891306] Unable to handle kernel paging request at virtual address 000000433cacbcbc
[ 1008.899276] Oops [#1]
[ 1008.901571] Modules linked in:
[ 1008.904676] CPU: 0 PID: 1166 Comm: object_detect_o Not tainted 4.17.0-g732c4420-dirty #14
[ 1008.908425] Unable to handle kernel paging request at virtual address 000000643c7fbcb0
[ 1008.912885] sepc: ffffffe0000eef3a ra : ffffffe0000f0514 sp : ffffffe009aff860
[ 1008.928021] gp : ffffffe0008ebde8 tp : ffffffe007956340 t0 : ffffffe00156f300
[ 1008.935248] t1 : 0000000000000000 t2 : 00000000014002c4 s0 : ffffffe009aff8f0
[ 1008.942476] s1 : ffffffe00156f298 a0 : ffffffe00156f298 a1 : 0000000000001000
[ 1008.949704] a2 : ffffffd018280000 a3 : ffffffd016f80000 a4 : ffffffe00a736bf8
[ 1008.956931] a5 : bd21bc433cacbccc a6 : 0000000000000008 a7 : ffffffff8012000d
[ 1008.964158] s2 : 000000000023f000 s3 : 0000000000080000 s4 : ffffffd000000000
[ 1008.971386] s5 : ffffffdfffffffff s6 : fffffffffff80000 s7 : 000000000007ffff
[ 1008.978613] s8 : ffffffd00023f000 s9 : 0000000000000000 s10: ffffffe00087c230
[ 1008.985840] s11: 00000000014000c0 t3 : ffffffffffffffff t4 : ffffffffffffff80
[ 1008.993066] t5 : 0000000000000038 t6 : 0000000000000400
[ 1008.998383] sstatus: 0000000200000120 sbadaddr: 000000433cacbcbc scause: 000000000000000d

Reproduction steps

重复如下步骤:

  1. cd /app/ai/object_detect_opencv
  2. ./bf16.sh
  3. ctrl +C
  4. ./uint8.sh

Hardware board

k510 crb kit

Software version

No response

Bug frequency

1/30

Anything else

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants