We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境信息 请根据实际使用环境修改以下信息 go-cqhttp版本: v0.9.25-fix3 运行环境: windows_amd64 连接方式: 正向WS
bug内容 部分时候在新成员进群后,接收不到新成员发的消息并报错
复现方法 如日志,新成员 枫 进群后,只收到一条消息“?”,实际发了好几条消息,并且从新成员进群开始后一直报错panic on decoder: runtime error: invalid memory address or nil pointer dereference
日志 [2020-09-26 09:09:49] [INFO]: 新成员 枫(85---709) 进入了群 龙---会(81---392). [2020-09-26 09:09:49] [INFO]: 收到群 龙---会(81---392) 内 枫(85---709) 的消息: ? (211211034) [2020-09-26 09:10:02] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:11] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:11] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: ?穷啊 (-1674981749) [2020-09-26 09:10:12] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:13] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 他是这样的,有钱有用, (-575418242) [2020-09-26 09:10:20] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 怕别人打他 (1153073604) [2020-09-26 09:10:20] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 价格不一样的吗 (868069714) [2020-09-26 09:10:28] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 40通宝一点体力 (-1378278159) [2020-09-26 09:10:30] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:32] [ERROR]: Protocol -> packet timed out, seq: 25328 [2020-09-26 09:10:36] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 我们都是又穷又拉夸 (1138181597) [2020-09-26 09:10:43] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 使用 佛跳墙x2 (886076747) [2020-09-26 09:10:45] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 查看[CQ:at,qq=851875709] (-748136372) [2020-09-26 09:10:46] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:47] [INFO]: 处置WS命令时发生无法恢复的异常:runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:49] [INFO]: 接受 Websocket 连接: 127.0.0.1:62031 (/) [2020-09-26 09:10:51] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference [2020-09-26 09:10:54] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: [CQ:image,file=6e3dfa32c6606b1b8baecc7a723959d1.image] (715554835) [2020-09-26 09:10:57] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 挖宝三连 (-1262348880) [2020-09-26 09:11:04] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
The text was updated successfully, but these errors were encountered:
请使用新版本以确定更加详细的日志
Sorry, something went wrong.
已修复
b731622
No branches or pull requests
环境信息
请根据实际使用环境修改以下信息
go-cqhttp版本: v0.9.25-fix3
运行环境: windows_amd64
连接方式: 正向WS
bug内容
部分时候在新成员进群后,接收不到新成员发的消息并报错
复现方法
如日志,新成员 枫 进群后,只收到一条消息“?”,实际发了好几条消息,并且从新成员进群开始后一直报错panic on decoder: runtime error: invalid memory address or nil pointer dereference
日志
[2020-09-26 09:09:49] [INFO]: 新成员 枫(85---709) 进入了群 龙---会(81---392).
[2020-09-26 09:09:49] [INFO]: 收到群 龙---会(81---392) 内 枫(85---709) 的消息: ? (211211034)
[2020-09-26 09:10:02] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:11] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:11] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: ?穷啊 (-1674981749)
[2020-09-26 09:10:12] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:13] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 他是这样的,有钱有用, (-575418242)
[2020-09-26 09:10:20] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 怕别人打他 (1153073604)
[2020-09-26 09:10:20] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 价格不一样的吗 (868069714)
[2020-09-26 09:10:28] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 40通宝一点体力 (-1378278159)
[2020-09-26 09:10:30] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:32] [ERROR]: Protocol -> packet timed out, seq: 25328
[2020-09-26 09:10:36] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 我们都是又穷又拉夸 (1138181597)
[2020-09-26 09:10:43] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 使用 佛跳墙x2 (886076747)
[2020-09-26 09:10:45] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: 查看[CQ:at,qq=851875709] (-748136372)
[2020-09-26 09:10:46] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:47] [INFO]: 处置WS命令时发生无法恢复的异常:runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:49] [INFO]: 接受 Websocket 连接: 127.0.0.1:62031 (/)
[2020-09-26 09:10:51] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
[2020-09-26 09:10:54] [INFO]: 收到群 龙---会(81---392) 内 气---了(82---345) 的消息: [CQ:image,file=6e3dfa32c6606b1b8baecc7a723959d1.image] (715554835)
[2020-09-26 09:10:57] [INFO]: 收到群 龙---会(81---392) 内 天---了(56---575) 的消息: 挖宝三连 (-1262348880)
[2020-09-26 09:11:04] [ERROR]: Protocol -> panic on decoder: runtime error: invalid memory address or nil pointer dereference
The text was updated successfully, but these errors were encountered: