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 #10883] Icinga2 crashes in IDO when removing a comment #3794

Closed
icinga-migration opened this issue Dec 17, 2015 · 6 comments
Closed
Labels
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Dec 17, 2015

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

Created by vytenis on 2015-12-17 22:03:20 +00:00

Assignee: mfriedrich
Status: Resolved (closed on 2015-12-18 09:55:03 +00:00)
Target Version: 2.4.2
Last Update: 2016-02-23 09:58:34 +00:00 (in Redmine)

Icinga Version: 2.4.1
Backport?: Already backported
Include in Changelog: 1

icinga2 - The Icinga 2 network monitoring daemon (version: v2.4.1-81-gaf3458d)

Copyright (c) 2012-2015 Icinga Development Team (https://www.icinga.org)
License GPLv2+: GNU GPL version 2 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: Debian GNU/Linux
  Platform version: "8 (jessie)
  Kernel: Linux
  Kernel version: 3.18.19
  Architecture: x86_64


#0  0x00007ff6eaa21db0 in icinga::IdoMysqlConnection::ExecuteMultipleQueries (this=0x7ff6900165b0, queries=std::vector of length 0, capacity 0) at ../../../lib/db_ido_mysql/idomysqlconnection.cpp:780

No locals.

#1  0x00007ff6ea0d7162 in boost::_mfi::mf1 > const&>::operator() (this=0x7ff6e0ba79a0, p=0x7ff6900165b0,

a1=std::vector of length 0, capacity 0) at /usr/include/boost/bind/mem_fn_template.hpp:165
No locals.

#2  0x00007ff6ea0c9418 in boost::_bi::list2, boost::arg<1> >::operator() > const&>, boost::_bi::list1 > const&> > (this=0x7ff6e0ba79b0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313

No locals.

#3  0x00007ff6ea0b7cb6 in boost::_bi::bind_t > const&>, boost::_bi::list2, boost::arg<1> > >::operator() > > (this=0x7ff6e0ba79a0, a1=std::vector of length 0, capacity 0)

at /usr/include/boost/bind/bind_template.hpp:47
a = {<boost::_bi::storage1<std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&>> = {a1_ = std::vector of length 0, capacity 0}, }

#4  0x00007ff6ea0a4fd2 in boost::detail::function::void_function_obj_invoker1 > const&>, boost::_bi::list2, boost::arg<1> > >, void, std::vector > const&>::invoke (

function_obj_ptr=..., a0=std::vector of length 0, capacity 0) at /usr/include/boost/function/function_template.hpp:153
f = 0x7ff6e0ba79a0

#5  0x00007ff6ea0eca51 in boost::function1 > const&>::operator() (this=0x7ff6e0ba7998, a0=std::vector of length 0, capacity 0)

at /usr/include/boost/function/function_template.hpp:767
No locals.

#6  0x00007ff6ea0e8565 in boost::signals2::detail::call_with_tuple_args::m_invoke > const&)>, 0u, std::vector > const&>(void*, boost::function > const&)>&, boost::signals2::detail::unsigned_meta_array<0u>, std::tuple > const&>) const (this=0x7ff707119bef, func=..., args=std::tuple containing = {...})

at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:92
No locals.

#7  0x00007ff6ea0d93e2 in boost::signals2::detail::call_with_tuple_args::operator() > const&)>, std::vector > const&, 1ul>(boost::function > const&)>&, std::tuple > const&>, mpl_::size_t<1ul>) const (this=0x7ff707119bef, func=..., args=std::tuple containing = {...})

at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:81
resolver = 0x0

#8  0x00007ff6ea0cb067 in boost::signals2::detail::variadic_slot_invoker > const&>::m_invoke >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >(boost::shared_ptr >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > const&, boost::signals2::detail::void_type const*) const (this=0x7ff707119ec0,

connectionBody=...) at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:117
No locals.

