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

Got segment fault with multiple threads #807

Open
kouhinn opened this issue Apr 21, 2022 · 1 comment
Open

Got segment fault with multiple threads #807

kouhinn opened this issue Apr 21, 2022 · 1 comment

Comments

@kouhinn
Copy link

kouhinn commented Apr 21, 2022

Used the latest version.

(gdb) bt
#0 el::Logger::isFlushNeeded (level=-1224753952, this=0x55c0b5e24d00) at /usr/include/c++/8/bits/hashtable_policy.h:341
#1 el::base::DefaultLogDispatchCallback::dispatch (this=0x55c0b5e1e450, logLine=...)
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.cc:2233
#2 0x000055c0a9b40950 in el::base::DefaultLogDispatchCallback::handle(el::LogDispatchData const*) ()
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.h:2167
#3 0x000055c0a9b40a85 in el::base::LogDispatcher::dispatch() ()
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.cc:2502
#4 0x000055c0a9b4552b in el::base::Writer::triggerDispatch() () at /usr/include/c++/8/bits/move.h:99
#5 0x000055c0a9b458a5 in el::base::Writer::processDispatch() ()
at xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/easylogging++.cc:2616
#6 0x000055c0a4b3707d in el::base::Writer::~Writer (this=0x7f3100e115c0, __in_chrg=)

usage:
LOG(INFO) << "xxxxxxxxxxxxxxxx" <<"yyy:"<<yyy<< std::endl;

@benoiticeye
Copy link

Are you using -DELPP_THREAD_SAFE to build ?

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