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 #11582] icinga2 crashes when a command_endpoint is set, but the api feature is not active #4116

Closed
icinga-migration opened this issue Apr 13, 2016 · 4 comments

Comments

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

commented Apr 13, 2016

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

Created by elabedzki on 2016-04-13 15:14:57 +00:00

Assignee: (none)
Status: Resolved (closed on 2016-04-19 07:40:05 +00:00)
Target Version: 2.4.5
Last Update: 2016-04-20 08:16:09 +00:00 (in Redmine)

Icinga Version: v2.4.4-321-gf757393
Backport?: Already backported
Include in Changelog: 1

Hi folks,

[root@4f823a179d7c /]# gdb --args /usr/lib64/icinga2/sbin/icinga2 daemon
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-80.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/lib64/icinga2/sbin/icinga2...Reading symbols from /usr/lib/debug/usr/lib64/icinga2/sbin/icinga2.debug...done.
done.
(gdb) a
Ambiguous command "a": actions, add-auto-load-safe-path, add-auto-load-scripts-directory, add-inferior...
(gdb) r
Starting program: /usr/lib64/icinga2/sbin/icinga2 daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff0c9d700 (LWP 504)]
[New Thread 0x7fffebfff700 (LWP 505)]
[New Thread 0x7fffeb7fe700 (LWP 506)]
[New Thread 0x7fffeaffd700 (LWP 507)]
[New Thread 0x7fffea7fc700 (LWP 508)]
[New Thread 0x7fffe9ffb700 (LWP 509)]
[Thread 0x7fffeaffd700 (LWP 507) exited]
[Thread 0x7fffe9ffb700 (LWP 509) exited]
[Thread 0x7fffea7fc700 (LWP 508) exited]
[Thread 0x7fffeb7fe700 (LWP 506) exited]
[Thread 0x7fffebfff700 (LWP 505) exited]
[Thread 0x7ffff0c9d700 (LWP 504) exited]
process 500 is executing new program: /usr/lib64/icinga2/sbin/icinga2
Missing separate debuginfos, use: debuginfo-install boost-program-options-1.53.0-25.el7.x86_64 boost-regex-1.53.0-25.el7.x86_64 boost-system-1.53.0-25.el7.x86_64 boost-thread-1.53.0-25.el7.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-10.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 libedit-3.0-12.20121213cvs.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libicu-50.1.2-15.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff7fd8700 (LWP 510)]
[New Thread 0x7ffff7f97700 (LWP 511)]
[New Thread 0x7ffff7f56700 (LWP 512)]
[New Thread 0x7ffff7f15700 (LWP 513)]
[New Thread 0x7ffff7ed4700 (LWP 514)]
[New Thread 0x7ffff7e93700 (LWP 515)]
Detaching after fork from child process 516.
Detaching after fork from child process 518.
Detaching after fork from child process 520.
[2016-04-13 14:55:15 +0000] information/cli: Icinga application loader (version: v2.4.4-321-gf757393)
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/icinga2.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/constants.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/itl
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command.conf
[2016-04-13 14:55:15 +0000] information/Utility: Loading library 'libmethods.so'
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-icinga.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/timeperiod.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/command-plugins.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/databases.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/hardware.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/icingacli.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/ipmi.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/network-components.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/operating-system.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/virtualization.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/vmware.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /usr/share/icinga2/include/plugins-contrib.d/web.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/checker.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/mainlog.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/features-enabled/notification.conf
[2016-04-13 14:55:15 +0000] information/Utility: Loading library 'libchecker.so'
[2016-04-13 14:55:15 +0000] information/Utility: Loading library 'libnotification.so'
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/cluster/icinga2a.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/cluster/icinga2b.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/remote/demo.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/checker/additional_services.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/checker/camp.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/checker/hosts.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/checker/services.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/commands.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/downtimes.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/groups.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/notifications.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/satellite.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/templates.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/timeperiods.conf
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /etc/icinga2/zones.d/global-templates/users.conf
[2016-04-13 14:55:15 +0000] information/ConfigItem: Committing config items
[New Thread 0x7ffff7e52700 (LWP 522)]
[New Thread 0x7ffff00b4700 (LWP 523)]
[New Thread 0x7ffff0073700 (LWP 524)]
[New Thread 0x7fffdbdba700 (LWP 525)]
[2016-04-13 14:55:15 +0000] information/config: disk /
[2016-04-13 14:55:15 +0000] information/config: disk
[2016-04-13 14:55:15 +0000] information/config: {"disk_partitions":"/"}
[2016-04-13 14:55:15 +0000] information/config: {}
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'satellite-host' (in /etc/icinga2/zones.d/global-templates/satellite.conf: 25:1-25:41) for type 'Dependency' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'backup-downtime' (in /etc/icinga2/zones.d/global-templates/downtimes.conf: 4:1-4:52) for type 'ScheduledDowntime' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'icinga' (in /etc/icinga2/zones.d/checker/services.conf: 84:1-84:22) for type 'Service' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'load' (in /etc/icinga2/zones.d/checker/services.conf: 92:1-92:20) for type 'Service' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'procs' (in /etc/icinga2/zones.d/checker/services.conf: 105:1-105:21) for type 'Service' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'swap' (in /etc/icinga2/zones.d/checker/services.conf: 113:1-113:20) for type 'Service' does not match anywhere!
[2016-04-13 14:55:15 +0000] warning/ApplyRule: Apply rule 'users' (in /etc/icinga2/zones.d/checker/services.conf: 121:1-121:21) for type 'Service' does not match anywhere!
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 3 Zones.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 FileLogger.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 2 Endpoints.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 154 CheckCommands.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 IcingaApplication.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 2 NotificationCommands.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 37 Notifications.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 6 Hosts.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 3 HostGroups.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 UserGroup.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 3 TimePeriods.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 User.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 47 Services.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 3 ServiceGroups.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 NotificationComponent.
[2016-04-13 14:55:15 +0000] information/ConfigItem: Instantiated 1 CheckerComponent.
[2016-04-13 14:55:15 +0000] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[Thread 0x7fffdbdba700 (LWP 525) exited]
[Thread 0x7ffff00b4700 (LWP 523) exited]
[Thread 0x7ffff0073700 (LWP 524) exited]
[Thread 0x7ffff7e52700 (LWP 522) exited]
[2016-04-13 14:55:15 +0000] information/ConfigObject: Restoring program state from file '/var/lib/icinga2/icinga2.state'
[New Thread 0x7fffdbdba700 (LWP 526)]
[New Thread 0x7ffff0073700 (LWP 527)]
[New Thread 0x7ffff00b4700 (LWP 528)]
[New Thread 0x7ffff7e52700 (LWP 529)]
[2016-04-13 14:55:15 +0000] information/ConfigObject: Restored 266 objects. Loaded 0 new objects without state.
[Thread 0x7fffdbdba700 (LWP 526) exited]
[Thread 0x7ffff7e52700 (LWP 529) exited]
[Thread 0x7ffff0073700 (LWP 527) exited]
[Thread 0x7ffff00b4700 (LWP 528) exited]
[2016-04-13 14:55:15 +0000] information/ConfigItem: Triggering Start signal for config items
[New Thread 0x7ffff7e52700 (LWP 530)]
[New Thread 0x7ffff00b4700 (LWP 531)]
[New Thread 0x7ffff0073700 (LWP 532)]
[New Thread 0x7fffdbdba700 (LWP 533)]
[New Thread 0x7fffdbd79700 (LWP 534)]
[2016-04-13 14:55:15 +0000] information/ConfigItem: Activated all objects.
[Thread 0x7ffff7e52700 (LWP 530) exited]
[Thread 0x7ffff0073700 (LWP 532) exited]
[Thread 0x7fffdbdba700 (LWP 533) exited]
[Thread 0x7ffff00b4700 (LWP 531) exited]
[2016-04-13 14:55:15 +0000] information/ConfigCompiler: Compiling config file: /var/lib/icinga2/modified-attributes.conf
[New Thread 0x7fffdbdba700 (LWP 535)]
[2016-04-13 14:55:20 +0000] information/Notification: Sending notification 'demo-host-remote!mail-icingaadmin' for user 'icingaadmin'
[New Thread 0x7ffff0073700 (LWP 536)]
[New Thread 0x7ffff00b4700 (LWP 537)]
[New Thread 0x7ffff7e52700 (LWP 538)]
[New Thread 0x7fffdbd38700 (LWP 539)]
Detaching after fork from child process 540.

