👋 您好,欢迎向MindStudio MemScope提交 Issue!
我们已收到您的反馈,感谢你对开源社区的支持。🎉
📅处理时效: 维护团队将在24小时内 查看并回复您的问题(工作日)。
🔍自助查询: 在等待期间,建议您先查阅以下资料,可能已有解决方案:
请确保 Issue 描述清晰,包含复现步骤和日志,这将帮助我们更快定位问题。谢谢!


(py_39) [root@90 c]# make
/home/w********/B066/Ascend/cann-9.2.0/bin/ccec -xcce -O2 -std=c++17 --cce-enable-sanitizer -g --cce-aicore-arch=dav-c220-vec -I/home/w********/B066/Ascend/cann-9.2.0/compiler/tikcpp/tikcfw -I/home/w********/B066/Ascend/cann-9.2.0/compiler/tikcpp/tikcfw/impl -I/home/w********/B066/Ascend/cann-9.2.0/compiler/tikcpp/tikcfw/interface -I/home/w********/B066/Ascend/cann-9.2.0/include -o test_kernel.o -c test_kernel.cpp
g++ -O2 -std=c++17 -I/home/w********/B066/Ascend/cann-9.2.0/include -o main.o -c main.cpp
/home/w********/B066/Ascend/cann-9.2.0/bin/ccec --cce-fatobj-link --cce-enable-sanitizer --cce-aicore-arch=dav-c220-vec -o test_kernel.fatbin test_kernel.o main.o -L/home/w********/B066/Ascend/cann-9.2.0/lib64 -lruntime -lascendcl -lms_tools_ext -lstdc++
(py_39) [root@90 c]# msmemscope ./
main.cpp main.o Makefile test_kernel.cpp test_kernel.fatbin test_kernel.o
(py_39) [root@90 c]# msmemscope ./test_kernel.fatbin
>>>>> MindStudio <<<<<
THE END-TO-END TOOLCHAIN TO UNLEASH HUAWEI ASCEND COMPUTE
=================================================================
[msmemscope] Info: Config into file /home/w********/B066/msmemscope/example/leaks/c/memscopeDumpResults/msmemscope_796637_202048_ascend/config.json
[msmemscope] Info: logging into file /home/w/B066/msmemscope/example/leaks/c/memscopeDumpResults/msmemscope_796637_202048_ascend/msmemscope_logs/msmemscope_202048.log
[msmemscope] Info: logging into file /home/w********/B066/msmemscope/example/leaks/c/memscopeDumpResults/msmemscope_796637_202048_ascend/msmemscope_logs/msmemscope_202048.log
[msmemscope] Info: create file /home/w********/B066/msmemscope/example/leaks/c/memscopeDumpResults/msmemscope_796637_202048_ascend/device_0/dump/memscope_dump_202058.csv.
[msmemscope] Info: Fflush temporary cache events to file!


回归验证通过


在提交新问题之前,请确保您已经在社区中搜索过相关问题,并使用了社区中提供的资源/工具后,仍未找到满意的解决方式。
⚠️ 安全信息提醒:请仔细检查提供的文本内容,确保其不包含敏感数据信息,包括但不限于:
在分享配置信息或代码示例时,请将敏感信息脱敏处理,或使用
<TOKEN>等占位符替代原有内容。环境信息
🐛 问题描述
[msmemscope] hostmem: [pid=1009342] exit path: triggering host mem window close
[msmemscope] host leak [pid=1009342] exit close running (pre-exit interceptor)
[msmemscope] host leak [pid=1009342] report_stage: STAGE_END entered (stage=1)
[msmemscope] hostmem: [pid=1009342] window close id=1 done (stacks=400000 blocks=4695566 unattr=7792851 truncated=2)
[msmemscope] hostmem: [pid=1009342] symCache: 659 entries (warmup coverage, cap=1048576)
[msmemscope] host leak [pid=1009342] exit close: closing bit already clear (window closed or never closing)
[msmemscope] Info: Fflush temporary cache events to file!
[msmemscope] hostmem: [pid=1009337] exit path: triggering host mem window close
[msmemscope] host leak [pid=1009337] exit handler: no report instance
欢迎加入社区,感谢您对社区的贡献 🎉!