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

Ensure that timer thread is initialized after Daemonize() #6457

Merged
merged 3 commits into from Jul 19, 2018

Conversation

Al2Klimov
Copy link
Member

fixes #6445

@Al2Klimov Al2Klimov requested a review from dnsmichi July 19, 2018 10:54
dgoetz and others added 3 commits July 19, 2018 13:22
The previous commit is 1:1 the same I've implemented
here already. Great teamwork with Alex :)

refs #6445
@dnsmichi dnsmichi force-pushed the bugfix/daemonize-timer-6445 branch from 0789e96 to 7519d23 Compare July 19, 2018 11:35
@dnsmichi
Copy link
Contributor

Tests

mbmif /usr/local/icinga2 (master *) # kill $(pidof icinga2)
mbmif /usr/local/icinga2 (master *) # icinga2 daemon -d
[2018-07-19 13:35:38 +0200] information/cli: Icinga application loader (version: v2.9.0-2-gd15e1006f; debug)
[2018-07-19 13:35:38 +0200] information/cli: Loading configuration file(s).
[2018-07-19 13:35:38 +0200] information/ConfigItem: Committing config item(s).
[2018-07-19 13:35:38 +0200] information/ApiListener: My API identity: mbmif.int.netways.de
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-a Config: {"period":"8to6","targets":["custom1"],"users":["pps-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-a Config: {"excludes":["reporting"],"period":"8to6","targets":"ALL","users":["wcsl-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-b Config: {"period":"8to6","targets":["custom1"],"users":["pps-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-b Config: {"excludes":["reporting"],"period":"8to6","targets":"ALL","users":["wcsl-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-c Config: {"period":"8to6","targets":["custom1"],"users":["pps-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-c Config: {"excludes":["reporting"],"period":"8to6","targets":"ALL","users":["wcsl-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-d Config: {"period":"8to6","targets":["custom1"],"users":["pps-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-d Config: {"excludes":["reporting"],"period":"8to6","targets":"ALL","users":["wcsl-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-d with spaces Config: {"period":"8to6","targets":["custom1"],"users":["pps-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION FILTER: 5039-host!coric_errors-d with spaces Config: {"excludes":["reporting"],"period":"8to6","targets":"ALL","users":["wcsl-alerts"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardTMS!5039-host!coric_errors-b Config: {"period":"tms","targets":"ALL","users":["dion-clientmonitoring"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardTMS!5039-host!coric_errors-a Config: {"period":"tms","targets":"ALL","users":["dion-clientmonitoring"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardBS!5039-host!coric_errors-c Config: {"period":"bsupport","targets":"ALL","users":["dion-uk-support"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardTMS!5039-host!coric_errors-c Config: {"period":"tms","targets":"ALL","users":["dion-clientmonitoring"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardBS!5039-host!coric_errors-d Config: {"period":"bsupport","targets":"ALL","users":["dion-uk-support"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardTMS!5039-host!coric_errors-d Config: {"period":"tms","targets":"ALL","users":["dion-clientmonitoring"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardBS!5039-host!coric_errors-a Config: {"period":"bsupport","targets":"ALL","users":["dion-uk-support"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardBS!5039-host!coric_errors-d with spaces Config: {"period":"bsupport","targets":"ALL","users":["dion-uk-support"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardTMS!5039-host!coric_errors-d with spaces Config: {"period":"tms","targets":"ALL","users":["dion-clientmonitoring"]}
[2018-07-19 13:35:38 +0200] information/config: NOTIFICATION: std-email-serv-not-StandardBS!5039-host!coric_errors-b Config: {"period":"bsupport","targets":"ALL","users":["dion-uk-support"]}
[2018-07-19 13:35:38 +0200] warning/ApplyRule: Apply rule 'testdowntime' (in /usr/local/icinga2/etc/icinga2/tests/daniel.conf: 1:0-1:48) for type 'ScheduledDowntime' does not match anywhere!
[2018-07-19 13:35:38 +0200] warning/ApplyRule: Apply rule 'external-check' (in /usr/local/icinga2/etc/icinga2/tests/freshness.conf: 2:1-2:30) for type 'Service' does not match anywhere!
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 FileLogger.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 9 Users.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 6 Zones.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 78 Services.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 6 TimePeriods.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 UserGroup.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 CheckerComponent.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 ExternalCommandListener.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 SyslogLogger.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 NotificationComponent.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 216 CheckCommands.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 7 ApiUsers.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 4 Endpoints.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 EventCommand.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 68 Hosts.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 3 HostGroups.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 146 Notifications.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Instantiated 5 NotificationCommands.
[2018-07-19 13:35:38 +0200] information/ScriptGlobal: Dumping variables to file '/usr/local/icinga2/var/cache/icinga2/icinga2.vars'
[2018-07-19 13:35:38 +0200] information/ConfigObject: Restoring program state from file '/usr/local/icinga2/var/lib/icinga2/icinga2.state'
[2018-07-19 13:35:38 +0200] information/ConfigObject: Restored 559 objects. Loaded 0 new objects without state.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Triggering Start signal for config items
[2018-07-19 13:35:38 +0200] information/ApiListener: 'api' started.
[2018-07-19 13:35:38 +0200] information/ApiListener: Copying 3 zone configuration files for zone 'global-templates' to '/usr/local/icinga2/var/lib/icinga2/api/zones/global-templates'.
[2018-07-19 13:35:38 +0200] information/ApiListener: Applying configuration file update for path '/usr/local/icinga2/var/lib/icinga2/api/zones/global-templates' (0 Bytes). Received timestamp '2018-07-19 13:35:38 +0200' (1532000138.784528), Current timestamp '2018-07-19 13:14:13 +0200' (1531998853.949117).
[2018-07-19 13:35:38 +0200] information/ApiListener: Copying 1 zone configuration files for zone 'master' to '/usr/local/icinga2/var/lib/icinga2/api/zones/master'.
[2018-07-19 13:35:38 +0200] information/ApiListener: Applying configuration file update for path '/usr/local/icinga2/var/lib/icinga2/api/zones/master' (0 Bytes). Received timestamp '2018-07-19 13:35:38 +0200' (1532000138.788997), Current timestamp '2018-07-19 13:14:13 +0200' (1531998853.954042).
[2018-07-19 13:35:38 +0200] information/ApiListener: Copying 2 zone configuration files for zone 'winmif' to '/usr/local/icinga2/var/lib/icinga2/api/zones/winmif'.
[2018-07-19 13:35:38 +0200] information/ApiListener: Applying configuration file update for path '/usr/local/icinga2/var/lib/icinga2/api/zones/winmif' (0 Bytes). Received timestamp '2018-07-19 13:35:38 +0200' (1532000138.793133), Current timestamp '2018-07-19 13:14:13 +0200' (1531998853.958965).
[2018-07-19 13:35:38 +0200] information/ApiListener: Adding new listener on port '5665'
[2018-07-19 13:35:38 +0200] information/DbConnection: 'ido-mysql' started.
[2018-07-19 13:35:38 +0200] information/ApiListener: Reconnecting to endpoint '5444-endpoint-satellite' via host '192.168.56.101' and port '5665'
[2018-07-19 13:35:38 +0200] information/NotificationComponent: 'notification' started.
[2018-07-19 13:35:38 +0200] information/ExternalCommandListener: 'command' started.
[2018-07-19 13:35:38 +0200] information/CheckerComponent: 'checker' started.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Activated all objects.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Activated all objects.
mbmif /usr/local/icinga2 (master *) # tail -f var/log/icinga2/icinga2.log
[2018-07-19 13:35:38 +0200] information/ExternalCommandListener: 'command' started.
[2018-07-19 13:35:38 +0200] information/CheckerComponent: 'checker' started.
[2018-07-19 13:35:38 +0200] information/ConfigItem: Activated all objects.
[2018-07-19 13:35:38 +0200] information/DbConnection: Resuming IDO connection: ido-mysql
[2018-07-19 13:35:38 +0200] information/IdoMysqlConnection: 'ido-mysql' resumed.
[2018-07-19 13:35:38 +0200] information/IdoMysqlConnection: MySQL IDO instance id: 1 (schema version: '1.14.3')
[2018-07-19 13:35:40 +0200] information/IdoMysqlConnection: Finished reconnecting to MySQL IDO database in 1.519 second(s).
[2018-07-19 13:35:41 +0200] information/Checkable: Checking for configured notifications for object 'dummy-host'
[2018-07-19 13:35:41 +0200] information/Notification: Sending 'Problem' notification 'dummy-host!test-ce' for user 'icingaadmin'
[2018-07-19 13:35:41 +0200] information/Notification: Completed sending 'Problem' notification 'dummy-host!test-ce' for checkable 'dummy-host' and user 'icingaadmin'.
[2018-07-19 13:35:48 +0200] information/WorkQueue: #5 (IdoMysqlConnection, ido-mysql) items: 0, rate: 274.3/s (16458/min 16458/5min 16458/15min);
[2018-07-19 13:35:48 +0200] information/WorkQueue: #6 (ApiListener, RelayQueue) items: 0, rate: 3.85/s (231/min 231/5min 231/15min);
[2018-07-19 13:35:48 +0200] information/WorkQueue: #7 (ApiListener, SyncQueue) items: 0, rate:  0/s (0/min 0/5min 0/15min);
[2018-07-19 13:35:49 +0200] information/Checkable: Checking for configured notifications for object 'dummy-host'
[2018-07-19 13:35:49 +0200] information/Notification: Sending 'Recovery' notification 'dummy-host!test-ce' for user 'icingaadmin'
[2018-07-19 13:35:49 +0200] information/Notification: Completed sending 'Recovery' notification 'dummy-host!test-ce' for checkable 'dummy-host' and user 'icingaadmin'.
mbmif /usr/local/icinga2 (master *) # pidof icinga2
7486 7487
mbmif /usr/local/icinga2 (master *) # lldb -p 7487
(lldb) process attach --pid 7487
Process 7487 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff55d95d8a libsystem_kernel.dylib`__semwait_signal + 10
libsystem_kernel.dylib`__semwait_signal:
->  0x7fff55d95d8a <+10>: jae    0x7fff55d95d94            ; <+20>
    0x7fff55d95d8c <+12>: movq   %rax, %rdi
    0x7fff55d95d8f <+15>: jmp    0x7fff55d8cb25            ; cerror
    0x7fff55d95d94 <+20>: retq
Target 0: (icinga2) stopped.

Executable module set to "/usr/local/icinga2/lib/icinga2/sbin/icinga2".
Architecture set to: x86_64h-apple-macosx.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff55d95d8a libsystem_kernel.dylib`__semwait_signal + 10
    frame #1: 0x00007fff55d10724 libsystem_c.dylib`nanosleep + 199
    frame #2: 0x00007fff55d10586 libsystem_c.dylib`sleep + 41
    frame #3: 0x00000001083fd116 icinga2`icinga::Utility::Sleep(timeout=2.5) at utility.cpp:428
    frame #4: 0x0000000108124f3e icinga2`icinga::Application::RunEventLoop(this=0x00007fbe5d854bf0) at application.cpp:315
    frame #5: 0x0000000108a83951 icinga2`icinga::IcingaApplication::Main(this=0x00007fbe5d854bf0) at icingaapplication.cpp:107
    frame #6: 0x000000010812bc43 icinga2`icinga::Application::Run(this=0x00007fbe5d854bf0) at application.cpp:1016
    frame #7: 0x000000010873b6fa icinga2`icinga::DaemonCommand::Run(this=0x00007fbe5b417210, vm=0x00007ffee7b0b0a0, ap=size=1) const at daemoncommand.cpp:295
    frame #8: 0x00000001080ff4e6 icinga2`Main() at icinga.cpp:573
    frame #9: 0x00000001080f874d icinga2`main(argc=3, argv=0x00007ffee7b0c380) at icinga.cpp:867
    frame #10: 0x00007fff55c45015 libdyld.dylib`start + 1
(lldb) thr list
Process 7487 stopped
* thread #1: tid = 0x1534813, 0x00007fff55d95d8a libsystem_kernel.dylib`__semwait_signal + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  thread #2: tid = 0x1534814, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #3: tid = 0x1534815, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #4: tid = 0x1534816, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #5: tid = 0x1534817, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #6: tid = 0x1534818, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #7: tid = 0x1534819, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #8: tid = 0x1534822, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #9: tid = 0x1534823, 0x00007fff55d94eee libsystem_kernel.dylib`__accept + 10
  thread #10: tid = 0x1534825, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #11: tid = 0x1534826, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #12: tid = 0x1534827, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #13: tid = 0x153483e, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #14: tid = 0x153483f, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #15: tid = 0x1534840, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #16: tid = 0x1534841, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
(lldb) thr list --verbose
Process 7487 stopped
* thread #1: tid = 0x1534813, 0x00007fff55d95d8a libsystem_kernel.dylib`__semwait_signal + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  thread #2: tid = 0x1534814, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #3: tid = 0x1534815, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #4: tid = 0x1534816, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #5: tid = 0x1534817, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #6: tid = 0x1534818, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #7: tid = 0x1534819, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #8: tid = 0x1534822, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #9: tid = 0x1534823, 0x00007fff55d94eee libsystem_kernel.dylib`__accept + 10
  thread #10: tid = 0x1534825, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #11: tid = 0x1534826, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #12: tid = 0x1534827, 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
  thread #13: tid = 0x153483e, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #14: tid = 0x153483f, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #15: tid = 0x1534840, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
  thread #16: tid = 0x1534841, 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
(lldb) bt all
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff55d95d8a libsystem_kernel.dylib`__semwait_signal + 10
    frame #1: 0x00007fff55d10724 libsystem_c.dylib`nanosleep + 199
    frame #2: 0x00007fff55d10586 libsystem_c.dylib`sleep + 41
    frame #3: 0x00000001083fd116 icinga2`icinga::Utility::Sleep(timeout=2.5) at utility.cpp:428
    frame #4: 0x0000000108124f3e icinga2`icinga::Application::RunEventLoop(this=0x00007fbe5d854bf0) at application.cpp:315
    frame #5: 0x0000000108a83951 icinga2`icinga::IcingaApplication::Main(this=0x00007fbe5d854bf0) at icingaapplication.cpp:107
    frame #6: 0x000000010812bc43 icinga2`icinga::Application::Run(this=0x00007fbe5d854bf0) at application.cpp:1016
    frame #7: 0x000000010873b6fa icinga2`icinga::DaemonCommand::Run(this=0x00007fbe5b417210, vm=0x00007ffee7b0b0a0, ap=size=1) const at daemoncommand.cpp:295
    frame #8: 0x00000001080ff4e6 icinga2`Main() at icinga.cpp:573
    frame #9: 0x00000001080f874d icinga2`main(argc=3, argv=0x00007ffee7b0c380) at icinga.cpp:867
    frame #10: 0x00007fff55c45015 libdyld.dylib`start + 1
  thread #2
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00000001092b2cd0, m=0x0000700005aa7a18) at condition_variable.hpp:85
    frame #3: 0x00000001083cbe0b icinga2`icinga::ThreadPool::WorkerThread::ThreadProc(this=0x00000001092b2df8, queue=0x00000001092b2c90) at threadpool.cpp:110
    frame #4: 0x00000001083d6954 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] decltype(__f=0x00007fbe5b74ae10, __a0=0x00000001092b2df8, __args=0x00000001092b2c90).*fp(std::__1::forward<icinga::ThreadPool::Queue&>(fp1))) std::__1::__invoke<void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&, icinga::ThreadPool::Queue&, void>(void (icinga::ThreadPool::WorkerThread::*&&&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&&&, icinga::ThreadPool::Queue&&&) at type_traits:4236
    frame #5: 0x00000001083d68cc icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5b74ae10, __bound_args=0x00007fbe5b74ae20, __args=0x0000700005aa7de8)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x00000001083d6833 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5b74ae10)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >::operator()<>() at functional:2257
    frame #7: 0x00000001083d67fe icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run(this=0x00007fbe5b74acc0) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #3
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00000001092b3038, m=0x0000700005b2aa18) at condition_variable.hpp:85
    frame #3: 0x00000001083cbe0b icinga2`icinga::ThreadPool::WorkerThread::ThreadProc(this=0x00000001092b3160, queue=0x00000001092b2ff8) at threadpool.cpp:110
    frame #4: 0x00000001083d6954 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] decltype(__f=0x00007fbe5b7ee660, __a0=0x00000001092b3160, __args=0x00000001092b2ff8).*fp(std::__1::forward<icinga::ThreadPool::Queue&>(fp1))) std::__1::__invoke<void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&, icinga::ThreadPool::Queue&, void>(void (icinga::ThreadPool::WorkerThread::*&&&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&&&, icinga::ThreadPool::Queue&&&) at type_traits:4236
    frame #5: 0x00000001083d68cc icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5b7ee660, __bound_args=0x00007fbe5b7ee670, __args=0x0000700005b2ade8)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x00000001083d6833 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5b7ee660)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >::operator()<>() at functional:2257
    frame #7: 0x00000001083d67fe icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run(this=0x00007fbe5b7ee510) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #4
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00000001092b33a0, m=0x0000700005bada18) at condition_variable.hpp:85
    frame #3: 0x00000001083cbe0b icinga2`icinga::ThreadPool::WorkerThread::ThreadProc(this=0x00000001092b34c8, queue=0x00000001092b3360) at threadpool.cpp:110
    frame #4: 0x00000001083d6954 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] decltype(__f=0x00007fbe5da633a0, __a0=0x00000001092b34c8, __args=0x00000001092b3360).*fp(std::__1::forward<icinga::ThreadPool::Queue&>(fp1))) std::__1::__invoke<void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&, icinga::ThreadPool::Queue&, void>(void (icinga::ThreadPool::WorkerThread::*&&&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&&&, icinga::ThreadPool::Queue&&&) at type_traits:4236
    frame #5: 0x00000001083d68cc icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5da633a0, __bound_args=0x00007fbe5da633b0, __args=0x0000700005badde8)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x00000001083d6833 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5da633a0)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >::operator()<>() at functional:2257
    frame #7: 0x00000001083d67fe icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run(this=0x00007fbe5da63250) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #5
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00000001092b3708, m=0x0000700005c30a18) at condition_variable.hpp:85
    frame #3: 0x00000001083cbe0b icinga2`icinga::ThreadPool::WorkerThread::ThreadProc(this=0x00000001092b3830, queue=0x00000001092b36c8) at threadpool.cpp:110
    frame #4: 0x00000001083d6954 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] decltype(__f=0x00007fbe5da684b0, __a0=0x00000001092b3830, __args=0x00000001092b36c8).*fp(std::__1::forward<icinga::ThreadPool::Queue&>(fp1))) std::__1::__invoke<void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&, icinga::ThreadPool::Queue&, void>(void (icinga::ThreadPool::WorkerThread::*&&&)(icinga::ThreadPool::Queue&), icinga::ThreadPool::WorkerThread&&&, icinga::ThreadPool::Queue&&&) at type_traits:4236
    frame #5: 0x00000001083d68cc icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5da684b0, __bound_args=0x00007fbe5da684c0, __args=0x0000700005c30de8)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ThreadPool::WorkerThread::*&)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x00000001083d6833 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run() [inlined] std::__1::__bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::tuple<std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5da684b0)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> >::operator()<>() at functional:2257
    frame #7: 0x00000001083d67fe icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::ThreadPool::WorkerThread::*)(icinga::ThreadPool::Queue&), std::__1::reference_wrapper<icinga::ThreadPool::WorkerThread>, std::__1::reference_wrapper<icinga::ThreadPool::Queue> > >::run(this=0x00007fbe5da68360) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #6
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x00000001083602b4 icinga2`boost::condition_variable::do_wait_until(this=0x00000001092b2c18, m=0x0000700005cb3920, timeout=0x0000700005cb3440) at condition_variable.hpp:128
    frame #3: 0x00000001083ccfbd icinga2`bool boost::condition_variable::timed_wait<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> >(this=0x00000001092b2c18, m=0x0000700005cb3920, wait_duration=0x0000700005cb3918) at condition_variable_fwd.hpp:160
    frame #4: 0x00000001083ca87b icinga2`icinga::ThreadPool::ManagerThreadProc(this=0x00000001092b2a10) at threadpool.cpp:239
    frame #5: 0x00000001083d0a34 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(void*) [inlined] decltype(__f=0x00007fbe5b4baf68, __a0=0x00007fbe5b4baf78)).*fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (icinga::ThreadPool::*&)(), icinga::ThreadPool*&, void>(void (icinga::ThreadPool::*&&&)(), icinga::ThreadPool*&&&) at type_traits:4264
    frame #6: 0x00000001083d09b5 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ThreadPool::*)(), std::__1::tuple<icinga::ThreadPool*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::*)(), std::__1::tuple<icinga::ThreadPool*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5b4baf68, __bound_args=0x00007fbe5b4baf78, __args=0x0000700005cb3e78)(), std::__1::tuple<icinga::ThreadPool*>, 0ul, std::__1::tuple<> >(void (icinga::ThreadPool::*&)(), std::__1::tuple<icinga::ThreadPool*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #7: 0x00000001083d0985 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ThreadPool::*)(), std::__1::tuple<icinga::ThreadPool*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ThreadPool::*)(), std::__1::tuple<icinga::ThreadPool*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5b4baf68)(), icinga::ThreadPool*>::operator()<>() at functional:2257
    frame #8: 0x00000001083d0962 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(void*) [inlined] decltype(__f=0x00007fbe5b4baf68)(), icinga::ThreadPool*> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> >(std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*>&&) at type_traits:4323
    frame #9: 0x00000001083d094b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> >(__t=0x00007fbe5b4baf60)(), icinga::ThreadPool*> >&, std::__1::__tuple_indices<>) at thread:342
    frame #10: 0x00000001083d0915 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ThreadPool::*)(), icinga::ThreadPool*> > >(__vp=0x00007fbe5b4baf60) at thread:352
    frame #11: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #12: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #13: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #7
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x00000001083602b4 icinga2`boost::condition_variable::do_wait_until(this=0x00000001092b3ff8, m=0x0000700005d36a18, timeout=0x0000700005d368f0) at condition_variable.hpp:128
    frame #3: 0x00000001083ccfbd icinga2`bool boost::condition_variable::timed_wait<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> >(this=0x00000001092b3ff8, m=0x0000700005d36a18, wait_duration=0x0000700005d369e8) at condition_variable_fwd.hpp:160
    frame #4: 0x00000001083d8a82 icinga2`icinga::Timer::TimerThreadProc() at timer.cpp:287
    frame #5: 0x00000001083db9a1 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()> >(void*) [inlined] decltype(__f=0x00007fbe5b4c0af8)()>(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<void (*)()>(void (*&&)()) at type_traits:4323
    frame #6: 0x00000001083db990 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()> >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()>(__t=0x00007fbe5b4c0af0)()>&, std::__1::__tuple_indices<>) at thread:342
    frame #7: 0x00000001083db96c icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)()> >(__vp=0x00007fbe5b4c0af0) at thread:352
    frame #8: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #8
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00007fbe5b805f88, m=0x0000700005db9858) at condition_variable.hpp:85
    frame #3: 0x0000000108437cf3 icinga2`icinga::WorkQueue::WorkerThreadProc(this=0x00007fbe5b805f20) at workqueue.cpp:280
    frame #4: 0x000000010843b264 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] decltype(__f=0x00007fbe5db15b40, __a0=0x00007fbe5db15b50)).*fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (icinga::WorkQueue::*&)(), icinga::WorkQueue*&, void>(void (icinga::WorkQueue::*&&&)(), icinga::WorkQueue*&&&) at type_traits:4264
    frame #5: 0x000000010843b1e5 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] std::__1::__bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5db15b40, __bound_args=0x00007fbe5db15b50, __args=0x0000700005db9e38)(), std::__1::tuple<icinga::WorkQueue*>, 0ul, std::__1::tuple<> >(void (icinga::WorkQueue::*&)(), std::__1::tuple<icinga::WorkQueue*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x000000010843b1b5 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] std::__1::__bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5db15b40)(), icinga::WorkQueue*>::operator()<>() at functional:2257
    frame #7: 0x000000010843b192 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run(this=0x00007fbe5db159f0) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #9
    frame #0: 0x00007fff55d94eee libsystem_kernel.dylib`__accept + 10
    frame #1: 0x000000010835a302 icinga2`icinga::Socket::Accept(this=0x00007fbe5d8e26d0) at socket.cpp:328
    frame #2: 0x00000001085822b6 icinga2`icinga::ApiListener::ListenerThreadProc(this=0x00007fbe5b805c00, server=0x0000700005e3ce88) at apilistener.cpp:350
    frame #3: 0x00000001085c816a icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(void*) [inlined] decltype(__f=0x00007fbe5d8e2748, __a0=0x00007fbe5d8e2758, __args=0x00007fbe5d8e2760)).*fp(std::__1::forward<boost::intrusive_ptr<icinga::TcpSocket>&>(fp1))) std::__1::__invoke<void (icinga::ApiListener::*&)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*&, boost::intrusive_ptr<icinga::TcpSocket>&, void>(void (icinga::ApiListener::*&&&)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*&&&, boost::intrusive_ptr<icinga::TcpSocket>&&&) at type_traits:4264
    frame #4: 0x00000001085c80bf icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5d8e2748, __bound_args=0x00007fbe5d8e2758, __args=0x0000700005e3ce28)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ApiListener::*&)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #5: 0x00000001085c8056 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), std::__1::tuple<icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket> >, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5d8e2748)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&>::operator()<>() at functional:2257
    frame #6: 0x00000001085c801e icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(void*) [inlined] decltype(__f=0x00007fbe5d8e2748)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> >(std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&>&&) at type_traits:4323
    frame #7: 0x00000001085c7ffb icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> >(__t=0x00007fbe5d8e2740)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> >&, std::__1::__tuple_indices<>) at thread:342
    frame #8: 0x00000001085c7fc5 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ApiListener::*)(boost::intrusive_ptr<icinga::Socket> const&), icinga::ApiListener*, boost::intrusive_ptr<icinga::TcpSocket>&> > >(__vp=0x00007fbe5d8e2740) at thread:352
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #10
    frame #0: 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010835a79c icinga2`icinga::Socket::Poll(this=0x00007fbe5da82cc0, read=true, write=false, timeout=0x0000000000000000) at socket.cpp:387
    frame #2: 0x0000000108c95bba icinga2`icinga::ExternalCommandListener::CommandPipeThread(this=0x00007fbe5d82c180, commandPath=0x00007fbe5da82ae0) at externalcommandlistener.cpp:124
    frame #3: 0x0000000108ca8712 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(void*) [inlined] decltype(__f=0x00007fbe5da82ac8, __a0=0x00007fbe5da82ad8, __args=0x00007fbe5da82ae0)).*fp(std::__1::forward<icinga::String&>(fp1))) std::__1::__invoke<void (icinga::ExternalCommandListener::*&)(icinga::String const&), icinga::ExternalCommandListener*&, icinga::String&, void>(void (icinga::ExternalCommandListener::*&&&)(icinga::String const&), icinga::ExternalCommandListener*&&&, icinga::String&&&) at type_traits:4264
    frame #4: 0x0000000108ca8687 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ExternalCommandListener::*)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ExternalCommandListener::*)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5da82ac8, __bound_args=0x00007fbe5da82ad8, __args=0x0000700005f42e48)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>, 0ul, 1ul, std::__1::tuple<> >(void (icinga::ExternalCommandListener::*&)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at functional:2224
    frame #5: 0x0000000108ca8630 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(void*) [inlined] std::__1::__bind_return<void (icinga::ExternalCommandListener::*)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::ExternalCommandListener::*)(icinga::String const&), std::__1::tuple<icinga::ExternalCommandListener*, icinga::String>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5da82ac8)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String>::operator()<>() at functional:2257
    frame #6: 0x0000000108ca85fe icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(void*) [inlined] decltype(__f=0x00007fbe5da82ac8)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> >(std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String>&&) at type_traits:4323
    frame #7: 0x0000000108ca85db icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> >(__t=0x00007fbe5da82ac0)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> >&, std::__1::__tuple_indices<>) at thread:342
    frame #8: 0x0000000108ca85a5 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::ExternalCommandListener::*)(icinga::String const&), icinga::ExternalCommandListener*, icinga::String> > >(__vp=0x00007fbe5da82ac0) at thread:352
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #11
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x00000001083602b4 icinga2`boost::condition_variable::do_wait_until(this=0x00007fbe5d82c0b0, m=0x0000700005fc5a68, timeout=0x0000700005fc4ce0) at condition_variable.hpp:128
    frame #3: 0x00000001083ccfbd icinga2`bool boost::condition_variable::timed_wait<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000ll> >(this=0x00007fbe5d82c0b0, m=0x0000700005fc5a68, wait_duration=0x0000700005fc5a28) at condition_variable_fwd.hpp:160
    frame #4: 0x0000000108c2d572 icinga2`icinga::CheckerComponent::CheckThreadProc(this=0x00007fbe5d82bf90) at checkercomponent.cpp:128
    frame #5: 0x0000000108c44e94 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(void*) [inlined] decltype(__f=0x00007fbe5da60bf8, __a0=0x00007fbe5da60c08)).*fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (icinga::CheckerComponent::*&)(), icinga::CheckerComponent*&, void>(void (icinga::CheckerComponent::*&&&)(), icinga::CheckerComponent*&&&) at type_traits:4264
    frame #6: 0x0000000108c44e15 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(void*) [inlined] std::__1::__bind_return<void (icinga::CheckerComponent::*)(), std::__1::tuple<icinga::CheckerComponent*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::CheckerComponent::*)(), std::__1::tuple<icinga::CheckerComponent*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5da60bf8, __bound_args=0x00007fbe5da60c08, __args=0x0000700005fc5e78)(), std::__1::tuple<icinga::CheckerComponent*>, 0ul, std::__1::tuple<> >(void (icinga::CheckerComponent::*&)(), std::__1::tuple<icinga::CheckerComponent*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #7: 0x0000000108c44de5 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(void*) [inlined] std::__1::__bind_return<void (icinga::CheckerComponent::*)(), std::__1::tuple<icinga::CheckerComponent*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::CheckerComponent::*)(), std::__1::tuple<icinga::CheckerComponent*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5da60bf8)(), icinga::CheckerComponent*>::operator()<>() at functional:2257
    frame #8: 0x0000000108c44dc2 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(void*) [inlined] decltype(__f=0x00007fbe5da60bf8)(), icinga::CheckerComponent*> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> >(std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*>&&) at type_traits:4323
    frame #9: 0x0000000108c44dab icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> >(__t=0x00007fbe5da60bf0)(), icinga::CheckerComponent*> >&, std::__1::__tuple_indices<>) at thread:342
    frame #10: 0x0000000108c44d75 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (icinga::CheckerComponent::*)(), icinga::CheckerComponent*> > >(__vp=0x00007fbe5da60bf0) at thread:352
    frame #11: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #12: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #13: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #12
    frame #0: 0x00007fff55d95a1e libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff55f5e589 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x000000010836c713 icinga2`boost::condition_variable::wait(this=0x00007fbe5d003418, m=0x0000700006048858) at condition_variable.hpp:85
    frame #3: 0x0000000108437cf3 icinga2`icinga::WorkQueue::WorkerThreadProc(this=0x00007fbe5d0033b0) at workqueue.cpp:280
    frame #4: 0x000000010843b264 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] decltype(__f=0x00007fbe5d8e3640, __a0=0x00007fbe5d8e3650)).*fp(std::__1::forward<>(fp1))) std::__1::__invoke<void (icinga::WorkQueue::*&)(), icinga::WorkQueue*&, void>(void (icinga::WorkQueue::*&&&)(), icinga::WorkQueue*&&&) at type_traits:4264
    frame #5: 0x000000010843b1e5 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] std::__1::__bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5d8e3640, __bound_args=0x00007fbe5d8e3650, __args=0x0000700006048e38)(), std::__1::tuple<icinga::WorkQueue*>, 0ul, std::__1::tuple<> >(void (icinga::WorkQueue::*&)(), std::__1::tuple<icinga::WorkQueue*>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #6: 0x000000010843b1b5 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run() [inlined] std::__1::__bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<>, __is_valid_bind_return<void (icinga::WorkQueue::*)(), std::__1::tuple<icinga::WorkQueue*>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5d8e3640)(), icinga::WorkQueue*>::operator()<>() at functional:2257
    frame #7: 0x000000010843b192 icinga2`boost::detail::thread_data<std::__1::__bind<void (icinga::WorkQueue::*)(), icinga::WorkQueue*> >::run(this=0x00007fbe5d8e34f0) at thread.hpp:117
    frame #8: 0x000000010afa25ea libboost_thread-mt.dylib`boost::(anonymous namespace)::thread_proxy(void*) + 154
    frame #9: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #10: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #11: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #13
    frame #0: 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010831cc07 icinga2`icinga::Process::IOThreadProc(tid=0) at process.cpp:688
    frame #2: 0x000000010832692a icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbc988, __args=0x00007fbe5dcbc990)(int)>(fp)(std::__1::forward<int&>(fp0))) std::__1::__invoke<void (*&)(int), int&>(void (*&&&)(int), int&&&) at type_traits:4323
    frame #3: 0x000000010832690b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5dcbc988, __bound_args=0x00007fbe5dcbc990, __args=0x00007000060cbe70)(int), std::__1::tuple<int>, 0ul, std::__1::tuple<> >(void (*&)(int), std::__1::tuple<int>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #4: 0x00000001083268db icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5dcbc988)(int), int&>::operator()<>() at functional:2257
    frame #5: 0x00000001083268b8 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbc988)(int), int&> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (*)(int), int&> >(std::__1::__bind<void (*)(int), int&>&&) at type_traits:4323
    frame #6: 0x000000010832689b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> >(__t=0x00007fbe5dcbc980)(int), int&> >&, std::__1::__tuple_indices<>) at thread:342
    frame #7: 0x0000000108326865 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(__vp=0x00007fbe5dcbc980) at thread:352
    frame #8: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #14
    frame #0: 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010831cc07 icinga2`icinga::Process::IOThreadProc(tid=1) at process.cpp:688
    frame #2: 0x000000010832692a icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbcf38, __args=0x00007fbe5dcbcf40)(int)>(fp)(std::__1::forward<int&>(fp0))) std::__1::__invoke<void (*&)(int), int&>(void (*&&&)(int), int&&&) at type_traits:4323
    frame #3: 0x000000010832690b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5dcbcf38, __bound_args=0x00007fbe5dcbcf40, __args=0x000070000614ee70)(int), std::__1::tuple<int>, 0ul, std::__1::tuple<> >(void (*&)(int), std::__1::tuple<int>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #4: 0x00000001083268db icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5dcbcf38)(int), int&>::operator()<>() at functional:2257
    frame #5: 0x00000001083268b8 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbcf38)(int), int&> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (*)(int), int&> >(std::__1::__bind<void (*)(int), int&>&&) at type_traits:4323
    frame #6: 0x000000010832689b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> >(__t=0x00007fbe5dcbcf30)(int), int&> >&, std::__1::__tuple_indices<>) at thread:342
    frame #7: 0x0000000108326865 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(__vp=0x00007fbe5dcbcf30) at thread:352
    frame #8: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #15
    frame #0: 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010831cc07 icinga2`icinga::Process::IOThreadProc(tid=2) at process.cpp:688
    frame #2: 0x000000010832692a icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbb878, __args=0x00007fbe5dcbb880)(int)>(fp)(std::__1::forward<int&>(fp0))) std::__1::__invoke<void (*&)(int), int&>(void (*&&&)(int), int&&&) at type_traits:4323
    frame #3: 0x000000010832690b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5dcbb878, __bound_args=0x00007fbe5dcbb880, __args=0x00007000061d1e70)(int), std::__1::tuple<int>, 0ul, std::__1::tuple<> >(void (*&)(int), std::__1::tuple<int>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #4: 0x00000001083268db icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5dcbb878)(int), int&>::operator()<>() at functional:2257
    frame #5: 0x00000001083268b8 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbb878)(int), int&> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (*)(int), int&> >(std::__1::__bind<void (*)(int), int&>&&) at type_traits:4323
    frame #6: 0x000000010832689b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> >(__t=0x00007fbe5dcbb870)(int), int&> >&, std::__1::__tuple_indices<>) at thread:342
    frame #7: 0x0000000108326865 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(__vp=0x00007fbe5dcbb870) at thread:352
    frame #8: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13
  thread #16
    frame #0: 0x00007fff55d970a2 libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010831cc07 icinga2`icinga::Process::IOThreadProc(tid=3) at process.cpp:688
    frame #2: 0x000000010832692a icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbbe28, __args=0x00007fbe5dcbbe30)(int)>(fp)(std::__1::forward<int&>(fp0))) std::__1::__invoke<void (*&)(int), int&>(void (*&&&)(int), int&&&) at type_traits:4323
    frame #3: 0x000000010832690b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__apply_functor<void (__f=0x00007fbe5dcbbe28, __bound_args=0x00007fbe5dcbbe30, __args=0x0000700006254e70)(int), std::__1::tuple<int>, 0ul, std::__1::tuple<> >(void (*&)(int), std::__1::tuple<int>&, std::__1::__tuple_indices<0ul>, std::__1::tuple<>&&) at functional:2224
    frame #4: 0x00000001083268db icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] std::__1::__bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<>, __is_valid_bind_return<void (*)(int), std::__1::tuple<int>, std::__1::tuple<> >::value>::type std::__1::__bind<void (this=0x00007fbe5dcbbe28)(int), int&>::operator()<>() at functional:2257
    frame #5: 0x00000001083268b8 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] decltype(__f=0x00007fbe5dcbbe28)(int), int&> >(fp)(std::__1::forward<>(fp0))) std::__1::__invoke<std::__1::__bind<void (*)(int), int&> >(std::__1::__bind<void (*)(int), int&>&&) at type_traits:4323
    frame #6: 0x000000010832689b icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(void*) [inlined] void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> >(__t=0x00007fbe5dcbbe20)(int), int&> >&, std::__1::__tuple_indices<>) at thread:342
    frame #7: 0x0000000108326865 icinga2`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, std::__1::__bind<void (*)(int), int&> > >(__vp=0x00007fbe5dcbbe20) at thread:352
    frame #8: 0x00007fff55f5d661 libsystem_pthread.dylib`_pthread_body + 340
    frame #9: 0x00007fff55f5d50d libsystem_pthread.dylib`_pthread_start + 377
    frame #10: 0x00007fff55f5cbf9 libsystem_pthread.dylib`thread_start + 13

@dnsmichi dnsmichi changed the title Re-introduce Timer::Initialize() Ensure that timer thread is initialized after Daemonize() Jul 19, 2018
@dnsmichi dnsmichi added the bug Something isn't working label Jul 19, 2018
@dnsmichi dnsmichi added this to the 2.9.1 milestone Jul 19, 2018
@dnsmichi dnsmichi merged commit 15a8f87 into master Jul 19, 2018
@Al2Klimov Al2Klimov deleted the bugfix/daemonize-timer-6445 branch July 19, 2018 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with daemonize (init scripts, -d) on Debian 8 / CentOS 6 / Ubuntu 14 / SLES 11 in 2.9
3 participants