This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Buffer_getUserPtr: Assertion `hBuf' failed in cleanup() call inside capture.c

Hi,

while making cleanup() call in capture.c assertion fail at the time it uses the call Buffer_getUserPtr() inside cleanup().

 i checked the capture buffer pointers at the time of capture create and at the time of cleanup called, both are same pointers.

inside some how the capture buffer pointer becomes NULL it seems.

Buffer.c:255: Buffer_getUserPtr: Assertion `hBuf' failed. 

Capture.c --> cleanup --> capBufPtr = Buffer_getUserPtr(hCapBuf);