Exception Due to Invalid Read/Write Buffer Address

Symptom

The kernel mode log on the device reports an error indicating that VPC is abnormal.

Possible Cause

Solution

1. Add log printing to the API for allocating DVPP buffer and the API for an abnormal VPC task. Check whether the allocated input/output buffer size is the same as the actually used input/output buffer size.

2. Add log printing to the API for releasing DVPP buffer to check whether the buffer is released before the VPC task is complete.