#9  0x00007ff6ea0ba8a4 in boost::signals2::detail::variadic_slot_invoker > const&>::operator() >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >(boost::shared_ptr >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > const&) const (this=0x7ff707119ec0, connectionBody=...)

at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:110
resolver = 0x0
10 0x00007ff6ea0a741b in boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&), boost::function<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (std::vector<icinga::DbQuery, std::allocator<icinga:
:DbQuery> > const&), boost::function<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&)> >, boost::signals2::mutex> >::dereference() const (this=0x7ff707119d00)
at /usr/include/boost/signals2/detail/slot_call_iterator.hpp:82
No locals.

#11 0x00007ff6ea096672 in boost::iterator_core_access::dereference > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > const&) (f=...) at /usr/include/boost/iterator/iterator_facade.hpp:514

No locals.

#12 0x00007ff6ea085e16 in boost::iterator_facade > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> >, boost::signals2::detail::void_type, boost::single_pass_traversal_tag, boost::signals2::detail::void_type const&, long>::operator*() const (this=0x7ff707119d00) at /usr/include/boost/iterator/iterator_facade.hpp:639

No locals.

#13 0x00007ff6ea076e89 in boost::signals2::optional_last_value::operator() > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> >) const (this=0x2732330, first=..., last=...) at /usr/include/boost/signals2/optional_last_value.hpp:55

No locals.

#14 0x00007ff6ea069826 in boost::signals2::detail::combiner_invoker::operator(), boost::signals2::detail::slot_call_iterator_t > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >(boost::signals2::optional_last_value&, boost::signals2::detail::slot_call_iterator_t > const&>, std::_List_iterator >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot > const&), boost::function > const&)> >, boost::signals2

::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&), boost::function<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&), boost::function<void (std::vector<icinga::DbQuery, std::allocatoricinga::DbQuery > const&)> >, boost::signals2::mutex> >) const (this=0x7ff707119f7f, combiner=..., first=..., last=...)
at /usr/include/boost/signals2/detail/result_type_wrapper.hpp:64
No locals.

#15 0x00007ff6ea05e07c in boost::signals2::detail::signal_impl > const&), boost::signals2::optional_last_value, int, std::less, boost::function > const&)>, boost::function > const&)>, boost::signals2::mutex>::operator()(std::vector > const&) (this=0x2732240, args#0=std::vector of length 0, capacity 0)

at /usr/include/boost/signals2/detail/signal_template.hpp:246
local_state = {px = 0x2732290, pn = {pi_ = 0x2732370}}
janitor = {_cache = 0x7ff707119db0, _sig = 0x2732240, _connection_bodies = 0x27322c0}
it = <error reading variable it (Cannot access memory at address 0x10)>
invoker = {_args = std::tuple containing = {[1] = std::vector of length 0, capacity 0}}
cache = {result = {<boost::optional_detail::optional_baseboost::signals2::detail::void_type> = {boost::optional_detail::optional_tag = {}, m_initialized = false,
m_storage = {dummy_ = {data = "\246", aligner_ = -90 '\246'}}}, },
tracked_ptrs = {<std::allocator<boost::variant<boost::shared_ptr, 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::variant<boost::shared_ptr, 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_> >> = {}, }, static is_stack_buffer_empty = , members_ = {<boost::aligned_storage<240ul, 8ul>> = {<boost::detail::aligned_storage::aligned_storage_imp<240ul, 8ul>> = {data_ = {
buf = "П\021\a\367\177\000\000\004\000\000\000\b\000\000\000ȸ\004\365\366\177\000\000x\246\236\003\367\177\000\000\000\000\000\000\000\000\000\000`` \271\004\365\366\177", '\000' <repeats 20 times>, "\244\352\000\000\000\000\002\000\000\000\b\000\000\000H\263\004\365\366\177\000\000x\246\236\003\367\177\000\000\260\265\004\365\366\177\000\000\200\273\004\365\366\177", '\000' <repeats 26 times>, "\260\265\004\365\366\177\000\000\310`\242\352\366\177\000\000\003/sV\000\000\000\000 \343\b\000\000\000\000\000Г!\320\366\177\000\000\250\206\242\352\366\177\000\000\004\000\000\000\367\177\000\000Г!\320\366\177\000\000\030\272\004\365"..., align_ = {}}}, static size = , static alignment = }, capacity_ = 10},
buffer_ = 0x7ff707119db8, size_ = 0}, f = {_args = std::tuple containing = {[1] = std::vector of length 0, capacity 0}}, connected_slot_count = 1, disconnected_slot_count = 0}

