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.

TDA4VM: TDA4 vxVerifyGraph fail sometimes

Part Number: TDA4VM


When I test the stability of the program,

i startup program and exits the program many times

Mostly as expected, but sometimes an error occurs and you have to restart the board to recover

Could you please tell me when this error will occur and how to avoid it

When an error occurs, the log is as follows

[INFO] [launch]: All log files can be found below /home/root/.ros/log/2022-09-13-09-06-01-082668-j7-evm-32837
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [byd_psd-1]: process started with pid [32879]
[byd_psd-1] [INFO] [1663059961.807193590] [byd_psd]: Application Initialization start.
[byd_psd-1]
[byd_psd-1] [INFO] [1663059961.808357090] [byd_psd]: dlModelPath is /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm.
[byd_psd-1]
[byd_psd-1] [INFO] [1663059961.808514400] [byd_psd]: control_mode = 0.
[byd_psd-1] APP: Init ... !!!
[byd_psd-1] MEM: Init ... !!!
[byd_psd-1] MEM: Initialized DMA HEAP (fd=11) !!!
[byd_psd-1] MEM: Init ... Done !!!
[byd_psd-1] IPC: Init ... !!!
[byd_psd-1] IPC: Init ... Done !!!
[byd_psd-1] REMOTE_SERVICE: Init ... !!!
[byd_psd-1] REMOTE_SERVICE: Init ... Done !!!
[byd_psd-1]   1704.230177 s: GTC Frequency = 200 MHz
[byd_psd-1] APP: Init ... Done !!!
[byd_psd-1]   1704.230313 s:  VX_ZONE_INIT:Enabled
[byd_psd-1]   1704.230319 s:  VX_ZONE_ERROR:Enabled
[byd_psd-1]   1704.230323 s:  VX_ZONE_WARNING:Enabled
[byd_psd-1]   1704.231270 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[byd_psd-1]   1704.231506 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000000]:INFO:[dumpInfo:0192] PreprocessImageConfig::modelName       =
[byd_psd-1] [09:06:01.000.000053]:INFO:[dumpInfo:0193] PreprocessImageConfig::rtType          = tvmdlr
[byd_psd-1] [09:06:01.000.000063]:INFO:[dumpInfo:0194] PreprocessImageConfig::taskType        = detection
[byd_psd-1] [09:06:01.000.000071]:INFO:[dumpInfo:0195] PreprocessImageConfig::dataLayout      = NCHW
[byd_psd-1] [09:06:01.000.000079]:INFO:[dumpInfo:0196] PreprocessImageConfig::inDataWidth     = 320
[byd_psd-1] [09:06:01.000.000087]:INFO:[dumpInfo:0197] PreprocessImageConfig::inDataHeight    = 240
[byd_psd-1] [09:06:01.000.000095]:INFO:[dumpInfo:0198] PreprocessImageConfig::resizeWidth     = 384
[byd_psd-1] [09:06:01.000.000103]:INFO:[dumpInfo:0199] PreprocessImageConfig::resizeHeight    = 384
[byd_psd-1] [09:06:01.000.000111]:INFO:[dumpInfo:0200] PreprocessImageConfig::outDataWidth    = 384
[byd_psd-1] [09:06:01.000.000118]:INFO:[dumpInfo:0201] PreprocessImageConfig::outDataHeight   = 384
[byd_psd-1] [09:06:01.000.000126]:INFO:[dumpInfo:0202] PreprocessImageConfig::numChannels     = 3
[byd_psd-1] [09:06:01.000.000134]:INFO:[dumpInfo:0203] PreprocessImageConfig::inputTensorType = Enum 0
[byd_psd-1] [09:06:01.000.000141]:INFO:[dumpInfo:0205] PreprocessImageConfig::mean          = [ 0.000000 0.000000 0.000000 ]
[byd_psd-1] [09:06:01.000.000164]:INFO:[dumpInfo:0213] PreprocessImageConfig::scale         = [ 0.003922 0.003922 0.003922 ]
[byd_psd-1]
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000286]:INFO:[dumpInfo:0164] PostprocessImageConfig::modelName      =
[byd_psd-1] [09:06:01.000.000297]:INFO:[dumpInfo:0165] PostprocessImageConfig::rtType         = tvmdlr
[byd_psd-1] [09:06:01.000.000305]:INFO:[dumpInfo:0166] PostprocessImageConfig::taskType       = detection
[byd_psd-1] [09:06:01.000.000312]:INFO:[dumpInfo:0167] PostprocessImageConfig::dataLayout     = NCHW
[byd_psd-1] [09:06:01.000.000320]:INFO:[dumpInfo:0168] PostprocessImageConfig::inDataWidth    = 1280
[byd_psd-1] [09:06:01.000.000327]:INFO:[dumpInfo:0169] PostprocessImageConfig::inDataHeight   = 720
[byd_psd-1] [09:06:01.000.000335]:INFO:[dumpInfo:0170] PostprocessImageConfig::outDataWidth   = 1280
[byd_psd-1] [09:06:01.000.000343]:INFO:[dumpInfo:0171] PostprocessImageConfig::outDataHeight  = 720
[byd_psd-1] [09:06:01.000.000350]:INFO:[dumpInfo:0172] PostprocessImageConfig::dispWidth      = 1920
[byd_psd-1] [09:06:01.000.000358]:INFO:[dumpInfo:0173] PostprocessImageConfig::dispHeight     = 1080
[byd_psd-1] [09:06:01.000.000368]:INFO:[dumpInfo:0174] PostprocessImageConfig::vizThreshold   = 0.500000
[byd_psd-1] [09:06:01.000.000378]:INFO:[dumpInfo:0175] PostprocessImageConfig::alpha          = 0.500000
[byd_psd-1] [09:06:01.000.000386]:INFO:[dumpInfo:0176] PostprocessImageConfig::normDetect     = 0
[byd_psd-1] [09:06:01.000.000394]:INFO:[dumpInfo:0177] PostprocessImageConfig::labelOffsetMap = [ (0, 0) ]
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000428]:INFO:[dumpInfo:0186] PostprocessImageConfig::formatter = [  0 1 2 3 4 5]
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000447]:INFO:[dumpInfo:0195] PostprocessImageConfig::resultIndices = [  0 1 2]
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000462]:INFO:[dumpInfo:0076] PostprocessImageConfig::DebugDumpConfig::enable     = 0
[byd_psd-1] [09:06:01.000.000470]:INFO:[dumpInfo:0077] PostprocessImageConfig::DebugDumpConfig::dir        = debug_out
[byd_psd-1] [09:06:01.000.000477]:INFO:[dumpInfo:0078] PostprocessImageConfig::DebugDumpConfig::file       =
[byd_psd-1] [09:06:01.000.000485]:INFO:[dumpInfo:0079] PostprocessImageConfig::DebugDumpConfig::startFrame = 1
[byd_psd-1] [09:06:01.000.000493]:INFO:[dumpInfo:0080] PostprocessImageConfig::DebugDumpConfig::endFrame   = 2147483647
[byd_psd-1]
[byd_psd-1] [09:06:01.000.000528]:INFO:[dumpInfo:0150] InfererConfig::Model Path        = /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm/model
[byd_psd-1] [09:06:01.000.000538]:INFO:[dumpInfo:0151] InfererConfig::Artifacts Path    = /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm/artifacts
[byd_psd-1] [09:06:01.000.000546]:INFO:[dumpInfo:0152] InfererConfig::Runtime API       = tvmdlr
[byd_psd-1] [09:06:01.000.000553]:INFO:[dumpInfo:0153] InfererConfig::Device Type       = CPU
[byd_psd-1]
[byd_psd-1] [09:06:02.749.749788]:DEBUG:[DlTensor:0062] DEFAULT CONSTRUCTOR
[byd_psd-1] [09:06:02.749.749886]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.749.749899]:DEBUG:[~DlTensor:0136] DESTRUCTOR
[byd_psd-1] [09:06:02.749.749961]:DEBUG:[DlTensor:0062] DEFAULT CONSTRUCTOR
[byd_psd-1] [09:06:02.749.749976]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.749.749985]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.749.749994]:DEBUG:[~DlTensor:0136] DESTRUCTOR
[byd_psd-1] [09:06:02] ../src/dlr.cc:243: Error: No metadata file was found!
[byd_psd-1] [09:06:02] ../src/dlr.cc:243: Error: No metadata file was found!
[byd_psd-1] [09:06:02.751.751183]:WARN:[populateOutputInfo:0249] GetDLROutputName(0) NULL.
[byd_psd-1] [09:06:02.751.751295]:WARN:[populateOutputInfo:0249] GetDLROutputName(1) NULL.
[byd_psd-1] [09:06:02.751.751326]:DEBUG:[DLRInferer:0125] CONSTRUCTOR
[byd_psd-1] [09:06:02.751.751342]:INFO:[makePostprocessImageObj:0059] Creating detectionObj...
[byd_psd-1] [09:06:02.751.751355]:INFO:[CmPostprocessImageObjDetect:0066] CmPostprocessImageObjDetect Created
[byd_psd-1] [09:06:02.751.751961]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752102]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752118]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752130]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752140]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752150]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752162]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752172]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752183]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752211]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752224]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:06:02.752.752234]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] appCntxt->inputImageWidth is 384
[byd_psd-1] appCntxt->inputImageHeight is 384
[byd_psd-1] appCntxt->dlImageHeight is 384
[byd_psd-1] appCntxt->dlImageWidth is 384
[byd_psd-1] createParams->srcWidth is 384
[byd_psd-1] createParams->srcHeight is 384
[byd_psd-1] createParams->dstWidth is 384
[byd_psd-1] createParams->dstHeight is 384
[byd_psd-1] resizeObj() state CM_RESIZE_NODE_CNTXT_STATE_SETUP
[byd_psd-1] [09:06:02.753.753448]:INFO:[BYD_OD_init:0210] BYD_OD_setupPipeline() success
[byd_psd-1]   1704.990014 s:  VX_ZONE_ERROR:[ownGraphCreateNodeCallbackCommands:983] Node create user callback command at index 6 failed
[byd_psd-1]   1704.990527 s:  VX_ZONE_ERROR:[vxVerifyGraph:2024] Create node callback commands failed
[byd_psd-1]   1704.990544 s:  VX_ZONE_ERROR:[vxVerifyGraph:2109] Graph verify failed
[byd_psd-1] [09:06:02.756.756725]:ERROR:[BYD_OD_init:0220] vxVerifyGraph() failed
[byd_psd-1] [ERROR] [1663059962.604591500] [byd_psd]: BYD_OD_init() failed.
[byd_psd-1]
[byd_psd-1] [INFO] [1663059962.604854670] [byd_psd]: Application Initialization failed.

