Skip to content
New issue

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

xlog 日志乱码/错乱后crash #1262

Open
TMTBO opened this issue Apr 30, 2024 · 0 comments
Open

xlog 日志乱码/错乱后crash #1262

TMTBO opened this issue Apr 30, 2024 · 0 comments

Comments

@TMTBO
Copy link

TMTBO commented Apr 30, 2024

最近更新了最新的代码, 编译出的xlog在线上偶现有一些用户崩溃, 分析了用户的日志, 发现在crash前后的日志是错乱的, 并且伴随着一些乱码, 大家有遇到这种情况吗, 是如何解决的呀

堆栈都是定位到 Compress (xlog/src/log_zlib_buffer.cc:71) 这行

堆栈如下

Thread 0 Crashed:
0   libz.1.dylib                        0x00000002511dc834 inflateInit2_ + 312
1   libz.1.dylib                        0x00000002511de6d0 gzdopen + 5312
2   libz.1.dylib                        0x00000002511da968 deflate + 2392
3   xxx                       0x000000010347b7a4 Compress (xlog/src/log_zlib_buffer.cc:71)
4   xxx                       0x000000010347b50c Write (xlog/src/log_base_buffer.cc:264)
5   xxx                       0x00000001034758e4 __WriteAsync (xlog/src/appender.cc:988)
6   xxx                       0x0000000103475418 Write (xlog/src/appender.cc:220)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant