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

[dev.icinga.com #8309] Crash in ScheduledDowntime::CreateNextDowntime #2570

Closed
icinga-migration opened this issue Jan 29, 2015 · 6 comments
Closed
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/8309

Created by gbeutner on 2015-01-29 11:55:46 00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-01-29 13:16:04 00:00)
Target Version: 2.3.0
Last Update: 2015-02-13 07:09:51 00:00 (in Redmine)

Icinga Version: 2.2.3
Backport?: Not yet backported

Thread 53 (Thread 0x7ffff0f08700 (LWP 15025)):

#0  0x00007ffff5647b73 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff791cc6a in icinga::Process::IOThreadProc (tid=1) at ../../../lib/base/process.cpp:215
#2  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#3  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 52 (Thread 0x7ffff0d82700 (LWP 15024)):

#0  0x00007ffff5647b73 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff791cc6a in icinga::Process::IOThreadProc (tid=0) at ../../../lib/base/process.cpp:215
#2  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#3  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 51 (Thread 0x7ffff0ec7700 (LWP 15023)):

#0  0x00007ffff7bcc6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff7947f91 in timed_wait (wait_until=..., m=..., this=0x7ffff7bc0940) at /usr/include/boost/thread/pthread/condition_variable.hpp:74
#2  timed_wait > (wait_duration=..., m=..., this=)

at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:72

#3  icinga::Timer::TimerThreadProc () at ../../../lib/base/timer.cpp:272
#4  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 49 (Thread 0x7ffff0dc3700 (LWP 15021)):

#0  0x00007ffff7bcf1fd in read () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff18c5e32 in vio_read_buff () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#2  0x00007ffff18b5fb1 in ?? () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#3  0x00007ffff18b6af8 in my_net_read () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#4  0x00007ffff18afdba in cli_safe_read () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#5  0x00007ffff18b0ed0 in ?? () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#6  0x00007ffff18b1d1e in mysql_real_query () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#7  0x00007ffff1e05260 in icinga::IdoMysqlConnection::Query (this=this@entry=0x649bd0, query=...)

at ../../../lib/db_ido_mysql/idomysqlconnection.cpp:366

#8  0x00007ffff1e0c722 in icinga::IdoMysqlConnection::InternalExecuteQuery (this=0x649bd0, query=..., typeOverride=)

at ../../../lib/db_ido_mysql/idomysqlconnection.cpp:693

#9  0x00007ffff7969bfc in operator() (this=0x7fffe4027b90) at /usr/include/boost/function/function_template.hpp:760
#10 icinga::WorkQueue::WorkerThreadProc (this=0x649dd8) at ../../../lib/base/workqueue.cpp:159
#11 0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#12 0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#13 0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 48 (Thread 0x7ffff0e04700 (LWP 15020)):

#0  0x00007ffff7bcf97d in open64 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff239ee66 in open (__oflag=0, __path=) at /usr/include/x86_64-linux-gnu/bits/fcntl2.h:54
#2  icinga::ExternalCommandListener::CommandPipeThread (this=, commandPath=...)

at ../../../lib/compat/externalcommandlistener.cpp:101

#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 47 (Thread 0x7ffff0e45700 (LWP 15019)):

#0  0x00007ffff7bcf43d in accept () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff7935390 in icinga::Socket::Accept (this=) at ../../../lib/base/socket.cpp:324
#2  0x00007ffff121f7f2 in icinga::LivestatusListener::ServerThreadProc (this=0x7fffec0a30f0, server=...)

at ../../../lib/livestatus/livestatuslistener.cpp:139

#3  0x00007ffff1227ec4 in operator()&>, boost::_bi::list0> (f=..., this=, a=...) at /usr/include/boost/bind/bind.hpp:313
#4  operator() (this=) at /usr/include/boost/bind/bind_template.hpp:20
#5  boost::detail::thread_data const&>, boost::_bi::list2, boost::_bi::value > > > >::run (

this=) at /usr/include/boost/thread/detail/thread.hpp:62

#6  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#7  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 46 (Thread 0x7ffff0e86700 (LWP 15018)):

#0  0x00007ffff7bcc6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff2635aaa in timed_wait (wait_until=..., m=..., this=0x7fffec0a4848) at /usr/include/boost/thread/pthread/condition_variable.hpp:74
#2  timed_wait > (wait_duration=..., m=..., this=0x7fffec0a4848)

at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:72

