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 #11804] Segfault when trying to start 2.4.8 #4222

Closed
icinga-migration opened this issue May 18, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented May 18, 2016

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

Created by tgelf on 2016-05-18 10:04:04 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-05-18 10:55:03 +00:00)
Target Version: 2.4.9
Last Update: 2016-05-18 10:55:03 +00:00 (in Redmine)

Icinga Version: 2.4.8
Backport?: Not yet backported
Include in Changelog: 1

information/Utility: Loading library 'libmethods.so'
information/ConfigItem: Committing config items
[New Thread 0x7ffff7e4f700 (LWP 63801)]
[New Thread 0x7ffff0077700 (LWP 63802)]
[New Thread 0x7fffda144700 (LWP 63803)]
[New Thread 0x7fffda103700 (LWP 63804)]
[New Thread 0x7fffda0c2700 (LWP 63805)]
[New Thread 0x7fffda081700 (LWP 63806)]
[New Thread 0x7fffda040700 (LWP 63807)]
[New Thread 0x7fffd9fff700 (LWP 63808)]
information/ApiListener: My API identity: mon-icingamaster-01.lxprod.example.com
*** Error in `/usr/lib64/icinga2/sbin/icinga2': double free or corruption (fasttop): 0x00007fffc8161f20 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d023)[0x7ffff44cf023]
/usr/lib64/icinga2/libconfig.so(_ZNSt6vectorIN6icinga6StringESaIS1_EE19_M_emplace_back_auxIJRKS1_EEEvDpOT_+0x101)[0x7ffff6e1f2d1]
/usr/lib64/icinga2/libconfig.so(_ZN6icinga10ConfigItem6CommitEb+0xe95)[0x7ffff6e2cb25]
/usr/lib64/icinga2/libconfig.so(_ZN5boost6detail8function26void_function_obj_invoker0INS_3_bi6bind_tINS_13intrusive_ptrIN6icinga12ConfigObjectEEENS_4_mfi3mf1IS8_NS6_10ConfigItemEbEENS3_5list2INS3_5valueINS5_ISB_EEEENSE_IbEEEEEEvE6invokeERNS1_15function_bufferE+0x38)[0x7ffff6e3b608]
/usr/lib64/icinga2/libbase.so(_ZN6icinga9WorkQueue16WorkerThreadProcEv+0x4a2)[0x7ffff7172152]
/lib64/libboost_thread-mt.so.1.53.0(+0xd24a)[0x7ffff7bd124a]
/lib64/libpthread.so.0(+0x7dc5)[0x7ffff481adc5]
/lib64/libc.so.6(clone+0x6d)[0x7ffff454828d]
======= Memory map: ========
00400000-00421000 r-xp 00000000 fd:00 1037551                            /usr/lib64/icinga2/sbin/icinga2
00620000-00621000 r--p 00020000 fd:00 1037551                            /usr/lib64/icinga2/sbin/icinga2
00621000-00622000 rw-p 00021000 fd:00 1037551                            /usr/lib64/icinga2/sbin/icinga2
00622000-0be24000 rw-p 00000000 00:00 0                                  [heap]
7fffb0000000-7fffb019a000 rw-p 00000000 00:00 0 
7fffb019a000-7fffb4000000 ---p 00000000 00:00 0 
7fffb4000000-7fffb4021000 rw-p 00000000 00:00 0 
7fffb4021000-7fffb8000000 ---p 00000000 00:00 0 
7fffb8000000-7fffb8170000 rw-p 00000000 00:00 0 
7fffb8170000-7fffbc000000 ---p 00000000 00:00 0 
7fffbc000000-7fffbc1a9000 rw-p 00000000 00:00 0 
7fffbc1a9000-7fffc0000000 ---p 00000000 00:00 0 
7fffc0000000-7fffc016a000 rw-p 00000000 00:00 0 
7fffc016a000-7fffc4000000 ---p 00000000 00:00 0 
7fffc4000000-7fffc4183000 rw-p 00000000 00:00 0 
7fffc4183000-7fffc8000000 ---p 00000000 00:00 0 
7fffc8000000-7fffc8168000 rw-p 00000000 00:00 0 
7fffc8168000-7fffcc000000 ---p 00000000 00:00 0 
7fffcc000000-7fffcc17c000 rw-p 00000000 00:00 0 
7fffcc17c000-7fffd0000000 ---p 00000000 00:00 0 
7fffd0000000-7fffd0173000 rw-p 00000000 00:00 0 
7fffd0173000-7fffd4000000 ---p 00000000 00:00 0 
7fffd4000000-7fffd4021000 rw-p 00000000 00:00 0 
7fffd4021000-7fffd8000000 ---p 00000000 00:00 0 
7fffd9fbf000-7fffd9fc0000 ---p 00000000 00:00 0 
7fffd9fc0000-7fffda000000 rw-p 00000000 00:00 0                          [stack:63808]
7fffda000000-7fffda001000 ---p 00000000 00:00 0 
7fffda001000-7fffda041000 rw-p 00000000 00:00 0                          [stack:63807]
7fffda041000-7fffda042000 ---p 00000000 00:00 0 
7fffda042000-7fffda082000 rw-p 00000000 00:00 0                          [stack:63806]
7fffda082000-7fffda083000 ---p 00000000 00:00 0 
7fffda083000-7fffda0c3000 rw-p 00000000 00:00 0                          [stack:63805]
7fffda0c3000-7fffda0c4000 ---p 00000000 00:00 0 
7fffda0c4000-7fffda104000 rw-p 00000000 00:00 0                          [stack:63804]
7fffda104000-7fffda105000 ---p 00000000 00:00 0 
7fffda105000-7fffda145000 rw-p 00000000 00:00 0                          [stack:63803]
7fffda145000-7fffda1f3000 r-xp 00000000 fd:00 1613466787                 /usr/lib64/icinga2/libperfdata.so
7fffda1f3000-7fffda3f3000 ---p 000ae000 fd:00 1613466787                 /usr/lib64/icinga2/libperfdata.so
7fffda3f3000-7fffda3f9000 r--p 000ae000 fd:00 1613466787                 /usr/lib64/icinga2/libperfdata.so
7fffda3f9000-7fffda3fa000 rw-p 000b4000 fd:00 1613466787                 /usr/lib64/icinga2/libperfdata.so
7fffda3fa000-7fffda43a000 r-xp 00000000 fd:00 1613466786                 /usr/lib64/icinga2/libnotification.so
7fffda43a000-7fffda63a000 ---p 00040000 fd:00 1613466786                 /usr/lib64/icinga2/libnotification.so
7fffda63a000-7fffda63d000 r--p 00040000 fd:00 1613466786                 /usr/lib64/icinga2/libnotification.so
7fffda63d000-7fffda63e000 rw-p 00043000 fd:00 1613466786                 /usr/lib64/icinga2/libnotification.so
7fffda63e000-7fffda76b000 r-xp 00000000 fd:00 1611683983                 /usr/lib64/icinga2/libdb_ido.so
7fffda76b000-7fffda96a000 ---p 0012d000 fd:00 1611683983                 /usr/lib64/icinga2/libdb_ido.so
7fffda96a000-7fffda971000 r--p 0012c000 fd:00 1611683983                 /usr/lib64/icinga2/libdb_ido.so
7fffda971000-7fffda972000 rw-p 00133000 fd:00 1611683983                 /usr/lib64/icinga2/libdb_ido.so
7fffda972000-7fffdac50000 r-xp 00000000 fd:00 6857                       /usr/lib64/mysql/libmysqlclient.so.18.0.0
7fffdac50000-7fffdae4f000 ---p 002de000 fd:00 6857                       /usr/lib64/mysql/libmysqlclient.so.18.0.0
7fffdae4f000-7fffdae57000 r--p 002dd000 fd:00 6857                       /usr/lib64/mysql/libmysqlclient.so.18.0.0
7fffdae57000-7fffdae6c000 rw-p 002e5000 fd:00 6857                       /usr/lib64/mysql/libmysqlclient.so.18.0.0
7fffdae6c000-7fffdae71000 rw-p 00000000 00:00 0 
7fffdae71000-7fffdaed8000 r-xp 00000000 fd:00 1611686329                 /usr/lib64/icinga2/libdb_ido_mysql.so
7fffdaed8000-7fffdb0d8000 ---p 00067000 fd:00 1611686329                 /usr/lib64/icinga2/libdb_ido_mysql.so
7fffdb0d8000-7fffdb0dc000 r--p 00067000 fd:00 1611686329                 /usr/lib64/icinga2/libdb_ido_mysql.so
7fffdb0dc000-7fffdb0dd000 rw-p 0006b000 fd:00 1611686329                 /usr/lib64/icinga2/libdb_ido_mysql.so
7fffdb0dd000-7fffdb1ad000 r-xp 00000000 fd:00 1613498591                 /usr/lib64/icinga2/libcompat.so
7fffdb1ad000-7fffdb3ad000 ---p 000d0000 fd:00 1613498591                 /usr/lib64/icinga2/libcompat.so
7fffdb3ad000-7fffdb3b3000 r--p 000d0000 fd:00 1613498591                 /usr/lib64/icinga2/libcompat.so
7fffdb3b3000-7fffdb3b4000 rw-p 000d6000 fd:00 1613498591                 /usr/lib64/icinga2/libcompat.so
7fffdb3b4000-7fffdb40f000 r-xp 00000000 fd:00 1611683118                 /usr/lib64/icinga2/libchecker.so
7fffdb40f000-7fffdb60e000 ---p 0005b000 fd:00 1611683118                 /usr/lib64/icinga2/libchecker.so
7fffdb60e000-7fffdb612000 r--p 0005a000 fd:00 1611683118                 /usr/lib64/icinga2/libchecker.so
7fffdb612000-7fffdb613000 rw-p 0005e000 fd:00 1611683118                 /usr/lib64/icinga2/libchecker.so
7fffdb613000-7fffdc000000 r--s 00000000 fd:00 1076172247                 /var/lib/sss/mc/initgroups
7fffdc000000-7fffdc021000 rw-p 00000000 00:00 0 
7fffdc021000-7fffe0000000 ---p 00000000 00:00 0 
7fffe0000000-7fffe0021000 rw-p 00000000 00:00 0 
7fffe0021000-7fffe4000000 ---p 00000000 00:00 0 
7fffe4000000-7fffe4021000 rw-p 00000000 00:00 0 
7fffe4021000-7fffe8000000 ---p 00000000 00:00 0 
7fffe8000000-7fffe8021000 rw-p 00000000 00:00 0 
7fffe8021000-7fffec000000 ---p 00000000 00:00 0 
7fffec000000-7fffec021000 rw-p 00000000 00:00 0 
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffda040700 (LWP 63807)]
0x00007ffff44875f7 in raise () from /lib64/libc.so.6

(gdb) bt full

#0  0x00007ffff44875f7 in raise () from /lib64/libc.so.6

No symbol table info available.

#1  0x00007ffff4488ce8 in abort () from /lib64/libc.so.6

No symbol table info available.

#2  0x00007ffff44c7317 in __libc_message () from /lib64/libc.so.6

No symbol table info available.

#3  0x00007ffff44cf023 in _int_free () from /lib64/libc.so.6

No symbol table info available.

#4  0x00007ffff6e1f2d1 in deallocate (this=0x7ffff707d980 , __p=0x7fffc8161f20)

at /usr/include/c**/4.8.2/ext/new_allocator.h:110
No locals.

#5  _M_deallocate (this=0x7ffff707d980 , __n=, __p=0x7fffc8161f20)

at /usr/include/c**/4.8.2/bits/stl_vector.h:174
No locals.

#6  std::vector >::_M_emplace_back_aux (

this=0x7ffff707d980 icinga::ConfigItem::m_IgnoredItems) at /usr/include/c**/4.8.2/bits/vector.tcc:430
__new_start = 0x7fffbc179ca0
__new_finish = 0x7fffbc179cb8

#7  0x00007ffff6e2cb25 in icinga::ConfigItem::Commit (this=0x73d440, discard=) at ../config/configitem.cpp:246

ex =

PRETTY_FUNCTION = "icinga::ConfigObject::Ptr icinga::ConfigItem::Commit(bool)"
dobj = {px = 0x7fffbc1a2aa0}
debugHints = {m_Hints = {px = 0x7fffbc14f5c0}}
item_name = {static NPos = 18446744073709551615,
m_Data = "mon-icingamaster-01.lxprod.example.com-1461920655-131"}
type = {px = 0x655370}
frame = {Locals = {px = 0x7fffbc175a00}, Self = {m_Value = {which_ = 4,
storage_ = {<boost::detail::aligned_storage::aligned_storage_imp<8ul, 8ul>> = {data_ = {
buf = "\240*\032\274\377\177\000", align_ = {}}}, static size = ,
static alignment = }}}, Sandboxed = false, Depth = 0, static m_ScriptFrames = {cleanup = {px = 0x624850,
pn = {pi_ = 0x624870}}}}
short_name = {static NPos = 18446744073709551615,
m_Data = "mon-icingamaster-01.lxprod.example.com-1461920655-131"}
dhint = {px = 0x7fffbc14f5c0}
di = {px = 0x7fffbc1a12f0}
name = {static NPos = 18446744073709551615,
m_Data = "cassso-logbuffer-01.lxdev.example.com!mon-icingamaster-01.lxprod.example.com-1461920655-131"}
nc =
persistentItem = {px = 0x0}

#8  0x00007ffff6e3b608 in call, bool> (b1=, u=..., this=)

--Type to continue, or q to quit--
at /usr/include/boost/bind/mem_fn_template.hpp:156
No locals.

#9  operator() > (a1=, u=..., this=)

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

#10 operator(), boost::_mfi::mf1, icinga::ConfigItem, bool>, boost::_bi::list0> (a=, f=..., this=) at /usr/include/boost/bind/bind.hpp:303

No locals.

#11 operator() (this=) at /usr/include/boost/bind/bind_template.hpp:20

No locals.

#12 boost::detail::function::void_function_obj_invoker0, boost::_mfi::mf1, icinga::ConfigItem, bool>, boost::_bi::list2 >, boost::_bi::value > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153

f =

#13 0x00007ffff7172152 in operator() (this=0x7fffda03fbb0) at /usr/include/boost/function/function_template.hpp:767

No locals.

#14 icinga::WorkQueue::WorkerThreadProc (this=0x7fffffffac00) at ../base/workqueue.cpp:212

task = {Function = {<boost::function0> = {boost::function_base = {
vtable = 0x7ffff7077a90 <void boost::function0::assign_to<boost::_bi::bind_t<boost::intrusive_ptricinga::ConfigObject, boost::_mfi::mf1<boost::intrusive_ptricinga::ConfigObject, icinga::ConfigItem, bool>, boost::_bi::list2<boost::_bi::value<boost::intrusive_ptricinga::ConfigItem >, boost::_bi::value > > >(boost::_bi::bind_t<boost::intrusive_ptricinga::ConfigObject, boost::_mfi::mf1<boost::intrusive_ptricinga::ConfigObject, icinga::ConfigItem, bool>, boost::_bi::list2<boost::_bi::value<boost::intrusive_ptricinga::ConfigItem >, boost::_bi::value > >)::stored_vtable>, functor = {obj_ptr = 0x7fffbc000c20, type = {
type = 0x7fffbc000c20, const_qualified = false, volatile_qualified = false}, func_ptr = 0x7fffbc000c20,
bound_memfunc_ptr = {memfunc_ptr = (void (boost::detail::function::X::)(boost::detail::function::X const,
int)) 0x7fffbc000c20, obj_ptr = 0x0}, obj_ref = {obj_ptr = 0x7fffbc000c20, is_const_qualified = false,
is_volatile_qualified = false}, data = 32 ' '}}, static args = ,
static arity = }, }, Priority = icinga::PriorityNormal, ID = -14995}
idbuf =
lock = {m = 0x7fffffffac10, is_locked = false}

#15 0x00007ffff7bd124a in thread_proxy () from /lib64/libboost_thread-mt.so.1.53.0

No symbol table info available.

#16 0x00007ffff481adc5 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#17 0x00007ffff454828d in clone () from /lib64/libc.so.6

No symbol table info available.
(gdb)

Changesets

2016-05-18 10:53:41 +00:00 by gbeutner 222b901

Fix crash in ConfigItem::Commit

fixes #11804

2016-05-19 07:50:55 +00:00 by gbeutner 9687e27

Fix crash in ConfigItem::Commit

fixes #11804
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented May 18, 2016

Updated by gbeutner on 2016-05-18 10:54:31 +00:00

  • Category set to Configuration
  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.4.9
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented May 18, 2016

Updated by gbeutner on 2016-05-18 10:55:03 +00:00

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

Applied in changeset 222b901.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.