Log started correctly

[INFO] [launch]: All log files can be found below /home/root/.ros/log/2022-09-13-09-05-52-760845-j7-evm-32644
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [byd_psd-1]: process started with pid [32666]
[byd_psd-1] [INFO] [1663059953.519767360] [byd_psd]: Application Initialization start.
[byd_psd-1]
[byd_psd-1] [INFO] [1663059953.520884130] [byd_psd]: dlModelPath is /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm.
[byd_psd-1]
[byd_psd-1] [INFO] [1663059953.520993870] [byd_psd]: control_mode = 0.
[byd_psd-1] APP: Init ... !!!
[byd_psd-1] MEM: Init ... !!!
[byd_psd-1] MEM: Initialized DMA HEAP (fd=11) !!!
[byd_psd-1] MEM: Init ... Done !!!
[byd_psd-1] IPC: Init ... !!!
[byd_psd-1] IPC: Init ... Done !!!
[byd_psd-1] REMOTE_SERVICE: Init ... !!!
[byd_psd-1] REMOTE_SERVICE: Init ... Done !!!
[byd_psd-1]   1695.942848 s: GTC Frequency = 200 MHz
[byd_psd-1] APP: Init ... Done !!!
[byd_psd-1]   1695.943063 s:  VX_ZONE_INIT:Enabled
[byd_psd-1]   1695.943073 s:  VX_ZONE_ERROR:Enabled
[byd_psd-1]   1695.943077 s:  VX_ZONE_WARNING:Enabled
[byd_psd-1]   1695.943854 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
[byd_psd-1]   1695.944386 s:  VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!!
[byd_psd-1]
[byd_psd-1] [09:05:53.000.000000]:INFO:[dumpInfo:0192] PreprocessImageConfig::modelName       =
[byd_psd-1] [09:05:53.000.000135]:INFO:[dumpInfo:0193] PreprocessImageConfig::rtType          = tvmdlr
[byd_psd-1] [09:05:53.000.000147]:INFO:[dumpInfo:0194] PreprocessImageConfig::taskType        = detection
[byd_psd-1] [09:05:53.000.000156]:INFO:[dumpInfo:0195] PreprocessImageConfig::dataLayout      = NCHW
[byd_psd-1] [09:05:53.000.000165]:INFO:[dumpInfo:0196] PreprocessImageConfig::inDataWidth     = 320
[byd_psd-1] [09:05:53.000.000174]:INFO:[dumpInfo:0197] PreprocessImageConfig::inDataHeight    = 240
[byd_psd-1] [09:05:53.000.000183]:INFO:[dumpInfo:0198] PreprocessImageConfig::resizeWidth     = 384
[byd_psd-1] [09:05:53.000.000192]:INFO:[dumpInfo:0199] PreprocessImageConfig::resizeHeight    = 384
[byd_psd-1] [09:05:53.000.000489]:INFO:[dumpInfo:0200] PreprocessImageConfig::outDataWidth    = 384
[byd_psd-1] [09:05:53.000.000507]:INFO:[dumpInfo:0201] PreprocessImageConfig::outDataHeight   = 384
[byd_psd-1] [09:05:53.000.000518]:INFO:[dumpInfo:0202] PreprocessImageConfig::numChannels     = 3
[byd_psd-1] [09:05:53.000.000527]:INFO:[dumpInfo:0203] PreprocessImageConfig::inputTensorType = Enum 0
[byd_psd-1] [09:05:53.000.000537]:INFO:[dumpInfo:0205] PreprocessImageConfig::mean          = [ 0.000000 0.000000 0.000000 ]
[byd_psd-1] [09:05:53.000.000560]:INFO:[dumpInfo:0213] PreprocessImageConfig::scale         = [ 0.003922 0.003922 0.003922 ]
[byd_psd-1]
[byd_psd-1]
[byd_psd-1] [09:05:53.000.000747]:INFO:[dumpInfo:0164] PostprocessImageConfig::modelName      =
[byd_psd-1] [09:05:53.000.000762]:INFO:[dumpInfo:0165] PostprocessImageConfig::rtType         = tvmdlr
[byd_psd-1] [09:05:53.000.000771]:INFO:[dumpInfo:0166] PostprocessImageConfig::taskType       = detection
[byd_psd-1] [09:05:53.000.000780]:INFO:[dumpInfo:0167] PostprocessImageConfig::dataLayout     = NCHW
[byd_psd-1] [09:05:53.000.000789]:INFO:[dumpInfo:0168] PostprocessImageConfig::inDataWidth    = 1280
[byd_psd-1] [09:05:53.000.000798]:INFO:[dumpInfo:0169] PostprocessImageConfig::inDataHeight   = 720
[byd_psd-1] [09:05:53.000.000807]:INFO:[dumpInfo:0170] PostprocessImageConfig::outDataWidth   = 1280
[byd_psd-1] [09:05:53.000.000816]:INFO:[dumpInfo:0171] PostprocessImageConfig::outDataHeight  = 720
[byd_psd-1] [09:05:53.000.000825]:INFO:[dumpInfo:0172] PostprocessImageConfig::dispWidth      = 1920
[byd_psd-1] [09:05:53.000.000833]:INFO:[dumpInfo:0173] PostprocessImageConfig::dispHeight     = 1080
[byd_psd-1] [09:05:53.000.000844]:INFO:[dumpInfo:0174] PostprocessImageConfig::vizThreshold   = 0.500000
[byd_psd-1] [09:05:53.000.000855]:INFO:[dumpInfo:0175] PostprocessImageConfig::alpha          = 0.500000
[byd_psd-1] [09:05:53.000.000864]:INFO:[dumpInfo:0176] PostprocessImageConfig::normDetect     = 0
[byd_psd-1] [09:05:53.000.000873]:INFO:[dumpInfo:0177] PostprocessImageConfig::labelOffsetMap = [ (0, 0) ]
[byd_psd-1]
[byd_psd-1] [09:05:53.000.000911]:INFO:[dumpInfo:0186] PostprocessImageConfig::formatter = [  0 1 2 3 4 5]
[byd_psd-1]
[byd_psd-1] [09:05:53.000.000931]:INFO:[dumpInfo:0195] PostprocessImageConfig::resultIndices = [  0 1 2]
[byd_psd-1]
[byd_psd-1] [09:05:53.000.000947]:INFO:[dumpInfo:0076] PostprocessImageConfig::DebugDumpConfig::enable     = 0
[byd_psd-1] [09:05:53.000.000956]:INFO:[dumpInfo:0077] PostprocessImageConfig::DebugDumpConfig::dir        = debug_out
[byd_psd-1] [09:05:53.000.000965]:INFO:[dumpInfo:0078] PostprocessImageConfig::DebugDumpConfig::file       =
[byd_psd-1] [09:05:53.000.000974]:INFO:[dumpInfo:0079] PostprocessImageConfig::DebugDumpConfig::startFrame = 1
[byd_psd-1] [09:05:53.000.000983]:INFO:[dumpInfo:0080] PostprocessImageConfig::DebugDumpConfig::endFrame   = 2147483647
[byd_psd-1]
[byd_psd-1] [09:05:53.001.001019]:INFO:[dumpInfo:0150] InfererConfig::Model Path        = /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm/model
[byd_psd-1] [09:05:53.001.001032]:INFO:[dumpInfo:0151] InfererConfig::Artifacts Path    = /home/root/ti_robot_app/data/PSD_2branch_nosigmoid_0907_fp16_8.02_tvm/artifacts
[byd_psd-1] [09:05:53.001.001042]:INFO:[dumpInfo:0152] InfererConfig::Runtime API       = tvmdlr
[byd_psd-1] [09:05:53.001.001051]:INFO:[dumpInfo:0153] InfererConfig::Device Type       = CPU
[byd_psd-1]
[byd_psd-1] [09:05:54.735.735566]:DEBUG:[DlTensor:0062] DEFAULT CONSTRUCTOR
[byd_psd-1] [09:05:54.735.735646]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.735.735658]:DEBUG:[~DlTensor:0136] DESTRUCTOR
[byd_psd-1] [09:05:54.735.735700]:DEBUG:[DlTensor:0062] DEFAULT CONSTRUCTOR
[byd_psd-1] [09:05:54.735.735712]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.735.735721]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.735.735729]:DEBUG:[~DlTensor:0136] DESTRUCTOR
[byd_psd-1] [09:05:54] ../src/dlr.cc:243: Error: No metadata file was found!
[byd_psd-1] [09:05:54] ../src/dlr.cc:243: Error: No metadata file was found!
[byd_psd-1] [09:05:54.736.736826]:WARN:[populateOutputInfo:0249] GetDLROutputName(0) NULL.
[byd_psd-1] [09:05:54.736.736933]:WARN:[populateOutputInfo:0249] GetDLROutputName(1) NULL.
[byd_psd-1] [09:05:54.736.736945]:DEBUG:[DLRInferer:0125] CONSTRUCTOR
[byd_psd-1] [09:05:54.736.736959]:INFO:[makePostprocessImageObj:0059] Creating detectionObj...
[byd_psd-1] [09:05:54.736.736972]:INFO:[CmPostprocessImageObjDetect:0066] CmPostprocessImageObjDetect Created
[byd_psd-1] [09:05:54.737.737498]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737560]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737573]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737584]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737595]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737605]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737617]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737627]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737637]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737647]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737658]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] [09:05:54.737.737668]:DEBUG:[DlTensor:0080] COPY CONSTRUCTOR
[byd_psd-1] appCntxt->inputImageWidth is 384
[byd_psd-1] appCntxt->inputImageHeight is 384
[byd_psd-1] appCntxt->dlImageHeight is 384
[byd_psd-1] appCntxt->dlImageWidth is 384
[byd_psd-1] createParams->srcWidth is 384
[byd_psd-1] createParams->srcHeight is 384
[byd_psd-1] createParams->dstWidth is 384
[byd_psd-1] createParams->dstHeight is 384
[byd_psd-1] resizeObj() state CM_RESIZE_NODE_CNTXT_STATE_SETUP
[byd_psd-1] [09:05:54.738.738368]:INFO:[BYD_OD_init:0210] BYD_OD_setupPipeline() success
[byd_psd-1] [09:05:54.771.771569]:INFO:[BYD_OD_init:0222] vxVerifyGraph() success
[byd_psd-1]   1696.718816 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name b_vxChannelExtractNode of event 281472898715160 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.718848 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name b_scalerNode of event 281472898720032 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.718881 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name g_vxChannelExtractNode of event 281472898713536 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.718911 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name g_scalerNode of event 281472898718408 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.718986 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name r_vxChannelExtractNode of event 281472898711912 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.719019 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name r_scalerNode of event 281472898716784 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.719052 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name rgb_vxChannelCombineNode of event 281472898721656 of event class 0 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.719087 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:220] Log RT event name CNN Object Detection Graph of event 771 of event class 1 already exists, not adding again.Recommend to use a unique event name.
[byd_psd-1]   1696.719095 s:  VX_ZONE_WARNING:[tivxLogRtTraceAddEventClass:213] Log RT event 0 of event class 2 already exists, not adding again
[byd_psd-1] [INFO] [1663059954.333139515] [byd_psd]: BYD_OD_init() success