#3  icinga::CheckerComponent::CheckThreadProc (this=0x7fffec0a47a0) at ../../../lib/checker/checkercomponent.cpp:127
#4  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 25 (Thread 0x7ffff2ae5700 (LWP 14997)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfd58) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfed0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 24 (Thread 0x7ffff2b26700 (LWP 14996)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfd58) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfeb0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 23 (Thread 0x7ffff2b67700 (LWP 14995)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfd58) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfe90, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7ffff2ba8700 (LWP 14994)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfa18) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfb90, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7ffff2be9700 (LWP 14993)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfa18) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfb70, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7ffff2c2a700 (LWP 14992)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfa18) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfb50, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7ffff2c6b700 (LWP 14991)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf6d8) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf850, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7ffff2cac700 (LWP 14990)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf6d8) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf830, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7ffff2ced700 (LWP 14989)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf6d8) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf810, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7ffff2d2e700 (LWP 14988)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf398) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf510, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7ffff2d6f700 (LWP 14987)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf398) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf4f0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7ffff2db0700 (LWP 14986)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf398) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf4d0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7ffff3ba2700 (LWP 14985)):

#0  0x00007ffff7bcc6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff7947f91 in timed_wait (wait_until=..., m=..., this=0x7ffff7bc0940) at /usr/include/boost/thread/pthread/condition_variable.hpp:74
#2  timed_wait > (wait_duration=..., m=..., this=)

at /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:72

#3  icinga::Timer::TimerThreadProc () at ../../../lib/base/timer.cpp:272
#4  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ffff3be3700 (LWP 14984)):

#0  0x00007ffff7bcc6bb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff7941a66 in timed_wait (wait_until=..., m=..., this=0x7ffff7bbf310) at /usr/include/boost/thread/pthread/condition_variable.hpp:74
#2  timed_wait > (wait_duration=..., m=..., this=0x7ffff7bbf310)
#3  icinga::ThreadPool::ManagerThreadProc (this=0x7ffff7bbf180) at ../../../lib/base/threadpool.cpp:232
#4  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#5  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fffebfff700 (LWP 14983)):

#0  0x00007ffff5e5ae91 in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc  .so.6
#1  0x00007ffff30550cb in icinga::ScheduledDowntime::CreateNextDowntime (this=0x7fffec0a9440) at ../../../lib/icinga/scheduleddowntime.cpp:166
#2  0x00007ffff3055821 in icinga::ScheduledDowntime::TimerProc () at ../../../lib/icinga/scheduleddowntime.cpp:77
#3  0x00007ffff794ccb4 in operator() (a0=..., this=) at /usr/include/boost/function/function_template.hpp:760
#4  m_invoke (connectionBody=..., this=0x7fffebffe7f0) at /usr/include/boost/signals2/detail/signal_template.hpp:363
#5  operator() (connectionBody=..., this=0x7fffebffe7f0) at /usr/include/boost/signals2/detail/signal_template.hpp:345
#6  dereference (this=) at /usr/include/boost/signals2/detail/slot_call_iterator.hpp:82
#7  dereference&, boost::signals2::optional_last_value, int, std::less, boost::function&)>, boost::function&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > > (f=) at /usr/include/boost/iterator/iterator_facade.hpp:517
#8  operator* (this=) at /usr/include/boost/iterator/iterator_facade.hpp:643
#9  operator()&, boost::signals2::optional_last_value, int, std::less, boost::function&)>, boost::function&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > > (first=..., this=, last=...) at /usr/include/boost/signals2/optional_last_value.hpp:55
#10 operator(), boost::signals2::detail::slot_call_iterator_t&, boost::signals2::optional_last_value, int, std::less, boost::function&)>, boost::function&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > > (first=..., this=, combiner=..., last=...)

at /usr/include/boost/signals2/detail/result_type_wrapper.hpp:64

#11 boost::signals2::detail::signal1_impl const&, boost::signals2::optional_last_value, int, std::less, boost::function const&)>, boost::function const&)>, boost::signals2::mutex>::operator()(boost::intrusive_ptr const&) (this=,

arg1=...) at /usr/include/boost/signals2/detail/signal_template.hpp:246

#12 0x00007ffff7949c3c in operator() (arg1=..., this=0x7fffec016048) at /usr/include/boost/signals2/detail/signal_template.hpp:695
#13 icinga::Timer::Call (this=0x7fffec016030) at ../../../lib/base/timer.cpp:96
#14 0x00007ffff7943688 in operator() (this=0x7fffebffe9e0) at /usr/include/boost/function/function_template.hpp:760
#15 icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfe70, queue=...) at ../../../lib/base/threadpool.cpp:130
#16 0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#17 0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ffff3c24700 (LWP 14982)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbfa18) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfb30, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ffff3c65700 (LWP 14981)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf6d8) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf7f0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffff3ca6700 (LWP 14980)):

