调用错误的内存申请接口,导致内存地址校验出错
现象描述
调用VPC接口,返回HI_ERR_VPC_BADADDR (0xA0078011)错误码,同时日志中有错误提示,不同版本的报错日志可能存在差别:
- 日志示例1
device 0, vpc address is illegal, please make sure it has been allocated with hi_mpi_dvpp_malloc or acldvppMalloc.
- 日志示例2
dvpp_check_mem_usable [Line]:85 mem:0x****f000****4020 is not usable, please check:1. mem not alloced or has been freed;2. make sure mem actual size should be:8017920
可能原因
根据日志提示,是由于没有使用指定的接口申请内存。
父主题: VPC图片处理