unwinddaemon
unwinddaemon copied to clipboard
Read frameinfo_size from socket error.
hello,LZ有遇到过这个错吗? [print_frame_info] 13543 0x70e7b05018 16672 Read frameinfo_size from socket error
client(bcc)和server(unwinddaemon/main.cpp)的数据交互都是一来一回的,通常不会有问题
如果出现这个错误,建议重新运行server端,再运行client端。还是有问题就自己加日志排查
- https://github.com/SeeFlowerX/unwinddaemon/blob/master/main.cpp
- https://github.com/SeeFlowerX/unwindbcc/commit/f6548633e1d8afd527637f0da69959046986a25c
目前实际落地方案是将解析堆栈的部分编译为动态库,然后调用导出函数做的解析。
- https://github.com/SeeFlowerX/stackplz/blob/563fd9d849eec50e51f221cbbfd30f99a519ec7a/user/event/chelper.go#L15
- https://github.com/SeeFlowerX/stackplz/blob/563fd9d849eec50e51f221cbbfd30f99a519ec7a/user/event/load_so.c#L42
- https://github.com/SeeFlowerX/stackplz/tree/dev/preload_libs
我只对安卓arm和arm64测试过,其他架构不清楚。
是安卓arm64的设备