#0  0x00007ffff7bcc344 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007ffff794395b in wait (m=..., this=0x7ffff7bbf398) at /usr/include/boost/thread/pthread/condition_variable.hpp:56
#2  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbf4b0, queue=...) at ../../../lib/base/threadpool.cpp:103
#3  0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0
#4  0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7e36720 (LWP 14971)):

#0  0x00007ffff56222bd in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff564c9d4 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff78da8bd in icinga::Application::RunEventLoop (this=0x7fffec0a4e60) at ../../../lib/base/application.cpp:291
#3  0x00007ffff3023353 in icinga::IcingaApplication::Main (this=0x7fffec0a4e60) at ../../../lib/icinga/icingaapplication.cpp:106
#4  0x00007ffff78d91b7 in icinga::Application::Run (this=0x7fffec0a4e60) at ../../../lib/base/application.cpp:698
#5  0x00007ffff7293b9b in icinga::DaemonCommand::Run (this=, vm=..., ap=...) at ../../../lib/cli/daemoncommand.cpp:399
#6  0x0000000000413049 in Main () at ../../icinga-app/icinga.cpp:429
#7  0x0000000000411164 in main (argc=4, argv=0x7fffffffe208) at ../../icinga-app/icinga.cpp:628

Changesets

2015-01-29 13:14:56 00:00 by (unknown) 2f44581

Validate timeperiod segments

fixes #8309

2015-01-29 13:40:49 00:00 by (unknown) d713a6c

Fix incorrect return value for ConfigItem::ActivateItems

refs #8309

2015-02-04 10:23:49 00:00 by (unknown) 015113a

Validate timeperiod segments

fixes #8309

2015-02-04 10:23:49 00:00 by (unknown) 8d08962

Fix incorrect return value for ConfigItem::ActivateItems

refs #8309
@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-01-29 12:04:24 00:00

Thread 11 (Thread 0x7fffebfff700 (LWP 14983)):

#0  0x00007ffff5e5ae91 in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc  .so.6

No symbol table info available.

#1  0x00007ffff30550cb in icinga::ScheduledDowntime::CreateNextDowntime (this=0x7fffec0a9440) at ../../../lib/icinga/scheduleddowntime.cpp:166

downtimes = {px = 0x641700}
segment = {first = 1422565200, second = 1422518400}
uid = {static NPos = 18446744073709551615, m_Data = {static npos = ,

M_dataplus = {<std::allocator> = {<_gnu_cxx::new_allocator> = {}, },
_M_p = 0x7fffe400f698 "icinga-1422527484-9"}}}
downtime = {px = 0x0}

#2  0x00007ffff3055821 in icinga::ScheduledDowntime::TimerProc () at ../../../lib/icinga/scheduleddowntime.cpp:77

_foreach_continue76 = false
_foreach_cur76 = 0x7fffebffe360: {<No data fields>} _foreach_col76 = 0x7fffebffe440: {}
_foreach_is_rvalue76 = true

#3  0x00007ffff794ccb4 in operator() (a0=..., this=) at /usr/include/boost/function/function_template.hpp:760

No locals.

#4  m_invoke (connectionBody=..., this=0x7fffebffe7f0) at /usr/include/boost/signals2/detail/signal_template.hpp:363

No locals.

#5  operator() (connectionBody=..., this=0x7fffebffe7f0) at /usr/include/boost/signals2/detail/signal_template.hpp:345

resolver = 0x0

#6  dereference (this=) at /usr/include/boost/signals2/detail/slot_call_iterator.hpp:82

No locals.

#7  dereference&, boost::signals2::optional_last_value, int, std::less, boost::function&)>, boost::function&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > > (f=) at /usr/include/boost/iterator/iterator_facade.hpp:517

No locals.

#8  operator* (this=) at /usr/include/boost/iterator/iterator_facade.hpp:643

No locals.

#9  operator()&, boost::signals2::optional_last_value, int, std::less, boost::function&)>, boost::function&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot1&, boost::function&)> >, boost::signals2::mutex> > > (first=..., this=, last=...) at /usr/include/boost/signals2/optional_last_value.hpp:55

