Skip to content

Coredump seen in Single Input Multi Interence #186

@p-mantena

Description

@p-mantena

Hi,

We are facing a memory dump issue with the tiovxmultiscaler plugin in Single Input Multi Inference, When running the testcase in loop.
It crashes after around 43rd iteration when we are using 4 inferences and after ~89th iteration when using 2 inferences.
I am attaching the script that reproduces the issue and the output log file and link for input file.
The same thing works with videoscale.

simi_multiscaler.txt
output.log
https://git.ti.com/cgit/edgeai/edge_ai_apps/

Error log :

MEM: ERROR: Alloc failed with status = 12 !!!
693.842050 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
693.842073 s: VX_ZONE_ERROR:[ownAllocImageBuffer:309] could not allocate memory
693.842081 s: VX_ZONE_ERROR:[ownCopyAndMapCheckParams:672] image allocation failed
693.842089 s: VX_ZONE_ERROR:[vxUnmapImagePatch:2059] map ID is greater than the maximum image maps
MEM: ERROR: Alloc failed with status = 12 !!!
693.842117 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
693.842124 s: VX_ZONE_ERROR:[ownAllocImageBuffer:309] could not allocate memory
693.842131 s: VX_ZONE_ERROR:[ownCopyAndMapCheckParams:672] image allocation failed
693.842139 s: VX_ZONE_ERROR:[vxUnmapImagePatch:2059] map ID is greater than the maximum image maps
MEM: ERROR: Alloc failed with status = 12 !!!
693.842194 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
MEM: ERROR: Alloc failed with status = 12 !!!
693.842211 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
693.842218 s: VX_ZONE_ERROR:[ownAllocImageBuffer:309] could not allocate memory
693.842224 s: VX_ZONE_ERROR:[ownCopyAndMapCheckParams:672] image allocation failed
693.842230 s: VX_ZONE_ERROR:[vxUnmapImagePatch:2059] map ID is greater than the maximum image maps
MEM: ERROR: Alloc failed with status = 12 !!!
693.842250 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
693.842256 s: VX_ZONE_ERROR:[ownAllocImageBuffer:309] could not allocate memory
693.842261 s: VX_ZONE_ERROR:[ownCopyAndMapCheckParams:672] image allocation failed
693.842267 s: VX_ZONE_ERROR:[vxUnmapImagePatch:2059] map ID is greater than the maximum image maps
MEM: ERROR: Alloc failed with status = 12 !!!
693.842292 s: VX_ZONE_ERROR:[tivxMemBufferAlloc:80] Shared mem ptr allocation failed
Segmentation fault (core dumped)

Regards,
Prasanth Babu Mantena

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcritical

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions