[Pkg-nagios-devel] Bug#614356: icinga-core: segfaults with event_profiling_enabled=1

Florian Ernst florian_ernst at gmx.net
Wed Jan 4 12:10:16 UTC 2012


found 614356 1.6.1-1
thanks

Package: icinga-core
Version: 1.6.1-1
Followup-For: Bug #614356

Hello Alexander,

thanks for your reply.

I quickly gave it a shot at a local icinga setup and found it just
segfaults as initially reported:

- applied the config changes from icinga.cfg.diff (from initial report)
(- event_profiling_enabled=1 on its own would suffice for triggering)
- /etc/init.d/icinga restart
- wait 10 seconds
- Segfault

- /var/log/icinga/icinga.log attached: segfault after 10 seconds
- /var/log/icinga/icinga.debug attached
- icinga last tries to write status data to a temp file
- /var/cache/icinga/icinga.tmpm6C2OC attached
- apparently some profiling data wrongly leaks into this file

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icinga-core depends on:
ii  icinga-common  1.6.1-1
ii  libc6          2.13-23
ii  libperl5.14    5.14.2-6

icinga-core recommends no packages.

Versions of packages icinga-core suggests:
ii  nagios-nrpe-plugin  2.12-5

-- no debconf information
-------------- next part --------------
[1325677370] INITIAL SERVICE STATE: ipv6.testhost;PING-EXTERNAL;OK;HARD;1;PING OK - Packet loss = 0%, RTA = 39.93 ms
[1325677370] Event loop started...
[1325677380] Caught SIGSEGV, shutting down...
-------------- next part --------------
[1325677380.145038] [064.1] [pid=15926] Making callbacks (type 14)...
[1325677380.145043] [064.2] [pid=15926] Callback #1 (type 14) return code = 0
[1325677380.145048] [064.2] [pid=15926] Callback #2 (type 14) return code = 0
[1325677380.145053] [064.2] [pid=15926] Callback #3 (type 14) return code = 0
[1325677380.145058] [016.1] [pid=15926] Deleted check result file '/var/lib/icinga/spool/checkresults/cu93dtk'
[1325677380.145064] [016.0] [pid=15926] Finished reaping 1 check results
[1325677380.145069] [001.0] [pid=15926] reap_check_results() end
[1325677380.145073] [001.0] [pid=15926] handle_timed_event() end
[1325677380.145078] [001.0] [pid=15926] reschedule_event()
[1325677380.145083] [001.0] [pid=15926] add_event()
[1325677380.145087] [064.1] [pid=15926] Making callbacks (type 8)...
[1325677380.145092] [064.2] [pid=15926] Callback #1 (type 8) return code = 0
[1325677380.145097] [064.2] [pid=15926] Callback #2 (type 8) return code = 0
[1325677380.145102] [064.2] [pid=15926] Callback #3 (type 8) return code = 0
[1325677380.145108] [008.1] [pid=15926] ** Event Check Loop
[1325677380.145118] [008.1] [pid=15926] Next High Priority Event Time: Wed Jan  4 12:43:00 2012
[1325677380.145128] [008.1] [pid=15926] Next Low Priority Event Time:  Wed Jan  4 12:43:08 2012
[1325677380.145133] [008.1] [pid=15926] Current/Max Service Checks: 1/0
[1325677380.145138] [001.0] [pid=15926] handle_timed_event() start
[1325677380.145142] [064.1] [pid=15926] Making callbacks (type 8)...
[1325677380.145147] [064.2] [pid=15926] Callback #1 (type 8) return code = 0
[1325677380.145152] [064.2] [pid=15926] Callback #2 (type 8) return code = 0
[1325677380.145157] [064.2] [pid=15926] Callback #3 (type 8) return code = 0
[1325677380.145166] [008.0] [pid=15926] ** Timed Event ** Type: 8, Run Time: Wed Jan  4 12:43:00 2012
[1325677380.145172] [008.0] [pid=15926] ** Status Data Save Event
[1325677380.145184] [064.1] [pid=15926] Making callbacks (type 25)...
[1325677380.145195] [064.2] [pid=15926] Callback #1 (type 25) return code = 0
[1325677380.145201] [001.0] [pid=15926] save_status_data()
[1325677380.145207] [004.2] [pid=15926] Writing status data to temp file '/var/cache/icinga/icinga.tmpXXXXXX'
[1325677380.145337] [064.1] [pid=15926] Making callbacks (type 9)...
[1325677380.145346] [064.2] [pid=15926] Callback #1 (type 9) return code = 0
[1325677380.145351] [064.2] [pid=15926] Callback #2 (type 9) return code = 0
-------------- next part --------------
########################################
#          ICINGA STATUS FILE
#
# THIS FILE IS AUTOMATICALLY GENERATED
# BY ICINGA.  DO NOT MODIFY THIS FILE!
########################################

info {
	created=1325677380
	version=1.6.1
	}

programstatus {
	modified_host_attributes=1
	modified_service_attributes=1
	icinga_pid=15926
	daemon_mode=1
	program_start=1325677358
	last_command_check=1325677379
	last_log_rotation=0
	enable_notifications=1
	active_service_checks_enabled=1
	passive_service_checks_enabled=1
	active_host_checks_enabled=1
	passive_host_checks_enabled=1
	enable_event_handlers=1
	obsess_over_services=0
	obsess_over_hosts=0
	check_service_freshness=1
	check_host_freshness=0
	enable_flap_detection=1
	enable_failure_prediction=1
	process_performance_data=1
	global_host_event_handler=
	global_service_event_handler=
	next_comment_id=1534
	next_downtime_id=126
	next_event_id=117965
	next_problem_id=55541
	next_notification_id=10833
	total_external_command_buffer_slots=4096
	used_external_command_buffer_slots=0
	high_external_command_buffer_slots=0
	active_scheduled_host_check_stats=1,1,1
	active_ondemand_host_check_stats=0,0,0
	passive_host_check_stats=0,0,0
	active_scheduled_service_check_stats=0,0,0
	active_ondemand_service_check_stats=0,0,0
	passive_service_check_stats=0,0,0
	cached_host_check_stats=0,0,0
	cached_service_check_stats=0,0,0
	external_command_stats=0,0,0
	parallel_host_check_stats=1,1,1
	serial_host_check_stats=0,0,0
	event_profiling_enabled=1
	PROFILE_COUNTER_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20120104/49a8ed2b/attachment.pgp>


More information about the Pkg-nagios-devel mailing list