【问题反馈】【部署链】部署出现invalid memory address or nil pointer dereference
【问题分类】
- bug
- P2P网络相关(包含libp2p,liquid)
- 链账户身份与权限相关(证书问题、public、多签投票问题)
- 核心交易引擎相关(交易池、DAG)
- 共识相关
- 智能合约相关
- 存储相关
- SDK相关
- 长安链CMC工具
- 长安链管理台
- 长安链浏览器
- 长安链合约IDE
- 长安链web签名插件
- 跨链相关
- 轻节点相关
- 隐私计算相关
- 密码学相关
- 环境依赖
- 其他补充:
【问题描述】(请对问题进行描述,方便定位问题)
具体的现象,操作步骤,前置条件等,尽可能描述清楚,有截图说明更佳
【相关日志文件】(如果有报错日志请贴图,或者上传附件)
cp /data/management-backend/dependence/bin/cmlogagentd . chmod a+x cmlogagentd ./start.sh
没有启动chainmaker
[root@VM-0-3-centos release]# ps -ef|grep chainmaker root 6329 11738 0 16:24 pts/0 00:00:00 grep --color=auto chainmaker root 9193 9168 0 Mar22 ? 00:00:48 ./chainmaker-management.bin -config ../configs/ [root@VM-0-3-centos release]# [root@VM-0-3-centos release]# [root@VM-0-3-centos release]# [root@VM-0-3-centos release]#
【系统信息】(请填写系统信息,方便定位问题)
没有启动chainmaker
tail -200f cmlogagentd.log { "HttpListenAddr": "0.0.0.0:22301", "NodeDirs": [ "/data/xinx/release/nrbc-xx001", "/data/xinx/release/nrbc-node2", "/data/xinx/release/2-node3", "/data/xinx/release/2-node4" ], "CacheSize": 10485760, "UpLines": 10, "DownLines": 10 } 2022/04/07 16:22:19 starting 12303-system.log-reader 2022/04/07 16:22:19 starting 12303-panic.log-reader 2022/04/07 16:22:19 starting 12304-system.log-reader 2022/04/07 16:22:19 starting 12304-panic.log-reader 2022/04/07 16:22:19 starting 8081-system.log-reader 2022/04/07 16:22:19 starting 8081-panic.log-reader 2022/04/07 16:22:19 starting 12302-system.log-reader 2022/04/07 16:22:19 starting 12302-panic.log-reader 2022/04/07 16:22:19 http server listen and serve on 0.0.0.0:22301 2022/04/07 16:22:19 Waiting for /data/xinx/release/2-node4/log/system.log to appear... 2022/04/07 16:22:19 Waiting for /data/xinx/release/nrbc-xx001/log/system.log to appear... 2022/04/07 16:22:19 Waiting for /data/xinx/release/nrbc-node2/log/system.log to appear... 2022/04/07 16:22:19 Waiting for /data/xinx/release/2-node3/log/system.log to appear... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x64405c]
goroutine 23 [running]: chainmaker.org/chainmaker/management-log-agent/logreader.(*SystemReader).Start(0xc0001107e0) /Users/whd/Projects/git.code.tencent.com/chainmaker/management-log-agent/logreader/system_reader.go:48 +0x2fc created by chainmaker.org/chainmaker/management-log-agent/logreader.(*Manager).startAllLogReader /Users/whd/Projects/git.code.tencent.com/chainmaker/management-log-agent/logreader/reader.go:211 +0x71