#16 0x00007ff6ea052984 in boost::signals2::signal > const&), boost::signals2::optional_last_value, int, std::less, boost::function > const&)>, boost::function > const&)>, boost::signals2::mutex>::operator()(std::vector > const&) (this=0x7ff6ea3cecf0 ,
args#0=std::vector of length 0, capacity 0) at /usr/include/boost/signals2/detail/signal_template.hpp:695

No locals.

#17 0x00007ff6ea01e6fa in icinga::DbEvents::RemoveComment (comment=...) at ../../../lib/db_ido/dbevents.cpp:399
    queries = std::vector of length 0, capacity 0
#18 0x00007ff6ea0cb29b in boost::_bi::list1 >::operator() const&), boost::_bi::list1 const&> > (
this=0x27339b8, f= ``0x27339b0: 0x7ff6ea01e6b8 <icinga::DbEvents::RemoveComment(boost::intrusive_ptr<icinga::Comment> const&)&gt;, a=...) at /usr/include/boost/bind/bind.hpp:253

No locals.

#19 0x00007ff6ea0baca8 in boost::_bi::bind_t const&), boost::_bi::list1 > >::operator() > (

this=0x27339b0, a1=...) at /usr/include/boost/bind/bind_template.hpp:47
a = {<boost::_bi::storage1<boost::intrusive_ptricinga::Comment const&>> = {a1_ = `0x7ff70711a610}, }

#20 0x00007ff6ea0a7bbf in boost::detail::function::void_function_obj_invoker1 const&), boost::_bi::list1 > >, void, boost::intrusive_ptr const&>::invoke (function_obj_ptr=..., a0=...) at /usr/include/boost/function/function_template.hpp:153
    f = 0x27339b0
#21 0x00007ff6ebc38101 in boost::function1 const&>::operator() (this=0x27339a8, a0=...) at /usr/include/boost/function/function_template.hpp:767

No locals.

#22 0x00007ff6ebc316fd in boost::signals2::detail::call_with_tuple_args::m_invoke const&)>, 0u, boost::intrusive_ptr const&>(void*, boost::function const&)>&, boost::signals2::detail::unsigned_meta_array<0u>, std::tuple const&>) const (this=0x7ff70711a20f, func=..., args=std::tuple containing = {...}) at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:92

No locals.

#23 0x00007ff6ebc2999e in boost::signals2::detail::call_with_tuple_args::operator() const&)>, boost::intrusive_ptr const&, 1ul>(boost::function const&)>&, std::tuple const&>, mpl_::size_t<1ul>) const (
this=0x7ff70711a20f, func=..., args=std::tuple containing = {...}) at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:81
    resolver = 0x0
#24 0x00007ff6ebc1a767 in boost::signals2::detail::variadic_slot_invoker const&>::m_invoke >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >(boost::shared_ptr >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > const&, boost::signals2::detail::void_type const*) const (this=0x7ff70711a4e0, connectionBody=...) at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:117

No locals.

#25 0x00007ff6ebbfea5c in boost::signals2::detail::variadic_slot_invoker const&>::operator() >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >(boost::shared_ptr >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > const&) const (
this=0x7ff70711a4e0, connectionBody=...) at /usr/include/boost/signals2/detail/variadic_slot_invoker.hpp:110
    resolver = 0x0
#26 0x00007ff6ebbddd47 in boost::signals2::detail::slot_call_iterator_t const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> >::dereference() const (this=0x7ff70711a320) at /usr/include/boost/signals2/detail/slot_call_iterator.hpp:82

No locals.

#27 0x00007ff6ebbbbe04 in boost::iterator_core_access::dereference const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > const&) (f=...) at /usr/include/boost/iterator/iterator_facade.hpp:514

No locals.

#28 0x00007ff6ebb91c42 in boost::iterator_facade const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> >, boost::signals2::detail::void_type, boost::single_pass_traversal_tag, boost::signals2::detail::void_type const&, long>::operator*() const (
this=0x7ff70711a320) at /usr/include/boost/iterator/iterator_facade.hpp:639

No locals.

#29 0x00007ff6ebb654e7 in boost::signals2::optional_last_value::operator() const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2

::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (boost::intrusive_ptricinga::Comment const&), boost::function<void (boost::intrusive_ptricinga::Comment const&)> >, boost::signals2::mutex> > >(boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, boost::intrusive_ptricinga::Comment const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (boost::intrusive_ptricinga::Comment const&), boost::function<void (boost::intrusive_ptricinga::Comment const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (boost::intrusive_ptricinga::Comment const&), boost::function<void (boost::intrusive_ptricinga::Comment const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::variadic_slot_invoker<boost::signals2::detail::void_type, boost::intrusive_ptricinga::Comment const&>, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (boost::intrusive_ptricinga::Comment const&), boost::function<void (boost::intrusive_ptricinga::Comment const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional >, boost::signals2::slot<void (boost::intrusive_ptricinga::Comment const&), boost::function<void (boost::intrusive_ptricinga::Comment const&)> >, boost::signals2::mutex> >) const (this=0x2641040, first=..., last=...) at /usr/include/boost/signals2/optional_last_value.hpp:55
No locals.

#30 0x00007ff6ebb3fdac in boost::signals2::detail::combiner_invoker::operator(), boost::signals2::detail::slot_call_iterator_t const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >(boost::signals2::optional_last_value&, boost::signals2::detail::slot_call_iterator_t const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> >, boost::signals2::detail::slot_call_iterator_t const&>, std::_List_iterator >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body >, boost::signals2::slot const&), boost::function const&)> >, boost::signals2::mutex> >) const (this=0x7ff70711a59f, combiner=...,
first=..., last=...) at /usr/include/boost/signals2/detail/result_type_wrapper.hpp:64

No locals.

#31 0x00007ff6ebb1f0f6 in boost::signals2::detail::signal_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=0x2640f50, args#0=...) at /usr/include/boost/signals2/detail/signal_template.hpp:246
    local_state = {px = 0x2640fa0, pn = {pi_ = 0x2641080}}
    janitor = {_cache = `0x7ff70711a3d0, \_sig = `0x2640f50, _connection_bodies = 0x2640fd0}
    it = <error reading variable it (Cannot access memory at address 0x10)>
    invoker = {_args = std::tuple containing = {[1] = `0x7ff70711a610}}

cache = {result = {<boost::optional_detail::optional_baseboost::signals2::detail::void_type> = {boost::optional_detail::optional_tag = {}, m_initialized = false,
m_storage = {dummy_ = {data = "\244", aligner_ = -92 '\244'}}}, },
tracked_ptrs = {<std::allocator<boost::variant<boost::shared_ptr, 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::variant<boost::shared_ptr, 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_> >> = {}, }, static is_stack_buffer_empty = , members_ = {<boost::aligned_storage<240ul, 8ul>> = {<boost::detail::aligned_storage::aligned_storage_imp<240ul, 8ul>> = {data_ = {
buf = "^Q\263\353\366\177\000\000\340\020F\253\366\177\000\000\340\225!\320\366\177\000\000\300\314V\213\366\177\000\000 \244\021\a\367\177\000\000\060\244\021\a\367\177\000\000\226|\267\353\366\177\000\000\340\020F\253\366\177\000\000P\244\021\a\367\177\000\000\300\314V\213\366\177\000\000\340\020F\253\366\177\000\000`\244\021\a\367\177\000\000\207\\\272\353\366\177\000\000\340\020F\253\366\177\000\000\340\225\320\366\177\000\000\340\020F\253\366\177\000\000\340\225!\320\366\177\000\000"..., align_ = {}}},
static size = , static alignment = }, capacity_ = 10}, buffer_ = 0x7ff70711a3d8, size_ = 0}, f = {_args = std::tuple containing = {
[1] = @0x7ff70711a610}}, connected_slot_count = 2, disconnected_slot_count = 0}

#32 0x00007ff6ebb068e6 in boost::signals2::signal const&), boost::signals2::optional_last_value, int, std::less, boost::function const&)>, boost::function const&)>, boost::signals2::mutex>::operator()(boost::intrusive_ptr const&) (this=0x7ff6ebffe560 , args#0=...) at /usr/include/boost/signals2/detail/signal_template.hpp:695

No locals.

#33 0x00007ff6eba4cead in icinga::Comment::Stop (this=0x7ff6b43c3f60, runtimeRemoved=true) at ../../../lib/icinga/comment.cpp:129

No locals.

#34 0x00007ff705f94196 in icinga::ConfigObject::Deactivate (this=0x7ff6b43c3f60, runtimeRemoved=true) at ../../../lib/base/configobject.cpp:429

currentContextFrame = {}

#35 0x00007ff705042619 in icinga::ConfigObjectUtility::DeleteObjectHelper (object=..., cascade=false, errors=...) at ../../../lib/remote/configobjectutility.cpp:198

parents = std::vector of length 0, capacity 0
type = {px = 0x264e110}

PRETTY_FUNCTION = "static bool icinga::ConfigObjectUtility::DeleteObjectHelper(const Ptr&, bool, const Ptr&)"
item = {px = 0x0}
path = {static NPos = 18446744073709551615, m_Data = <error reading variable: Cannot access memory at address 0xffffffffffffffe9>}

#36 0x00007ff705042b69 in icinga::ConfigObjectUtility::DeleteObject (object=..., cascade=false, errors=...) at ../../../lib/remote/configobjectutility.cpp:235

No locals.

#37 0x00007ff6eba4df14 in icinga::Comment::RemoveComment (id=..., origin=...) at ../../../lib/icinga/comment.cpp:213

comment = {px = 0x7ff6b43c3f60}
legacy_id = 2
errors = {px = 0x7ff6f504b8e0}

PRETTY_FUNCTION = "static void icinga::Comment::RemoveComment(const icinga::String&, const Ptr&)"

#38 0x00007ff6eba7ee14 in icinga::ExternalCommandProcessor::DelHostComment (arguments=std::vector of length 1, capacity 1 = {...}) at ../../../lib/icinga/externalcommandprocessor.cpp:1184

id = 2
rid = {static NPos = 18446744073709551615, m_Data = "schemalessdb152-sjc1icinga03-sjc1-1450388438-0"}

#39 0x00007ff6ebb6a123 in boost::detail::function::void_function_invoker2 > const&), void, double, std::vector > const&>::invoke (function_ptr=..., a0=1450389251, a1=std::vector of length 1, capacity 1 = {...}) at /usr/include/boost/function/function_template.hpp:112

f = 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>

#40 0x00007ff6ebb09e5c in boost::function2 > const&>::operator() (this=0x7ff70711b050, a0=1450389251,

a1=std::vector of length 1, capacity 1 = {...}) at /usr/include/boost/function/function_template.hpp:767
No locals.

#41 0x00007ff6eba6bd73 in icinga::ExternalCommandProcessor::Execute (time=1450389251, command=..., arguments=std::vector of length 1, capacity 1 = {...})

