---
title: 算子输入输出数据地址异常
description: "如果info.txt中给出如下分析结论，一般为地址非法错误："
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/maintenref/troubleshooting/troubleshooting_0016.html
sourcePath: /source/zh/CANNCommunityEdition/920beta1/maintenref/troubleshooting/troubleshooting_0016.html
indexId: 63e2f21f3d05520dba05115779f358b611f1069ca90962968c39dfa9daaea7e793
---
# 算子输入输出数据地址异常

#### 分析结果

如果info.txt中给出如下分析结论，一般为地址非法错误：


```
"**********************Root cause conclusion******************"
The input/output memory address of the operator is abnormal (or the original dumped data fails). Check the framework or application.
```

同时在info.txt文件中“4. Operator Input/Output Memory”处会有如下信息：

```
****************4. Operator Input/Output Memory*******************
*[ERROR]input[1] is out of range
*[ERROR]input[2] is out of range
input[0] addr: 0x124080042000 end_addr:0x124080042100 size: 0x100
input[1] addr: 0xaaaaaaaa end_addr:0xaaaaaab2 size: 0x8
input[2] addr: 0x0 end_addr:0x4 size: 0x4
output[0] addr: 0x124080052000 end_addr:0x124080052008 size: 0x8
arg[4][0x1240003E5070] cannot find alloc log, if it is not tiling_gm, please check
arg[2][0x0] cannot find alloc log, if it is not tiling_gm, please check
workspace_bytes:0
```

#### 故障根因

msaicerr工具检查Device上内存申请成功的地址、Device上内存释放的地址相关的日志，通过计算这两个值的差集确定可用的内存地址范围，如果input、output地址不在这个范围内，则会报错。


#### 处理方法

针对地址非法错误，一般需要确认算子地址是否合法。有以下情况：

1. 如果是离线推理图的输入输出或单算子调用，一般为用户应用程序中申请的地址空间错误，请检查应用源码。
2. 其他情况一般为框架申请的地址空间异常，您需准备好asys工具收集的故障信息和msaicerr工具分析结果文件，再联系技术支持检查定位。您可以获取日志后单击Link(https://www.hiascend.com/support)联系技术支持。