...
after a while then...
...

[2016-04-13 15:00:15 +0000] information/ConfigObject: Dumping program state to file '/var/lib/icinga2/icinga2.state'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7f97700 (LWP 511)]
0x00007ffff0779712 in icinga::Checkable::ExecuteCheck (this=0x7fffcc03b6b0) at ../icinga/checkable-check.cpp:480
480                 "' " + "is not connected to '" + Endpoint::GetLocalEndpoint()->GetName() + "'");
Missing separate debuginfos, use: debuginfo-install boost-program-options-1.53.0-25.el7.x86_64 boost-regex-1.53.0-25.el7.x86_64 boost-system-1.53.0-25.el7.x86_64 boost-thread-1.53.0-25.el7.x86_64 glibc-2.17-106.el7_2.4.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-10.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 libedit-3.0-12.20121213cvs.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libicu-50.1.2-15.el7.x86_64 libselinux-2.2.2-6.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 ncurses-libs-5.9-13.20130511.el7.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 pcre-8.32-15.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64
(gdb) bt

#0  0x00007ffff0779712 in icinga::Checkable::ExecuteCheck (this=0x7fffcc03b6b0) at ../icinga/checkable-check.cpp:480
#1  0x00007ffff00e6da2 in icinga::CheckerComponent::ExecuteCheckHelper (this=0x7fffcc034fe0, checkable=...) at ../checker/checkercomponent.cpp:200
#2  0x00007ffff7193a98 in operator() (this=0x7ffff7f96930) at /usr/include/boost/function/function_template.hpp:767
#3  icinga::ThreadPool::WorkerThread::ThreadProc (this=0x7ffff7448bf0 , queue=...) at ../base/threadpool.cpp:138
#4  0x00007ffff7bd124a in thread_proxy () from /lib64/libboost_thread-mt.so.1.53.0
#5  0x00007ffff480fdc5 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff453d28d in clone () from /lib64/libc.so.6

