为何同样的代码,在x3sdb 4G版本和2G版本跑的结果不一样,4G版本跑了一段时间会报错

跑检测ocr事件node在x3sdb 4G版本和2G版本跑的结果不一样,4G版本跑了一段时间会报错,2G正常:

[tros_base_cartrack-3] terminate called after throwing an instance of ‘std::logic_error’

[tros_base_cartrack-3] what(): basic_string::_M_construct null not valid

你好,2G和4G的系统版本是否对齐,运行的具体事例是?

可能4G版本中的环境安装未完全导致的,可以尝试下重新安装环境试试