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

异步日志在rollFile的时候导的崩溃 #267

Open
arhlong opened this issue Apr 14, 2017 · 1 comment
Open

异步日志在rollFile的时候导的崩溃 #267

arhlong opened this issue Apr 14, 2017 · 1 comment

Comments

@arhlong
Copy link

arhlong commented Apr 14, 2017

今天发现产生了coredump,用gdb查看了一下,信息如下:

(gdb) bt
#0 0x0000003af34690e6 in setbuffer () from /lib64/libc.so.6
#1 0x00000000004f6110 in muduo::LogFile::rollFile() () at /home/suyl/project/muduo-1.0.9/muduo/base/LogFile.cc:101
#2 0x00000000004f541c in muduo::AsyncLogging::threadFunc() () at /home/suyl/project/muduo-1.0.9/muduo/base/AsyncLogging.cc:101
#3 0x00000000004faf6a in muduo::detail::startThread(void*) () at /usr/local/include/boost/function/function_template.hpp:771
#4 0x0000003af3807aa1 in start_thread () from /lib64/libpthread.so.0
#5 0x0000003af34e8aad in clone () from /lib64/libc.so.6

使用的muduo版本是v1.0.9

@chenshuo
Copy link
Owner

贴能复现你说的现象的可编译运行的完整代码以及完整复现步骤。

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

2 participants