admin管理员组文章数量:1569319
核心错误描述:unreadable: could not read string len protocol error E08 during memory read for packet $m191,58
日志报错:panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xa44045]
debug 发现结构体字段值全是:unreadable: could not read string len protocol error E08 during memory read for packet $m191,58
解决:我本来这里全传的指针,在上一个方法里结构体还有值,把结构体的指针传到下个方法发现调用不了,
于是我改成了传结构体对象,可以解决。当我又改回传指针想复现错误时,发现又好了!!!!复现都复现不出了,服了 。就又改为传指针继续跑了。
哪位佬知道原因的,麻烦告知下~ 三克油
本文标签: lenprotocolStringunreadableread
版权声明:本文标题:unreadable: could not read string len protocol error E08 during memory read for packet $m191,58 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726225365a1061452.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论