另外使用cnvideo接口遇到另外一个问题,解码1500帧没有问题,每次在解码第一1501帧就会出现下面的错误:
2022-06-24 16:38:48.276168: [cnrtError] [23203] [Card : 0] Error occurred in cnrtCreateNotifier during calling driver interface.
2022-06-24 16:38:48.276885: [cnrtError] [23203] [Card : 0] Return value is 21, MLU_SBTS_ERROR_SHARE_MEM_ALLOC, means that "Failed to alloc share memory"
2022-06-24 16:38:48.276945: [cnrtError] [23203] [Card : 0] Create event failed
2022-06-24 16:38:48.276996: [cnrtError] [23203] [Card : 0] [ObjDetection.cpp:294] CNRT error, code=632046(Errors occurred from driver functions that are returned via CNRT. See the detailed error messages on the screen. ) "cnrtRuntimeContextCreateNotifier(_ctx, &_notifier_start)"
2022-06-24 16:38:48.309738: [cnrtError] [23203] [Card : 0] Error occurred in cnrtCreateNotifier during calling driver interface.
2022-06-24 16:38:48.309813: [cnrtError] [23203] [Card : 0] Return value is 21, MLU_SBTS_ERROR_SHARE_MEM_ALLOC, means that "Failed to alloc share memory"
2022-06-24 16:38:48.309852: [cnrtError] [23203] [Card : 0] Create event failed
2022-06-24 16:38:48.309886: [cnrtError] [23203] [Card : 0] [ObjDetection.cpp:295] CNRT error, code=632046(Errors occurred from driver functions that are returned via CNRT. See the detailed error messages on the screen. ) "cnrtRuntimeContextCreateNotifier(_ctx, &_notifier_end)"
2022-06-24 16:38:48.353490: [cnrtError] [23203] [Card : 0] Error occurred in cnrtPlaceNotifier during calling driver interface.
2022-06-24 16:38:48.353575: [cnrtError] [23203] [Card : 0] Return value is 40, MLU_NOTIFIER_ERROR_NOTIFIER_INVALID, means that "Notifier legality check error,notifier not found"
2022-06-24 16:38:48.353625: [cnrtError] [23203] [Card : 0] [ObjDetection.cpp:296] CNRT error, code=632046(Errors occurred from driver functions that are returned via CNRT. See the detailed error messages on the screen. ) "cnrtPlaceNotifier(_notifier_start, _queue)"
2022-06-24 16:38:48.396766: [cnrtError] [23203] [Card : 0] Error occurred in cnrtPlaceNotifier during calling driver interface.
2022-06-24 16:38:48.396849: [cnrtError] [23203] [Card : 0] Return value is 40, MLU_NOTIFIER_ERROR_NOTIFIER_INVALID, means that "Notifier legality check error,notifier not found"
2022-06-24 16:38:48.396897: [cnrtError] [23203] [Card : 0] [ObjDetection.cpp:307] CNRT error, code=632046(Errors occurred from driver functions that are returned via CNRT. See the detailed error messages on the screen. ) "cnrtPlaceNotifier(_notifier_end, _queue)"
2022-06-24 16:38:48.400362: [cnrtError] [23203] [Card : 0] Error occurred in cnrtNotifierDuration during calling driver interface.
2022-06-24 16:38:48.400447: [cnrtError] [23203] [Card : 0] Return value is 6, MLU_ERROR_INVALID_DEVICE, means that "invalid device handle"
2022-06-24 16:38:48.400495: [cnrtError] [23203] [Card : 0] [ObjDetection.cpp:316] CNRT error, code=632046(Errors occurred from driver functions that are returned via CNRT. See the detailed error messages on the screen. ) "cnrtNotifierDuration(_notifier_start, _notifier_end, &hwtime)"
观察cnmon的输出,内存余量充足,并没有发现内存有泄漏的情况;系统内存余量也非常多。
可能是什么原因导致的呢?
请登录后评论