登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 618 年中盛典开启:企业版新购最高送一年,PocketClaw 首次限时折扣
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
224
Star
1.3K
Fork
1.1K
Ascend
/
samples
代码
Issues
41
Pull Requests
98
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
aclinit()函数初始化遇到了从未见过的问题
REJECTED
#I8KSNJ
Bug-Report
guanshanjushi
创建于
2023-11-30 17:19
一、问题现象(附报错日志上下文): aclinit()函数初始化失败 二、软件版本: -- CANN 版本 (5.0.2): --Python 版本 (Python 3.7.5): --操作系统版本 (Ubuntu 18.04.5 LTS): 三、测试步骤: 我在昇腾310上编译yolov5示例的时候可以运行,但是将yolov5工程整合到我公司项目中时会出现aclinit()错误。该错误从来没见过,也没有给出错误代码。 整个项目调用流程是:先初始化GPS+时间戳+mysql,然后在main函数中调用一个类,该类里初始化aclinit(),然后就出错了。 下面是gdb调试出现的问题: 这个是调用aclinit()函数的地方。 in zt::VideoAnalysis::init (this=0xaaaaab4eb990, conf="./") at /home/hwits/wxp/CityEvent/ztva/ztva/src/ZTVA/VideoAnalysis.cpp:208 这个是报错的动态库和函数: in aclInit () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libascendcl.so 这个是详细的错误堆栈: #6 0x0000fffff0568de0 in ErrorManager::ReadJsonFile(std::string const&, void*) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #7 0x0000fffff0568440 in ErrorManager::ParseJsonFile(std::string) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #8 0x0000fffff05670b8 in ErrorManager::Init(std::string) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #9 0x0000fffff056720c in ErrorManager::Init() () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so 这个是错误的详细: nlohmann::operator>>(std::istream&, nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>&) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::parser(std::shared_ptr<nlohmann::detail::input_adapter_protocol>&&, std::function<bool (int, nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::parse_event_t, nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>&)>, bool) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::get_token() () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so ?? () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so vtable for std::basic_ifstream<char, std::char_traits<char> > () from /usr/lib/aarch64-linux-gnu/libstdc++.so.6 四、日志信息: /var/log/kern.log错误如下: Nov 30 10:51:26 ubuntu-szzt kernel: [2552318.229065] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:26718> pid 26718 use segment 524224. Nov 30 11:13:03 ubuntu-szzt kernel: [2553615.247916] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:31775> The current environment not in container. Nov 30 11:13:03 ubuntu-szzt kernel: [2553615.283291] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:31775> pid 31775 use segment 524224. Nov 30 11:15:48 ubuntu-szzt kernel: [2553780.475007] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:32062> The current environment not in container. Nov 30 11:15:48 ubuntu-szzt kernel: [2553780.521759] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:32062> pid 32062 use segment 524224. Nov 30 11:18:20 ubuntu-szzt kernel: [2553932.138718] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:32337> The current environment not in container. Nov 30 11:18:20 ubuntu-szzt kernel: [2553932.183713] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:32337> pid 32337 use segment 524224. Nov 30 13:59:28 ubuntu-szzt kernel: [2563600.329845] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:50578> The current environment not in container. Nov 30 13:59:28 ubuntu-szzt kernel: [2563600.330043] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:50578> pid 50578 use segment 524224. Nov 30 14:00:25 ubuntu-szzt kernel: [2563657.042632] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:50690> The current environment not in container. Nov 30 14:00:25 ubuntu-szzt kernel: [2563657.042730] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:50690> pid 50690 use segment 524224. Nov 30 14:19:16 ubuntu-szzt kernel: [2564788.001820] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:52761> The current environment not in container. Nov 30 14:19:16 ubuntu-szzt kernel: [2564788.001925] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:52761> pid 52761 use segment 524224. Nov 30 14:21:29 ubuntu-szzt kernel: [2564921.153076] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:52997> The current environment not in container. Nov 30 14:21:29 ubuntu-szzt kernel: [2564921.153184] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:52997> pid 52997 use segment 524224. Nov 30 14:34:39 ubuntu-szzt kernel: [2565710.515342] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:54843> The current environment not in container. Nov 30 14:34:39 ubuntu-szzt kernel: [2565710.515547] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:54843> pid 54843 use segment 524224. Nov 30 14:39:04 ubuntu-szzt kernel: [2565975.966276] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:57030> The current environment not in container. Nov 30 14:39:04 ubuntu-szzt kernel: [2565975.966498] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:57030> pid 57030 use segment 524224. Nov 30 14:50:03 ubuntu-szzt kernel: [2566635.217937] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <npu-smi:58275> The current environment not in container. Nov 30 14:50:03 ubuntu-szzt kernel: [2566635.218189] [ascend] [hdcdrv] [hdcdrv_config 2885] <npu-smi:58275> pid 58275 use segment 524224. Nov 30 15:01:01 ubuntu-szzt kernel: [2567292.930937] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:59404> The current environment not in container. Nov 30 15:01:01 ubuntu-szzt kernel: [2567292.931154] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:59404> pid 59404 use segment 524224. Nov 30 15:02:15 ubuntu-szzt kernel: [2567367.014263] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:59879> The current environment not in container. Nov 30 15:02:15 ubuntu-szzt kernel: [2567367.014485] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:59879> pid 59879 use segment 524224. ${HOME}/ascend/log/plog日志信息如下: [EVENT] PROFILING(59879,ZTVAServer):2023-11-30-15:02:15.634.976 [msprof_callback_impl.cpp:151] >>> (tid:59879) Started to register profiling callbacks to acl 日志提供方式: 文本
一、问题现象(附报错日志上下文): aclinit()函数初始化失败 二、软件版本: -- CANN 版本 (5.0.2): --Python 版本 (Python 3.7.5): --操作系统版本 (Ubuntu 18.04.5 LTS): 三、测试步骤: 我在昇腾310上编译yolov5示例的时候可以运行,但是将yolov5工程整合到我公司项目中时会出现aclinit()错误。该错误从来没见过,也没有给出错误代码。 整个项目调用流程是:先初始化GPS+时间戳+mysql,然后在main函数中调用一个类,该类里初始化aclinit(),然后就出错了。 下面是gdb调试出现的问题: 这个是调用aclinit()函数的地方。 in zt::VideoAnalysis::init (this=0xaaaaab4eb990, conf="./") at /home/hwits/wxp/CityEvent/ztva/ztva/src/ZTVA/VideoAnalysis.cpp:208 这个是报错的动态库和函数: in aclInit () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libascendcl.so 这个是详细的错误堆栈: #6 0x0000fffff0568de0 in ErrorManager::ReadJsonFile(std::string const&, void*) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #7 0x0000fffff0568440 in ErrorManager::ParseJsonFile(std::string) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #8 0x0000fffff05670b8 in ErrorManager::Init(std::string) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so #9 0x0000fffff056720c in ErrorManager::Init() () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so 这个是错误的详细: nlohmann::operator>>(std::istream&, nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>&) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/liberror_manager.so nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::parser(std::shared_ptr<nlohmann::detail::input_adapter_protocol>&&, std::function<bool (int, nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::parse_event_t, nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>&)>, bool) () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so nlohmann::detail::parser<nlohmann::basic_json<std::map, std::vector, std::string, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> >::get_token() () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so ?? () from /usr/local/Ascend/ascend-toolkit/latest/fwkacllib/lib64/libge_runner.so vtable for std::basic_ifstream<char, std::char_traits<char> > () from /usr/lib/aarch64-linux-gnu/libstdc++.so.6 四、日志信息: /var/log/kern.log错误如下: Nov 30 10:51:26 ubuntu-szzt kernel: [2552318.229065] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:26718> pid 26718 use segment 524224. Nov 30 11:13:03 ubuntu-szzt kernel: [2553615.247916] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:31775> The current environment not in container. Nov 30 11:13:03 ubuntu-szzt kernel: [2553615.283291] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:31775> pid 31775 use segment 524224. Nov 30 11:15:48 ubuntu-szzt kernel: [2553780.475007] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:32062> The current environment not in container. Nov 30 11:15:48 ubuntu-szzt kernel: [2553780.521759] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:32062> pid 32062 use segment 524224. Nov 30 11:18:20 ubuntu-szzt kernel: [2553932.138718] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <memcheck-arm64-:32337> The current environment not in container. Nov 30 11:18:20 ubuntu-szzt kernel: [2553932.183713] [ascend] [hdcdrv] [hdcdrv_config 2885] <memcheck-arm64-:32337> pid 32337 use segment 524224. Nov 30 13:59:28 ubuntu-szzt kernel: [2563600.329845] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:50578> The current environment not in container. Nov 30 13:59:28 ubuntu-szzt kernel: [2563600.330043] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:50578> pid 50578 use segment 524224. Nov 30 14:00:25 ubuntu-szzt kernel: [2563657.042632] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:50690> The current environment not in container. Nov 30 14:00:25 ubuntu-szzt kernel: [2563657.042730] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:50690> pid 50690 use segment 524224. Nov 30 14:19:16 ubuntu-szzt kernel: [2564788.001820] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:52761> The current environment not in container. Nov 30 14:19:16 ubuntu-szzt kernel: [2564788.001925] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:52761> pid 52761 use segment 524224. Nov 30 14:21:29 ubuntu-szzt kernel: [2564921.153076] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:52997> The current environment not in container. Nov 30 14:21:29 ubuntu-szzt kernel: [2564921.153184] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:52997> pid 52997 use segment 524224. Nov 30 14:34:39 ubuntu-szzt kernel: [2565710.515342] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:54843> The current environment not in container. Nov 30 14:34:39 ubuntu-szzt kernel: [2565710.515547] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:54843> pid 54843 use segment 524224. Nov 30 14:39:04 ubuntu-szzt kernel: [2565975.966276] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:57030> The current environment not in container. Nov 30 14:39:04 ubuntu-szzt kernel: [2565975.966498] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:57030> pid 57030 use segment 524224. Nov 30 14:50:03 ubuntu-szzt kernel: [2566635.217937] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <npu-smi:58275> The current environment not in container. Nov 30 14:50:03 ubuntu-szzt kernel: [2566635.218189] [ascend] [hdcdrv] [hdcdrv_config 2885] <npu-smi:58275> pid 58275 use segment 524224. Nov 30 15:01:01 ubuntu-szzt kernel: [2567292.930937] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:59404> The current environment not in container. Nov 30 15:01:01 ubuntu-szzt kernel: [2567292.931154] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:59404> pid 59404 use segment 524224. Nov 30 15:02:15 ubuntu-szzt kernel: [2567367.014263] [ascend] [devdrv] [devdrv_manager_container_table_overlap 924] <ZTVAServer:59879> The current environment not in container. Nov 30 15:02:15 ubuntu-szzt kernel: [2567367.014485] [ascend] [hdcdrv] [hdcdrv_config 2885] <ZTVAServer:59879> pid 59879 use segment 524224. ${HOME}/ascend/log/plog日志信息如下: [EVENT] PROFILING(59879,ZTVAServer):2023-11-30-15:02:15.634.976 [msprof_callback_impl.cpp:151] >>> (tid:59879) Started to register profiling callbacks to acl 日志提供方式: 文本
评论 (
1
)
登录
后才可以发表评论
状态
REJECTED
TODO
Analysing
ACCEPTED
WIP
Feedback
TEST
DONE
REJECTED
负责人
未设置
标签
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (
-
)
标签 (
-
)
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(2)
1
https://gitee.com/ascend/samples.git
git@gitee.com:ascend/samples.git
ascend
samples
samples
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册