No locals.
trusive_ptricinga::Timer&)>, boost::function<void(const boost::signals2::connection&, const boost::intrusive_ptricinga::Timer&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot1<void, const boost::intrusive_ptricinga::Timer&, boost::function<void(const boost::intrusive_ptricinga::Timer&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot1<void, const boost::intrusive_ptricinga::Timer&, boost::function<void(const boost::intrusive_ptricinga::Timer&)> >, boost::signals2::mutex> > > (first=..., this=, combiner=..., last=...)
at /usr/include/boost/signals2/detail/result_type_wrapper.hpp:64
No locals.

#11 boost::signals2::detail::signal1_impl const&, boost::signals2::optional_last_value, int, std::less, boost::function const&)>, boost::function const&)>, boost::signals2::mutex>::operator()(boost::intrusive_ptr const&) (this=,

arg1=...) at /usr/include/boost/signals2/detail/signal_template.hpp:246
local_state = {px = 0x7fffec0173e0, pn = {pi_ = 0x7fffec017480}}
janitor = {_cache = 0x7fffebffe6e0, _sig = 0x7fffec017390, _connection_bodies = 0x7fffec017410}
invoker = {m_arg1 = 0x7fffebffe850} cache = { result = {<boost::optional_detail::optional_base<boost::signals2::detail::void_type>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "", aligner_ = 0 '\000'}}}, <No data fields>}, tracked_ptrs = {<std::allocator<boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >> = {<__gnu_cxx::new_allocator<boost::varian t<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >> = {<No data fields>}, <No data fields>}, static is_stack_buffer_empty = <optimized out>, members_ = {<boost::aligned_storage<240ul, 8ul>> = {<boost::detail::aligned_storage::aligned_storage_imp<240ul, 8ul>> = {data_ = { buf = "\350\033\001\344\377\177\000\000xo\b\366\377\177\000\000\033\261\224\367\377\177\000\000\200/f\000\000\000\000\000\031\257\224\367\377\177\000\000\000\000\000\000\000\000\000\273\256\224\367\377\177\000\000\020\350\377\353\377\177\000\000\260\t\274\367\377\177\000\000\060\000\000\000\000\000\000\000Ð000\344\377\177\000\000P\351\377\353\377\177\000\000\253\257\224\367\377\177\000\000\260\t\274\367\377\177\000\000\060\000\000\000\000\000\000\000 \000\000\344\377\177\000\000\277$\211\362\377\177\000\000P\351\377\353\377\177\000\000\216\002\344\377\177\000\000\240\347\377\353\377\177\000\000\345\267\377\367\377\177\000\000\340\347\377\353\377\177\000\000\340\347\377\353\377\177\000\000\300\347\377\353\377\177\000\000\033\272\377\367\377\177\000\000\320\347\377\353\377\177\000\000\345\267\377\367\377\177\000\000\020\350\377\353\377\177\000\000\020\350\377\353\377\177\000\000\360\347\377\353\377\177\000", align_ = {<No data fields>}}}, static size = <optimized out>, static alignment = <optimized out>}, capacity_ = 10}, buffer_ = 0x7fffebffe6e8, size_ = 0}, f = {m_arg1 = 0x7fffebffe850},
connected_slot_count = 1, disconnected_slot_count = 0}

#12 0x00007ffff7949c3c in operator() (arg1=..., this=0x7fffec016048) at /usr/include/boost/signals2/detail/signal_template.hpp:695

No locals.

#13 icinga::Timer::Call (this=0x7fffec016030) at ../../../lib/base/timer.cpp:96

No locals.

#14 0x00007ffff7943688 in operator() (this=0x7fffebffe9e0) at /usr/include/boost/function/function_template.hpp:760

No locals.

#15 icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7bbfe70, queue=...) at ../../../lib/base/threadpool.cpp:130

wi = {Callback = {<boost::function0> = {boost::function_base = {vtable = 0x7ffff7bb9120, functor = {obj_ptr = 0x7ffff7949c10,
type = {type = 0x7ffff7949c10, const_qualified = false, volatile_qualified = false},
func_ptr = 0x7ffff7949c10 icinga::Timer::Call(), bound_memfunc_ptr = {memfunc_ptr = (void (boost::detail::function::X::*)(
boost::detail::function::X * const, int)) 0x7ffff7949c10 icinga::Timer::Call(), obj_ptr = 0x7fffec016030}, obj_ref = {
obj_ptr = 0x7ffff7949c10, is_const_qualified = false, is_volatile_qualified = false}, data = 16 '\020'}},
static args = , static arity = }, }, Timestamp = 1422527484.662919}
st = 1422527484.6629381
et =
latency =
idbuf =
lock = {m = 0x7ffff7bbfd30, is_locked = true}

#16 0x00007ffff7fe6629 in ?? () from /usr/lib/libboost_thread.so.1.49.0

No symbol table info available.

#17 0x00007ffff7bc7b50 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

No symbol table info available.

#18 0x00007ffff56527bd in clone () from /lib/x86_64-linux-gnu/libc.so.6