(gdb) p *this
warning: RTTI symbol not found for class 'icinga::Service'
$1 = warning: RTTI symbol not found for class 'icinga::Service'

{<(anonymous namespace)::ObjectImplicinga::Checkable> = {<(anonymous namespace)::CustomVarObject> = {<(anonymous namespace)::ObjectImplicinga::CustomVarObject> = {<(anonymous namespace)::ConfigObject> = {}, m_Vars = {px = 0x7fffcc02fad0}, static OnVarsChanged = }, static TypeInstance = }, m_CheckTimeout = {m_Value = {which_ = 0,
storage_ = {<boost::detail::aligned_storage::aligned_storage_imp<8ul, 8ul>> = {data_ = {buf = "\000\000\000\000\000\000\000", align_ = {}}}, static size = ,
static alignment = }}}, m_CommandEndpointRaw = {static NPos = , m_Data = "icinga2b"}, m_CheckCommandRaw = {static NPos = , m_Data = "load"},
m_IconImageAlt = {static NPos = , m_Data = ""}, m_IconImage = {static NPos = , m_Data = ""}, m_ActionUrl = {static NPos = , m_Data = ""}, m_NotesUrl = {
static NPos = , m_Data = ""}, m_Notes = {static NPos = , m_Data = ""}, m_CheckPeriodRaw = {static NPos = , m_Data = ""}, m_EventCommandRaw = {
static NPos = , m_Data = ""}, m_LastHardStateChange = 1460557393.0536151, m_FlappingLastChange = 0, m_AcknowledgementExpiry = 0, m_LastStateUnreachable = 0,
m_LastStateChange = 1460557393.0536151, m_FlappingThreshold = 30, m_NextCheck = 1460559675.7499998, m_CheckInterval = 60, m_RetryInterval = 30, m_LastCheckResult = {px = 0x0}, m_CheckAttempt = 1,
m_FlappingNegative = 0, m_FlappingPositive = 0, m_AcknowledgementRaw = 0, m_MaxCheckAttempts = 3, m_LastHardStateRaw = (anonymous namespace)::ServiceUnknown,
m_LastStateRaw = (anonymous namespace)::ServiceUnknown, m_StateRaw = (anonymous namespace)::ServiceUnknown, m_LastStateType = (anonymous namespace)::StateTypeSoft,
m_StateType = (anonymous namespace)::StateTypeSoft, m_EnablePerfdata = true, m_ForceNextNotification = false, m_ForceNextCheck = false, m_LastInDowntime = false, m_LastReachable = false,
m_EnableFlapping = false, m_EnableNotifications = true, m_EnableActiveChecks = true, m_EnableEventHandler = true, m_Volatile = false, m_EnablePassiveChecks = true,
static OnCheckTimeoutChanged = , static OnCommandEndpointRawChanged = , static OnCheckCommandRawChanged = , static OnIconImageAltChanged = ,
static OnIconImageChanged = , static OnActionUrlChanged = , static OnNotesUrlChanged = , static OnNotesChanged = ,
static OnCheckPeriodRawChanged = , static OnEventCommandRawChanged = , static OnLastHardStateChangeChanged = ,
static OnFlappingLastChangeChanged = , static OnAcknowledgementExpiryChanged = , static OnLastCheckChanged = ,
static OnLastStateUnreachableChanged = , static OnLastStateChangeChanged = , static OnFlappingThresholdChanged = , static OnNextCheckChanged = ,
static OnCheckIntervalChanged = , static OnRetryIntervalChanged = , static OnLastCheckResultChanged = , static OnCheckAttemptChanged = ,
static OnFlappingNegativeChanged = , static OnFlappingPositiveChanged = , static OnAcknowledgementRawChanged = ,
static OnMaxCheckAttemptsChanged = , static OnLastHardStateRawChanged = , static OnLastStateRawChanged = , static OnStateRawChanged = ,
static OnLastStateTypeChanged = , static OnStateTypeChanged = , static OnEnablePerfdataChanged = , static OnFlappingChanged = ,
static OnForceNextNotificationChanged = , static OnForceNextCheckChanged = , static OnLastInDowntimeChanged = , static OnLastReachableChanged = ,
static OnEnableFlappingChanged = , static OnEnableNotificationsChanged = , static OnEnableActiveChecksChanged = ,
static OnEnableEventHandlerChanged = , static OnVolatileChanged = , static OnEnablePassiveChecksChanged = }, static TypeInstance = ,
static OnNewCheckResult = , static OnStateChange = , static OnReachabilityChanged = , static OnNotificationsRequested = ,
static OnNotificationSendStart = , static OnNotificationSentToUser = , static OnNotificationSentToAllUsers = , static OnAcknowledgementSet = ,
static OnAcknowledgementCleared = , static OnNextCheckUpdated = , static OnEventCommandExecuted = , m_CheckableMutex = {m = {_data = {lock = 0,_count = 0,
_owner = 0,nusers = 0,kind = 0,spins = 0,list = {prev = 0x0,next = 0x0}},size = '\000' <repeats 39 times>,_align = 0}}, m_CheckRunning = true, m_SchedulingOffset = 208906425,
m_Downtimes = std::set with 0 elements, m_DowntimeMutex = {m = {_data = {lock = 0,count = 0,owner = 0,nusers = 0,kind = 0,spins = 0,list = {prev = 0x0,_next = 0x0}},
_size = '\000' <repeats 39 times>,align = 0}}, m_Comments = std::set with 0 elements, m_CommentMutex = {m = {data = {lock = 0,count = 0,owner = 0,nusers = 0,kind = 0,_spins = 0,
_list = {prev = 0x0,next = 0x0}},size = '\000' <repeats 39 times>,_align = 0}}, m_Notifications = std::set with 1 elements = {[0] = {px = 0x7fffc80411e0}}, m_NotificationMutex = {m = {
_data = {lock = 0,count = 0,owner = 0,nusers = 0,kind = 0,spins = 0,list = {prev = 0x0,next = 0x0}},size = '\000' <repeats 39 times>,_align = 0}}, m_DependencyMutex = {m = {
_data = {lock = 0,count = 0,owner = 0,nusers = 0,kind = 0,spins = 0,list = {prev = 0x0,next = 0x0}},size = '\000' <repeats 39 times>,_align = 0}},
m_Dependencies = std::set with 0 elements, m_ReverseDependencies = std::set with 0 elements}
(gdb) q
A debugging session is active.