sdk version: both 8.04 and 8.02

  • Hi,

    From the logs, it seems that there is some error happening in the create function of the node.

    ->Could you please enable the remote side logs too?

    -> Are you running QNX or Linux as HLOS? If linux, you could run "source ./vision_apps_init.sh" before running your application to enable the remote logs.

    Please share the logs from source ./vision_apps_init.sh and you application logs with remote core enabled.

    -> Also, could you brief me which nodes are there in the graph? In this a custom application or an SDK demo? 

    -> Is the error from a TI provided node or a custom node?

    Regards,
    Nikhil

  • i am running it in linux

    i run a custom application  but the node is TI provided(TIDL node)

    i run

    cd /opt/vision_apps
    source ./vision_apps_init.sh
    ./vx_app_arm_remoute_log.out
    in the first cmd window

    and then i run my application in other cmd window

    No matter whether the program runs successfully or fails, I do not see a valid log

    please tell me, what is wrong with me

  • share more info information

    My program can run in most cases. This error occurs when I frequently start and close the program

    Once an error occurs, all programs (related to tiovx) will fail  (Prompt creation ontext error or verity grapg error)

  • Hi,

    The error in ownGraphCreateNodeCallbackCommands, is due to failure in allocation of memory.

    During the close of your application, could you ensure you are doing vxRelease..() to all the object descriptors, nodes etc? 
    Are you seeing any warning/errors during close of your application before this issue is seen?
    (i.e., Please check if there are any error logs during close of your application during this scenario regarding releasing of objects/nodes)


    Could you enable the MACRO TIVX_TIDL_TARGET_DEBUG in the file tiovx/kernels_j7/tidl/dsp/vx_tidl_target.c and rebuild the SDK?
    With this change, please run your application on the EVM. There would be some logs from the remote core [C7x].

    Could you share this log, as well as the log from ./vision_apps_init.sh?

    Regards,
    Nikhil

  • sorry for late reply

    i make a new image and recurrent the problem

    i run ./vision_apps_init.sh and get log as below

    [C6x_1 ]      1.623137 s: SCICLIENT: Init ... !!!
    [MCU3_1]      6.315011 s: APP: Run ... Done !!!
    [C6x_1 ]      1.623389 s: SCICLIENT: DMSC FW revision 0x16
    [C6x_1 ]      1.623398 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU3_1]      6.319925 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[s] C66X_1[P] C66X_2[x] C7X_1[P]
    [C6x_1 ]      1.623417 s: UDMA: Init ... !!!
    [MCU3_1]      6.339594 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
    [C6x_1 ]      1.625101 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ dc000000 of size 16777216 bytes !!!
    [MCU3_1]      7.438725 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[s] C66X_1[P] C66X_2[P] C7X_1[P]
    [C6x_1 ]      1.625134 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ dd000000 of size 50331648 bytes !!!
    [C6x_1 ]      1.623119 s: ### CPU Frequency = 1350000000 Hz
    [C6x_1 ]      1.625158 s: IPC: Init ... !!!
    [C6x_1 ]      1.623375 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam]
    [C6x_1 ]      1.625193 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_1 ]      1.623408 s: SCICLIENT: Init ... Done !!!
    [C6x_1 ]      5.746855 s: IPC: Init ... Done !!!
    [C6x_1 ]      1.625070 s: UDMA: Init ... Done !!!
    [C6x_1 ]      6.308294 s: APP: Syncing with 8 CPUs ... Done !!!
    [C6x_1 ]      1.625119 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 800000 of size 229376 bytes !!!
    [C6x_1 ]      6.309069 s:  VX_ZONE_ERROR:Enabled
    [C6x_1 ]      1.625150 s: MEM: Init ... Done !!!
    [C6x_1 ]      6.309923 s: APP: OpenVX Target kernel init ... !!!
    [C6x_1 ]      1.625179 s: IPC: 9 CPUs participating in IPC !!!
    [C6x_1 ]      6.310320 s: UDMA Copy: Init ... !!!
    [C6x_1 ]      5.742074 s: IPC: HLOS is ready !!!
    [C6x_1 ]      6.315287 s: APP: Init ... Done !!!
    [C6x_1 ]      5.746884 s: APP: Syncing with 8 CPUs ... !!!
    [C6x_1 ]      6.317772 s: IPC: Starting echo test ...
    [C6x_1 ]      6.308993 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_1 ]      6.319770 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[.] C66X_1[s] C66X_2[x] C7X_1[P]
    [C6x_1 ]      6.309904 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C6x_1 ]      6.320371 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_1 ]      6.310298 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_1 ]      6.377733 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_1 ]      6.315264 s: UDMA Copy: Init ... Done !!!
    [C6x_1 ]      7.438520 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_1 ]      6.317760 s: APP: Run ... !!!
    [C6x_2 ]      1.713200 s: APP: Init ... !!!
    [C6x_1 ]      6.319404 s: APP: Run ... Done !!!
    [C6x_2 ]      1.713453 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam]
    [C6x_2 ]      1.713467 s: SCICLIENT: DMSC FW revision 0x16
    [C6x_2 ]      1.713477 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C6x_1 ]      6.319883 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[P] C66X_1[s] C66X_2[x] C7X_1[P]
    [C6x_2 ]      1.713496 s: UDMA: Init ... !!!
    [C6x_1 ]      6.339425 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_2 ]      1.715171 s: MEM: Init ... !!!
    [C6x_1 ]      6.560478 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[s] C66X_2[P] C7X_1[P]
    [C6x_2 ]      1.715202 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 800000 of size 229376 bytes !!!
    [C6x_2 ]      1.713190 s: ### CPU Frequency = 1350000000 Hz
    [C6x_2 ]      1.715244 s: IPC: Init ... !!!
    [C6x_2 ]      1.713208 s: SCICLIENT: Init ... !!!
    [C6x_2 ]      5.845929 s: IPC: Init ... Done !!!
    [C6x_2 ]      6.308294 s: APP: Syncing with 8 CPUs ... Done !!!
    [C6x_2 ]      6.309009 s: REMOTE_SERVICE: Init ... Done !!!
    [C6x_2 ]      6.309083 s:  VX_ZONE_ERROR:Enabled
    [C6x_2 ]      1.713487 s: SCICLIENT: Init ... Done !!!
    [C6x_2 ]      6.309938 s: APP: OpenVX Target kernel init ... !!!
    [C6x_2 ]      1.715150 s: UDMA: Init ... Done !!!
    [C6x_2 ]      6.310333 s: UDMA Copy: Init ... !!!
    [C6x_2 ]      1.715184 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ e0000000 of size 16777216 bytes !!!
    [C6x_2 ]      6.316854 s: APP: Init ... Done !!!
    [C6x_2 ]      1.715218 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ e1000000 of size 50331648 bytes !!!
    [C6x_2 ]      6.318257 s: IPC: Starting echo test ...
    [C6x_2 ]      1.715283 s: IPC: Waiting for HLOS to be ready ... !!!
    [C6x_2 ]      6.320382 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[.] C66X_1[P] C66X_2[s] C7X_1[.]
    [C6x_2 ]      6.320434 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[.] C66X_1[P] C66X_2[s] C7X_1[P]
    [C6x_2 ]      6.309919 s:  VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!!
    [C6x_2 ]      6.310310 s: APP: OpenVX Target kernel init ... Done !!!
    [C6x_2 ]      6.377823 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C6x_2 ]      6.316831 s: UDMA Copy: Init ... Done !!!
    [C6x_2 ]      7.438559 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[P] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C6x_2 ]      6.318246 s: APP: Run ... !!!
    [C7x_1 ]    886.229753 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 10 @ space = 17 and size = 5431680, addr = 109624b00 ...
    [C6x_2 ]      6.319969 s: APP: Run ... Done !!!
    [C7x_1 ]    886.229812 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 11 @ space = 17 and size = 924096, addr = 109b52e00 ...
    [C6x_2 ]      6.320469 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[x] mcu3_0[x] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C7x_1 ]    886.229876 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 12 @ space = 17 and size = 2592, addr = e4001800 ...
    [C6x_2 ]      6.339472 s: IPC: Echo status: mpu1_0[x] mcu1_0[x] mcu2_0[x] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C7x_1 ]    886.229934 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 13 @ space = 17 and size = 8388608, addr = 109c34900 ...
    [C7x_1 ]    886.230015 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:306] Calling ialg.algInit ...
    [C6x_2 ]      6.560526 s: IPC: Echo status: mpu1_0[x] mcu1_0[P] mcu2_0[P] mcu2_1[P] mcu3_0[x] mcu3_1[P] C66X_1[P] C66X_2[s] C7X_1[P]
    [C7x_1 ]    886.248558 s:  VX_ZONE_INFO:[tivxTargetKernelCreate:313] Done executing create callback for kernel [com.ti.tidl]
    [C7x_1 ] giVisionAllocMem:170] Allocating memory record 10 @ space = 17, size = 5431680, align = 128 ...
    [C7x_1 ]    897.500765 s:  VX_ZONE_INFO:[tivxTargetKernelCreate:307] Executing create callback for kernel [com.ti.tidl]
    [C7x_1 ]    886.229783 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 11 @ space = 17, size = 924096, align = 128 ...
    [C7x_1 ]    897.509650 s:  VX_ZONE_INFO:[tivxKernelTIDLCreate:625] L1 = 16 KB, L2 = 448 KB, L3 = 7968 KB
    [C7x_1 ]    886.229847 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 12 @ space = 17, size = 2592, align = 128 ...
    [C7x_1 ]    897.509694 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:285] Allocating 14 memory records ...
    [C7x_1 ]    886.229904 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 13 @ space = 17, size = 8388608, align = 128 ...
    [C7x_1 ]    897.511487 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 0 @ space = 17, size = 15208, align = 128 ...
    [C7x_1 ]    886.248528 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:356] Created AlgiVision handle.
    [C7x_1 ]    897.511523 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 0 @ space = 17 and size = 15208, addr = 10a96ad00 ...
    [C7x_1 ]    897.500718 s:  VX_ZONE_INFO:[tivxTargetKernelInstanceAlloc:106] attempting to call kernel com.ti.tidl on this CPU
    [C7x_1 ]    897.511582 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 1 @ space = 17 and size = 136, addr = 10a96ea00 ...
    [C7x_1 ]    897.500783 s:  VX_ZONE_INFO:Enabled
    [C7x_1 ]    897.511640 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 2 @ space = 0 and size = 16384, addr = 64e00000 ...
    [C7x_1 ]    897.509675 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:281] Calling ialg.algNumAlloc ...
    [C7x_1 ]    897.511697 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 3 @ space = 1 and size = 458752, addr = 64800000 ...
    [C7x_1 ]    897.509717 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:295] Calling ialg.algAlloc ...
    [C7x_1 ]    897.511754 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 4 @ space = 2 and size = 8159232, addr = 70020000 ...
    [C7x_1 ]    897.511523 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 0 @ space = 17 and size = 15208, addr = 10a96ad00 ...
    [C7x_1 ]    897.511818 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 5 @ space = 17 and size = 4928928, addr = 10a96ec00 ...
    [C7x_1 ]    897.511552 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 1 @ space = 17, size = 136, align = 128 ...
    [C7x_1 ]    897.511885 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 6 @ space = 17, size = 256, align = 128 ...
    [C7x_1 ]    897.511611 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 2 @ space = 0, size = 16384, align = 128 ...
    [C7x_1 ]    897.511914 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 6 @ space = 17 and size = 256, addr = e4000000 ...
    [C7x_1 ]    897.511668 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 3 @ space = 1, size = 458752, align = 128 ...
    [C7x_1 ]    897.512007 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 7 @ space = 17 and size = 3540992, addr = 10ae22300 ...
    [C7x_1 ]    897.511725 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 4 @ space = 2, size = 8159232, align = 128 ...
    [C7x_1 ]    897.512065 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 8 @ space = 17 and size = 128, addr = e4000400 ...
    [C7x_1 ]    897.511782 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 5 @ space = 17, size = 4928928, align = 128 ...
    [C7x_1 ]    897.512121 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 9 @ space = 17 and size = 3200, addr = e4000800 ...
    [C7x_1 ]    897.511885 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 6 @ space = 17, size = 256, align = 128 ...
    [C7x_1 ]    897.512036 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 8 @ space = 17, size = 128, align = 128 ...
    [C7x_1 ]    897.511914 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 6 @ space = 17 and size = 256, addr = e4000000 ...
    [C7x_1 ]    897.512093 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 9 @ space = 17, size = 3200, align = 128 ...
    [C7x_1 ]    897.511943 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 7 @ space = 17, size = 3540992, align = 128 ...
    [C7x_1 ]    897.512149 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 10 @ space = 17, size = 5431680, align = 128 ...
    [C7x_1 ]    897.512036 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 8 @ space = 17, size = 128, align = 128 ...
    [C7x_1 ]    897.512250 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 11 @ space = 17, size = 924096, align = 128 ...
    [C7x_1 ]    897.512093 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 9 @ space = 17, size = 3200, align = 128 ...
    [C7x_1 ]    897.512309 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 12 @ space = 17, size = 2592, align = 128 ...
    [C7x_1 ]    897.512007 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 7 @ space = 17 and size = 3540992, addr = 10ae22300 ...
    [C7x_1 ]    897.512309 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 12 @ space = 17, size = 2592, align = 128 ...
    [C7x_1 ]    897.512065 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 8 @ space = 17 and size = 128, addr = e4000400 ...
    [C7x_1 ]    897.512366 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:170] Allocating memory record 13 @ space = 17, size = 8388608, align = 128 ...
    [C7x_1 ]    897.512121 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 9 @ space = 17 and size = 3200, addr = e4000800 ...
    [C7x_1 ]    897.512483 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:306] Calling ialg.algInit ...
    [C7x_1 ]    897.512184 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 10 @ space = 17 and size = 5431680, addr = 10b182c00 ...
    [C7x_1 ]    897.531238 s:  VX_ZONE_INFO:[tivxTargetKernelCreate:313] Done executing create callback for kernel [com.ti.tidl]
    [C7x_1 ]    897.512280 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 11 @ space = 17 and size = 924096, addr = 10b6b0f00 ...
    [C7x_1 ]    897.512337 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 12 @ space = 17 and size = 2592, addr = e4001800 ...
    [C7x_1 ]    897.512337 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 12 @ space = 17 and size = 2592, addr = e4001800 ...
    [C7x_1 ]    897.512399 s:  VX_ZONE_INFO:[tivxAlgiVisionAllocMem:179] Allocated memory record 13 @ space = 17 and size = 8388608, addr = 10b792a00 ...
    [C7x_1 ]    897.531207 s:  VX_ZONE_INFO:[tivxAlgiVisionCreate:356] Created AlgiVision handle.

  • [byd_psd-1]   3511.063502 s:  VX_ZONE_ERROR:[ownContextCreateCmdObj:161] context object descriptor [0] allocation failed
    [byd_psd-1]   3511.063559 s:  VX_ZONE_ERROR:[vxCreateContext:946] context objection creation failed
    [byd_psd-1]   3511.063571 s:  VX_ZONE_ERROR:[vxGetStatus:713] Reference is NULL
    [byd_psd-1]   3511.063601 s:  VX_ZONE_ERROR:[tivxAddKernelTIDL:233] Unable to allocate user kernel ID
    [byd_psd-1]   3511.063605 s:  VX_ZONE_ERROR:[vxGetStatus:713] Reference is NULL
    [byd_psd-1]   3511.063609 s:  VX_ZONE_ERROR:[vxGetStatus:713] Reference is NULL
    [byd_psd-1]   3511.063612 s:  VX_ZONE_ERROR:[vxGetStatus:713] Reference is NULL
    [byd_psd-1]   3511.063615 s:  VX_ZONE_ERROR:[vxGetStatus:713] Reference is NULL
    [byd_psd-1]   3511.063622 s:  VX_ZONE_ERROR:[vxSetReferenceName:659] Invalid reference
    [byd_psd-1]   3511.064262 s:  VX_ZONE_ERROR:[tivxMapTensorPatch:611] Invalid tensor reference
    [ERROR] [byd_psd-1]: process has died [pid 6715, exit code -11, cmd '/home/root/install/lib/byd_od_demo/byd_psd --ros-args -r __node:=byd_psd --params-file /tmp/launch_params_e7tfhyxa --params-file /tmp/launch_params_u04zamzc --params-file /home/root/install/share/byd_od_demo/config/psd_params.yaml'].
    root@j7-evm:~# free
                  total        used        free      shared  buff/cache   available
    Mem:        2305344      473856      518016       33152     1313472     1450304

    VX_ZONE_ERROR:[tivxAddKernelTIDL:233] Unable to allocate user kernel ID

  • Hi,

    Thank you for sharing the logs.

    From the logs you have shared now, I see that the creation of context itself has returned error.

    This usually happens when in the previous run, there is no smooth exit or if there is any error in the previous run.

    Are you seeing any warning/errors during close of your application before this issue is seen?

    Could you please provide the logs on the instance of the good case just before the bad case? 
    Could we check if there are errors, or some release warnings present in this good case (right before the bad case iteration)?

    Regards,
    Nikhil