I have created a sample program and was trying detection with a single edge tpu and it was working fine. But when I added some code that basically parses the model name and labels file from a config file the function call gives a malloc error. But as far as I can see I have not passes anything to this function as argument and also I have checked that the model is present on the location provided .
edgeTpuContext = edgetpu::EdgeTpuManager::GetSingleton()->OpenDevice();
the function call above give the error
malloc.c:4036: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
Click to expand!
### Issue Type
Bug
### Operating System
Ubuntu
### Coral Device
Mini PCIe
### Other Devices
_No response_
### Programming Language
C++
### Relevant Log Output
```shell
malloc.c:4036: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
```
Description
I have created a sample program and was trying detection with a single edge tpu and it was working fine. But when I added some code that basically parses the model name and labels file from a config file the function call gives a malloc error. But as far as I can see I have not passes anything to this function as argument and also I have checked that the model is present on the location provided .
edgeTpuContext = edgetpu::EdgeTpuManager::GetSingleton()->OpenDevice(); the function call above give the error malloc.c:4036: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
Click to expand!
### Issue Type Bug ### Operating System Ubuntu ### Coral Device Mini PCIe ### Other Devices _No response_ ### Programming Language C++ ### Relevant Log Output ```shell malloc.c:4036: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed. ```