2020-03-07T06 23 58 CoreService 10757 General coreservice agentmanager

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[2020-03-07T06:23:58] CoreService (10757) General: coreservice/agentmanager.cpp:83: sessionWatcherThread
[2020-03-07T06:23:58] CoreService (10813) Error: common/esthread.h:57: got exception of type std::system_error: Error in function void Watcher::run(stop_token&, Handler&&) [with Handler = AgentManager::sessionWatcher(stop_token)::<lambda(stop_token&, zstring_view, int)>&] at read(token, fd, buffer.data(), EVENT_BUF_LEN) (file /home/sargarass/work/es/lin_monitor/src/workplaceagent/common/common.h, line 388): Unknown error -125.
Stacktrace:
_Unwind_RaiseException+0x71
_Unwind_RaiseException+0x71
_Unwind_RaiseException+0x71
_Unwind_RaiseException+0x71
_Unwind_RaiseException+0x71
_Unwind_RaiseException+0x71
_Unwind_Resume_or_Rethrow+0x25
__cxa_rethrow+0x39
void Watcher::watchForDirectory<stop_token&, AgentManager::sessionWatcher(stop_token)::{lambda(stop_token&)#1}, AgentManager::sessionWatcher(stop_token)::{lambda(stop_token&, zstring_view, int)#2}>(stop_token&, std::filesystem::__cxx11::path const&, std::chrono::duration<long, std::ratio<1l, 1l> >, int, AgentManager::sessionWatcher(stop_token)::{lambda(stop_token&)#1}&&, AgentManager::sessionWatcher(stop_token)::{lambda(stop_token&, zstring_view, int)#2}&&)+0x2a3
AgentManager::sessionWatcher(stop_token)+0xd2
void std::__invoke_impl<void, void (AgentManager::*)(stop_token), AgentManager*, stop_token&>(std::__invoke_memfun_deref, void (AgentManager::*&&)(stop_token), AgentManager*&&, stop_token&)+0xa2
std::__invoke_result<void (AgentManager::*)(stop_token), AgentManager*, stop_token&>::type std::__invoke<void (AgentManager::*)(stop_token), AgentManager*, stop_token&>(void (AgentManager::*&&)(stop_token), AgentManager*&&, stop_token&)+0x4f
std::invoke_result<void (AgentManager::*)(stop_token), AgentManager*, stop_token&>::type std::invoke<void (AgentManager::*)(stop_token), AgentManager*, stop_token&>(void (AgentManager::*&&)(stop_token), AgentManager*&&, stop_token&)+0x4f
void _esthread_helper<void (AgentManager::*)(stop_token), AgentManager*>(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&)+0x7f
void std::__invoke_impl<void, void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*>(std::__invoke_other, void (*&&)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token&&, void (AgentManager::*&&)(stop_token), AgentManager*&&)+0x86
std::__invoke_result<void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*>::type std::__invoke<void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*>(void (*&&)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token&&, void (AgentManager::*&&)(stop_token), AgentManager*&&)+0x67
decltype (__invoke((_S_declval<0ul>)(), (_S_declval<1ul>)(), (_S_declval<2ul>)(), (_S_declval<3ul>)())) std::thread::_Invoker<std::tuple<void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*> >::_M_invoke<0ul, 1ul, 2ul, 3ul>(std::_Index_tuple<0ul, 1ul, 2ul, 3ul>)+0x7b
std::thread::_Invoker<std::tuple<void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*> >::operator()()+0x18
std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(stop_token, void (AgentManager::*&&)(stop_token), AgentManager*&&), stop_token, void (AgentManager::*)(stop_token), AgentManager*> > >::_M_run()+0x1c
std::error_code::default_error_condition() const+0x4f
start_thread+0xe7
clone+0x3f