Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1150

Closed
Open
Opened Aug 13, 2024 by Ghost User@ghost1 of 19 tasks completed1/19 tasks

网络启动后节点异常退出ChainMaker exit

【问题分类】

  • bug
  • P2P网络相关(包含libp2p,liquid)
  • 链账户身份与权限相关(证书问题、public、多签投票问题)
  • 核心交易引擎相关(交易池、DAG)
  • 共识相关
  • 智能合约相关
  • 存储相关
  • SDK相关
  • 长安链CMC工具
  • 长安链管理台
  • 长安链浏览器
  • 长安链合约IDE
  • 长安链web签名插件
  • 跨链相关
  • 轻节点相关
  • 隐私计算相关
  • 密码学相关
  • 环境依赖
  • 其他补充:

【问题描述】(请对问题进行描述,方便定位问题)

TBFT共识模式下,一个攻击节点发送拜占庭攻击消息包时,某些节点异常退出

  1. 启动TBFT共识长安链,10个节点,其中一个为拜占庭攻击节点,会随机变异发送出去的消息包,进行模糊测试fuzzing
  2. 一段时间后某个节点异常退出,panic.log日志无明显输出

【相关日志文件】(如果有报错日志请贴图,或者上传附件)

chainmaker-go 的 log/system.log & bin/panic.log file * 截屏2024-08-13_11.51.25

其中system.log关键部分日志为:

2024-08-12 15:05:30.186	[INFO]	[Net]	libp2p-pubsub@v1.1.5/comm.go:52	error reading rpc from QmRhMMNYp7TJDUCpHBfB6sMzhAUDpUuXMphCHaJMiwkf7W: stream reset
2024-08-12 15:05:30.246	[INFO]	[Net]	libp2pnet/libp2p_host.go:182	[Host] connection disconnected, remove peer from host(remote peer-id:[QmRhMMNYp7TJDUCpHBfB6sMzhAUDpUuXMphCHaJMiwkf7W], remote multi-addr:[/ip4/127.0.0.1/tcp/11301]).

其它运行时日志太大,详见附件。 bug5.log

【系统信息】(请填写系统信息,方便定位问题)

  • **chainmaker-go version * : [v2.3.5]

  • **OS & version * :Linux version 5.15.0-105-generic, 20.04.1-Ubuntu

  • **docker镜像 version:

Client: Docker Engine - Community Version: 27.0.3 API version: 1.46 Go version: go1.21.11

Server: Docker Engine - Community Engine: Version: 27.0.3 API version: 1.46 (minimum version 1.24) Go version: go1.21.11

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1150

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。