No symbol table info available.

#19 0x0000000000000000 in ?? ()

No symbol table info available.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-01-29 12:12:37 00:00

 160 
 161         String uid = GetCheckable()->AddDowntime(GetAuthor(), GetComment(),
 162             segment.first, segment.second,
 163             GetFixed(), String(), GetDuration(), GetName());
 164 
 165         Downtime::Ptr downtime = Checkable::GetDowntimeByID(uid);
 166         downtime->SetConfigOwner(GetName());
 167 }

downtime is null (even though obviously it should not be - considering we just created it).

@icinga-migration
Copy link
Author

Updated by Tami on 2015-01-29 12:39:39 00:00

debug.log recent lines:

[2015-01-29 11:23:24  0100] notice/Checkable: Added downtime with ID '702' between '2015-01-29 22:00:00' and '2015-01-29 09:00:00'.
[2015-01-29 11:25:24  0100] notice/Checkable: Added downtime with ID '703' between '2015-01-29 22:00:00' and '2015-01-29 09:00:00'.
[2015-01-29 11:26:24  0100] notice/Checkable: Added downtime with ID '704' between '2015-01-29 22:00:00' and '2015-01-29 09:00:00'.
[2015-01-29 11:27:24  0100] notice/Checkable: Added downtime with ID '705' between '2015-01-29 22:00:00' and '2015-01-29 09:00:00'.
[2015-01-29 11:29:24  0100] notice/Checkable: Added downtime with ID '706' between '2015-01-29 22:00:00' and '2015-01-29 09:00:00'.

Every minute, just ID changes... goes on to no end.

"icinga2 object list --type ScheduledDowntime" output:

root@icinga:/var/log/icinga2# icinga2 object list --type ScheduledDowntime
Object 'HV-SRV01!time-to-sleep' of type 'ScheduledDowntime':
* __name = "HV-SRV01!time-to-sleep"
* author = "tami"
% = modified in '/etc/icinga2/conf.d/WS-01-WIN7/downtimes.conf', lines 4:3-4:17
* comment = "Daily Zzzzzz"
% = modified in '/etc/icinga2/conf.d/WS-01-WIN7/downtimes.conf', lines 5:3-5:26
* duration = 0
* fixed = 1
* host_name = "HV-SRV01"
% = modified in '/etc/icinga2/conf.d/WS-01-WIN7/downtimes.conf', lines 2:3-2:24
* methods = null
* name = "time-to-sleep"
* ranges
% = modified in '/etc/icinga2/conf.d/WS-01-WIN7/downtimes.conf', lines 7:3-15:3
* friday = "22:00-09:00"
* monday = "22:00-09:00"
* saturday = "22:00-09:00"
* sunday = "22:00-09:00"
* thursday = "22:00-09:00"
* tuesday = "22:00-09:00"
* wednesday = "22:00-09:00"
* service_name = ""
* templates = [ "time-to-sleep" ]
% = modified in '/etc/icinga2/conf.d/WS-01-WIN7/downtimes.conf', lines 1:0-16:1
* type = "ScheduledDowntime"
* vars = null
* zone = ""

Object 'icinga.milkdrop.local!load!backup-downtime' of type 'ScheduledDowntime':
* __name = "icinga.milkdrop.local!load!backup-downtime"
* author = "icingaadmin"
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 6:3-6:24
* comment = "Scheduled downtime for backup"
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 7:3-7:43
* duration = 0
* fixed = 1
* host_name = "icinga.milkdrop.local"
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 5:1-5:41
* methods = null
* name = "backup-downtime"
* ranges
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 9:3-17:3
* friday = "02:00-03:00"
* monday = "02:00-03:00"
* saturday = "02:00-03:00"
* sunday = "02:00-03:00"
* thursday = "02:00-03:00"
* tuesday = "02:00-03:00"
* wednesday = "02:00-03:00"
* service_name = "load"
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 5:1-5:41
* templates = [ "backup-downtime" ]
% = modified in '/etc/icinga2/conf.d/downtimes.conf', lines 5:1-5:41
* type = "ScheduledDowntime"
* vars = null
* zone = ""

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-01-29 13:15:35 00:00

  • Backport? set to TBD

@icinga-migration
Copy link
Author

Updated by Anonymous on 2015-01-29 13:16:04 00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 2f44581.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-01-29 13:16:19 00:00

  • Assigned to set to gbeutner
  • Target Version set to 2.3.0

@icinga-migration icinga-migration added bug Something isn't working libicinga labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.3.0 milestone Jan 17, 2017
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

No branches or pull requests

1 participant