Inferior 1 [process 500] will be killed.

Quit anyway? (y or n) y
[root@4f823a179d7c /]# grep -r command_endpoint /etc/icinga2
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
/etc/icinga2/remote/demo.conf: command_endpoint = host.vars.remote_client
[root@4f823a179d7c /]# icinga2 feature list
Disabled features: api command compatlog debuglog gelf graphite ido-mysql livestatus opentsdb perfdata statusdata syslog
Enabled features: checker mainlog notification
[root@4f823a179d7c /]# icinga2 daemon -V
icinga2 - The Icinga 2 network monitoring daemon (version: v2.4.4-321-gf757393)

Copyright © 2012-2016 Icinga Development Team (https://www.icinga.org/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
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: CentOS Linux
Platform version: 7 (Core)
Kernel: Linux
Kernel version: 3.19.0-28-generic
Architecture: x86_64
[root@4f823a179d7c /]#

Best Enrico

Changesets

2016-04-19 07:37:04 +00:00 by gbeutner c6a015e

Fix crash in Checkable::ExecuteCheck

fixes #11582

2016-04-20 08:09:38 +00:00 by gbeutner d4b5ada

Fix crash in Checkable::ExecuteCheck

fixes #11582
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 13, 2016

Updated by gbeutner on 2016-04-13 15:17:12 +00:00

  • Subject changed from icinga2 crashes when a endpoint is configured, but the api feature is not active to icinga2 crashes when a command_endpoint is set, but the api feature is not active
  • Description updated
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 14, 2016

Updated by mfriedrich on 2016-04-14 09:02:07 +00:00

  • Target Version set to 2.4.5
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 19, 2016

Updated by gbeutner on 2016-04-19 07:40:05 +00:00

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

Applied in changeset c6a015e.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Apr 20, 2016

Updated by gbeutner on 2016-04-20 08:16:09 +00:00

  • Backport? changed from Not yet backported to Already backported

@icinga-migration icinga-migration added this to the 2.4.5 milestone Jan 17, 2017

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.