This repository was archived by the owner on Oct 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 356
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
[Bug?]: 群聊中的reaction不再正常接受, 群聊中添加或者删除表情回应时会有warn #875
Copy link
Copy link
Open
Labels
bug?Maybe it's a bugMaybe it's a bug
Description
请确保您已阅读以上注意事项,并勾选下方的确认框。
- 我已经仔细阅读上述内容
- 我已经使用 最新构建 测试过,问题依旧存在。
- 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
- 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(其它疑问请考虑加入TG群询问或在discussions中提问)
Lagrange项目
Audio
所使用/依赖的Lagrange项目对应的commit
ghcr.io/lagrangedev/lagrange.onebot:sha-8ba45e4镜像
运行环境
Linux
运行架构
x64
连接方式
反向 WebSocket
重现步骤
把bot拉入群聊, 启动Lagrange发送任意信息, 随后添加任何表情回应
期望的结果是什么?
正常返回GroupReactionEvent, 通过反向ws传递
实际的结果是什么?
每当有群聊reaction时会报错如下
warn: Lagrange.Core.BotContext[0]
[2025-07-25 04:59:43] [BusinessContext] [WARNING]: Error while handling msf push: 12 trpc.msg.olpush.OlPushService.MsgPush
warn: Lagrange.Core.BotContext[0]
[2025-07-25 04:59:43] [BusinessContext] [WARNING]: Arithmetic operation resulted in an overflow.
warn: Lagrange.Core.BotContext[0]
[2025-07-25 04:59:43] [BusinessContext] [WARNING]: at ProtoBuf.ProtoReader.State.ThrowOverflow() in /_/src/protobuf-net.Core/ProtoReader.State.ReadMethods.cs:line 835
at ProtoBuf.ProtoReader.ReadOnlySequenceProtoReader.TryParseUInt32Varint(State& state, Int32 offset, Boolean trimNegative, UInt32& value, ReadOnlySpan`1 span) in /_/src/protobuf-net.Core/ProtoReader.ReadOnlySequence.cs:line 141
at proto_32(State&, ContentHead)
at ProtoBuf.ProtoReader.State.ReadMessage[TSerializer,T](SerializerFeatures features, T value, TSerializer& serializer) in /_/src/protobuf-net.Core/ProtoReader.State.ReadMethods.cs:line 1021
at proto_28(State&, PushMsgBody)
at ProtoBuf.ProtoReader.State.ReadMessage[TSerializer,T](SerializerFeatures features, T value, TSerializer& serializer) in /_/src/protobuf-net.Core/ProtoReader.State.ReadMethods.cs:line 1021
at proto_26(State&, PushMsg)
at ProtoBuf.ProtoReader.State.DeserializeRoot[T](T value, ISerializer`1 serializer) in /_/src/protobuf-net.Core/ProtoReader.State.ReadMethods.cs:line 1137
at ProtoBuf.Meta.TypeModel.Deserialize[T](ReadOnlySpan`1 source, T value, Object userState) in /_/src/protobuf-net.Core/Meta/TypeModel.cs:line 800
at Lagrange.Core.Internal.Service.Message.PushMessageService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, PushMessageEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Service.BaseService`1.Lagrange.Core.Internal.Service.IService.Parse(Span`1 input, BotKeystore keystore, BotAppInfo appInfo, BotDeviceInfo device, ProtocolEvent& output, List`1& extraEvents)
at Lagrange.Core.Internal.Context.ServiceContext.ResolveEventByPacket(SsoPacket packet)
at Lagrange.Core.Internal.Context.BusinessContext.HandleServerPacket(SsoPacket packet)
简单的复现代码/链接(可选)
Trace 级别日志记录(可选)
补充说明(可选)
No response
MoonofBridge24 and NingmengLemon
Metadata
Metadata
Assignees
Labels
bug?Maybe it's a bugMaybe it's a bug