at ../../../lib/icinga/externalcommandprocessor.cpp:170
eci = {Callback = {<boost::function2<void, double, std::vector<icinga::String, std::allocatoricinga::String > const&>> = {boost::function_base = {
vtable = 0x7ff6ebffb321 <void boost::function2<void, double, std::vector<icinga::String, std::allocatoricinga::String > const&>::assign_to<void (*)(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>(void (*)(double, std::vector<icinga::String, std::allocatoricinga::String > const&))::stored_vtable+1>, functor = {
obj_ptr = 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>, type = {
type = 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>, const_qualified = 88,
volatile_qualified = 12},
func_ptr = 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>, bound_memfunc_ptr = {
memfunc_ptr = (void (boost::detail::function::X::)(boost::detail::function::X const,
int)) 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>, this adjustment 140698882083928,
obj_ptr = 0x7ff6eb9c489f}, obj_ref = {
obj_ptr = 0x7ff6eba7ed26 <icinga::ExternalCommandProcessor::DelHostComment(double, std::vector<icinga::String, std::allocatoricinga::String > const&)>, is_const_qualified = 88,
is_volatile_qualified = 12}, data = 38 '&'}}, <std::binary_function<double, std::vector<icinga::String, std::allocatoricinga::String > const&, void>> = {},
static args = , static arity = }, }, MinArgs = 1, MaxArgs = 1}

PRETTY_FUNCTION = "static void icinga::ExternalCommandProcessor::Execute(double, const icinga::String&, const std::vectoricinga::String&)"
argnum = 1
realArguments = std::vector of length 1, capacity 1 = {{static NPos = 18446744073709551615, m_Data = "2"}}

#42 0x00007ff6eba6b7e4 in icinga::ExternalCommandProcessor::Execute (line=...) at ../../../lib/icinga/externalcommandprocessor.cpp:127

PRETTY_FUNCTION = "static void icinga::ExternalCommandProcessor::Execute(const icinga::String&)"
argv = std::vector of length 2, capacity 2 = {{static NPos = 18446744073709551615, m_Data = "DEL_HOST_COMMENT"}, {static NPos = 18446744073709551615, m_Data = "2"}}
pos = 11
timestamp = {static NPos = 18446744073709551615, m_Data = "1450389251"}
args = {static NPos = 18446744073709551615, m_Data = "DEL_HOST_COMMENT;2"}
ts = 1450389251
argvExtra = std::vector of length 1, capacity 1 = {{static NPos = 18446744073709551615, m_Data = "2"}}

#43 0x00007ff6e974a0ce in icinga::LivestatusQuery::ExecuteCommandHelper (this=0x7ff6f504b200, stream=...) at ../../../lib/livestatus/livestatusquery.cpp:583

No locals.

#44 0x00007ff6e974a86f in icinga::LivestatusQuery::Execute (this=0x7ff6f504b200, stream=...) at ../../../lib/livestatus/livestatusquery.cpp:633

PRETTY_FUNCTION = "bool icinga::LivestatusQuery::Execute(const Ptr&)"

#45 0x00007ff6e97448b5 in icinga::LivestatusListener::ClientHandler (this=0x7ff6dc006420, client=...) at ../../../lib/livestatus/livestatuslistener.cpp:206

line = {static NPos = 18446744073709551615, m_Data = ""}
lines = std::vector of length 1, capacity 1 = {{static NPos = 18446744073709551615, m_Data = "COMMAND [1450389251] DEL_HOST_COMMENT;2"}}
query = {px = 0x7ff6f504b200}
stream = {px = 0x7ff6f505fe60}
context = {Buffer = 0x7ff6f506efc0 "COMMAND [1450389251] DEL_HOST_COMMENT;2\n", Size = 0, MustRead = true, Eof = true}

#46 0x00007ff6e97c5242 in boost::_mfi::mf1 const&>::operator() (this=0x7ff6f4d20e70, p=0x7ff6dc006420, a1=...)

at /usr/include/boost/bind/mem_fn_template.hpp:165
No locals.

#47 0x00007ff6e97be86d in boost::_bi::list2, boost::_bi::value > >::operator() const&>, boost::_bi::list0> (this=0x7ff6f4d20e80, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313

No locals.

#48 0x00007ff6e97b55e5 in boost::_bi::bind_t const&>, boost::_bi::list2, boost::_bi::value > > >::operator() (this=0x7ff6f4d20e70) at /usr/include/boost/bind/bind_template.hpp:20

a = {}

#49 0x00007ff6e97a9e20 in boost::detail::function::void_function_obj_invoker0 const&>, boost::_bi::list2, boost::_bi::value > > >, void>::invoke (function_obj_ptr=...)

at /usr/include/boost/function/function_template.hpp:153
f = 0x7ff6f4d20e70

#50 0x00007ff705fe143e in boost::function0::operator() (this=0x7ff70711b8b0) at /usr/include/boost/function/function_template.hpp:767

No locals.

#51 0x00007ff705fb8d78 in icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ff706396d30 , queue=...) at ../../../lib/base/threadpool.cpp:138

wi = {Callback = {<boost::function0> = {boost::function_base = {
vtable = 0x7ff6e9a46620 <void boost::function0::assign_to<boost::_bi::bind_t<void, boost::_mfi::mf1<void, icinga::LivestatusListener, boost::intrusive_ptricinga::Socket const&>, boost::_bi::list2<boost::_bi::valueicinga::LivestatusListener*, boost::_bi::value<boost::intrusive_ptricinga::Socket > > > >(boost::_bi::bind_t<void, boost::_mfi::mf1<void, icinga::LivestatusListener, boost::intrusive_ptricinga::Socket const&>, boost::_bi::list2<boost::_bi::valueicinga::LivestatusListener*, boost::_bi::value<boost::intrusive_ptricinga::Socket > > >)::stored_vtable>,
functor = {obj_ptr = 0x7ff6f4d20e70, type = {type = 0x7ff6f4d20e70, const_qualified = false, volatile_qualified = false}, func_ptr = 0x7ff6f4d20e70, bound_memfunc_ptr = {
memfunc_ptr = (void (boost::detail::function::X::)(boost::detail::function::X const, int)) 0x7ff6f4d20e70, obj_ptr = 0x7ff6b4722700}, obj_ref = {obj_ptr = 0x7ff6f4d20e70,
is_const_qualified = false, is_volatile_qualified = false}, data = 112 'p'}}, static args = , static arity = }, },
Timestamp = 1450389251.574266}
st = 1450389251.5821121
et = 1450389251.281918
oost::_bi::list2<boost::_bi::valueicinga::LivestatusListener*, boost::_bi::value<boost::intrusive_ptricinga::Socket > > >, void>::invoke (function_obj_ptr=...)
at /usr/include/boost/function/function_template.hpp:153
f = 0x7ff6f4d20e70

#50 0x00007ff705fe143e in boost::function0::operator() (this=0x7ff70711b8b0) at /usr/include/boost/function/function_template.hpp:767

No locals.

#51 0x00007ff705fb8d78 in icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ff706396d30 , queue=...) at ../../../lib/base/threadpool.cpp:138

wi = {Callback = {<boost::function0> = {boost::function_base = {
vtable = 0x7ff6e9a46620 <void boost::function0::assign_to<boost::_bi::bind_t<void, boost::_mfi::mf1<void, icinga::LivestatusListener, boost::intrusive_ptricinga::Socket const&>, boost::_bi::list2<boost::_bi::valueicinga::LivestatusListener*, boost::_bi::value<boost::intrusive_ptricinga::Socket > > > >(boost::_bi::bind_t<void, boost::_mfi::mf1<void, icinga::LivestatusListener, boost::intrusive_ptricinga::Socket const&>, boost::_bi::list2<boost::_bi::valueicinga::LivestatusListener*, boost::_bi::value<boost::intrusive_ptricinga::Socket > > >)::stored_vtable>,
functor = {obj_ptr = 0x7ff6f4d20e70, type = {type = 0x7ff6f4d20e70, const_qualified = false, volatile_qualified = false}, func_ptr = 0x7ff6f4d20e70, bound_memfunc_ptr = {
memfunc_ptr = (void (boost::detail::function::X::)(boost::detail::function::X const, int)) 0x7ff6f4d20e70, obj_ptr = 0x7ff6b4722700}, obj_ref = {obj_ptr = 0x7ff6f4d20e70,
is_const_qualified = false, is_volatile_qualified = false}, data = 112 'p'}}, static args = , static arity = }, },
Timestamp = 1450389251.574266}
st = 1450389251.5821121
et = 1450389251.281918
--Type to continue, or q to quit--
latency = 0.0038230419158935547
idbuf =
lock = {m = 0x0, is_locked = false}

#52 0x00007ff7060b9608 in boost::_mfi::mf1::operator() (this=0x2631158, t=..., a1=...)

at /usr/include/boost/bind/mem_fn_template.hpp:186
No locals.

#53 0x00007ff7060b880d in boost::_bi::list2, boost::reference_wrapper >::operator(), boost::_bi::list0> (this=0x2631168, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313

No locals.

#54 0x00007ff7060b5af1 in boost::_bi::bind_t, boost::_bi::list2, boost::reference_wrapper > >::operator() (this=0x2631158) at /usr/include/boost/bind/bind_template.hpp:20

a = {}

#55 0x00007ff7060b16e0 in boost::detail::thread_data, boost::_bi::list2, boost::reference_wrapper > > >::run (this=0x2630fa0) at /usr/include/boost/thread/detail/thread.hpp:117

No locals.

#56 0x00007ff706d52aea in ?? () from /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.55.0

No symbol table info available.

#57 0x00007ff7063a00a4 in start_thread (arg=0x7ff70711c700) at pthread_create.c:309

__res =
pd = 0x7ff70711c700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140698952255232, -5968897242796899489, 0, 140698952667232, 0, 140698952255232, 5963955262271800159, 5963957644343526239}, mask_was_saved = 0}},
priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =

