|
您好,请问这个 泄漏问题 最终 解决方法是什么? 我现在用 1.7.3 的版本,和您这边同样的现在。抓包工具直接抓到 内存泄漏。
librga:RGA_GET_VERSION:4.00,4.000000
ctx=0x7f8d602860,ctx->rgaFd=4
=================================================================
==16082==ERROR: LeakSanitizer: detected memory leaks
Indirect leak of 678912 byte(s) in 3 object(s) allocated from:
#0 0x7f947b83ff in __interceptor_malloc (/usr/lib64/libasan.so.3+0x983ff)
#1 0x7f8bc40417 in gcoOS_AllocateMemory (/usr/lib/libGAL.so+0x15a417)
#2 0x7f8bc404af in gcoOS_Allocate (/usr/lib/libGAL.so+0x15a4af)
#3 0x7f8bb013e3 (/usr/lib/libGAL.so+0x1b3e3)
#4 0x7f8bb01533 (/usr/lib/libGAL.so+0x1b533)
#5 0x7f8bb5365b (/usr/lib/libGAL.so+0x6d65b)
#6 0x7f8bb459b3 in gcoVX_CreateHW (/usr/lib/libGAL.so+0x5f9b3)
#7 0x7f8bb45bd3 in gcoVX_Construct (/usr/lib/libGAL.so+0x5fbd3)
#8 0x7f8bb45d9f in gcoVX_SwitchContext (/usr/lib/libGAL.so+0x5fd9f)
#9 0x7f8cc2807b in vxCreateContext (/usr/lib64/libOpenVX.so.1+0x4407b)
#10 0x7f8ceef83f in vsi_nn_CreateContext (/usr/lib64/librknn_runtime.so+0xb883f)
#11 0x7f8ce8895f in vnn_CreateRKNN (/usr/lib64/librknn_runtime.so+0x5195f)
#12 0x7f8ce90c67 in BuildGraph (/usr/lib64/librknn_runtime.so+0x59c67)
#13 0x7f8ce8e9af in rknn_init (/usr/lib64/librknn_runtime.so+0x579af)
#14 0x45da57 (/userdata/testAI/ai-test+0x45da57)
#15 0x7f91e9dc1f in __libc_start_main (/lib/libc.so.6+0x20c1f)
#16 0x40351b (/userdata/testAI/ai-test+0x40351b) |
|