PRETTY_FUNCTION = "start_thread"

#58 0x00007ff702f0604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

No locals.

Changesets

2015-12-18 09:52:04 +00:00 by mfriedrich 9c8fdf0

Fix crash in DbEvents::RemoveCommentInternal()

Missing multiple queries as implemented with RemoveDowntimeInternal().

fixes #10883

2016-02-23 08:16:35 +00:00 by mfriedrich 9424404

Fix crash in DbEvents::RemoveCommentInternal()

Missing multiple queries as implemented with RemoveDowntimeInternal().

fixes #10883

Relations:

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 17, 2015

Updated by vytenis on 2015-12-17 22:04:37 +00:00

Note that this is happening when executing a Livestatus query to remove a comment (and possibly when adding a downtime)

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 18, 2015

Updated by mfriedrich on 2015-12-18 09:46:31 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Target Version set to 2.4.2

Thanks a lot for testing, missed the MultipleQueries change for DbEvents::RemoveDowntime()

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 18, 2015

Updated by mfriedrich on 2015-12-18 09:46:54 +00:00

  • Relates set to 10855
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 18, 2015

Updated by mfriedrich on 2015-12-18 09:47:08 +00:00

  • Relates set to 8714
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 18, 2015

Updated by mfriedrich on 2015-12-18 09:55:03 +00:00

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

Applied in changeset 9c8fdf0.

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Feb 23, 2016

Updated by gbeutner on 2016-02-23 09:58:34 +00:00

  • Backport? changed from Not yet backported to Already backported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.