Tyler ward wrote:
I have recentley installed icinga and it was forking fine untill
yesterday when the icinga deamon kept crashing. It seemed to fix
itself last night when it kept running through the night but has
resumed crashing this morning.
it seems to crash when it checks a host which is down.
I reinstalled it using apt-get yesterday incase I had caused a problem
when compiling it. after doing that it provided a more detailed error
mesage than the original segmentation fault message. It dosent always
give an error mesage when it crashes but when it does it gives the
output listed below.
does anyone have any ideas as to why this might be happening?
https://dev.icinga.org/issues/1703
should match the exact same behavior.
debugged and fixed in git.
next time, please mention that you installed straight up from git.
kind regards,
michael
Thanks in advance
Tyler Ward
Icinga 1.5.0
Copyright (c) 2009-2011 Icinga Development Team (http://www.icinga.org)
Copyright (c) 2009-2011 Nagios Core Development Team and Community
Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-17-2011
License: GPL
Icinga 1.5.0 starting... (PID=2136)
Local time is Tue Jul 12 11:19:07 BST 2011
*** glibc detected *** /usr/local/icinga/bin/icinga: free(): invalid
pointer: 0x b7782918 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0xb7620961]
/lib/i386-linux-gnu/libc.so.6(+0x6d28b)[0xb762228b]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb762541d]
/usr/local/icinga/bin/icinga(clear_volatile_macros_r+0x37)[0x807d8c7]
/usr/local/icinga/bin/icinga(host_notification+0xad)[0x8081e5d]
/usr/local/icinga/bin/icinga(handle_host_state+0x263)[0x805f693]
/usr/local/icinga/bin/icinga(process_host_check_result_3x+0x332)[0x8060b42]
/usr/local/icinga/bin/icinga(handle_async_host_check_result_3x+0x5c5)[0x8061d35]
/usr/local/icinga/bin/icinga(reap_check_results+0x207)[0x8063bb7]
/usr/local/icinga/bin/icinga(handle_timed_event+0x2c1)[0x80743c1]
/usr/local/icinga/bin/icinga(event_execution_loop+0x1ef)[0x8074cdf]
/usr/local/icinga/bin/icinga(main+0x72f)[0x80584df]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0xb75cbe37]
/usr/local/icinga/bin/icinga[0x8057d11]
======= Memory map: ========
08048000-080dd000 r-xp 00000000 08:01 3019242
/usr/local/icinga/bin/icinga
080dd000-080de000 r--p 00094000 08:01 3019242
/usr/local/icinga/bin/icinga
080de000-080df000 rw-p 00095000 08:01 3019242
/usr/local/icinga/bin/icinga
080df000-080e0000 rw-p 00000000 00:00 0
08c8c000-08cad000 rw-p 00000000 00:00 0 [heap]
b6c00000-b6c21000 rw-p 00000000 00:00 0
b6c21000-b6d00000 ---p 00000000 00:00 0
b6d59000-b6d73000 r-xp 00000000 08:01 6029356
/lib/i386-linux-gnu/libgcc_s.so.1
b6d73000-b6d74000 r--p 00019000 08:01 6029356
/lib/i386-linux-gnu/libgcc_s.so.1
b6d74000-b6d75000 rw-p 0001a000 08:01 6029356
/lib/i386-linux-gnu/libgcc_s.so.1
b6d75000-b6d76000 ---p 00000000 00:00 0
b6d76000-b7576000 rw-p 00000000 00:00 0
b7576000-b7580000 r-xp 00000000 08:01 6029354
/lib/i386-linux-gnu/libnss_files-2.13.so
b7580000-b7581000 r--p 00009000 08:01 6029354
/lib/i386-linux-gnu/libnss_files-2.13.so
b7581000-b7582000 rw-p 0000a000 08:01 6029354
/lib/i386-linux-gnu/libnss_files-2.13.so
b7582000-b758b000 r-xp 00000000 08:01 6029341
/lib/i386-linux-gnu/libnss_nis-2.13.so
b758b000-b758c000 r--p 00008000 08:01 6029341
/lib/i386-linux-gnu/libnss_nis-2.13.so
b758c000-b758d000 rw-p 00009000 08:01 6029341
/lib/i386-linux-gnu/libnss_nis-2.13.so
b758d000-b75a0000 r-xp 00000000 08:01 6029338
/lib/i386-linux-gnu/libnsl-2.13.so
b75a0000-b75a1000 r--p 00012000 08:01 6029338
/lib/i386-linux-gnu/libnsl-2.13.so
b75a1000-b75a2000 rw-p 00013000 08:01 6029338
/lib/i386-linux-gnu/libnsl-2.13.so
b75a2000-b75a4000 rw-p 00000000 00:00 0
b75a4000-b75aa000 r-xp 00000000 08:01 6029342
/lib/i386-linux-gnu/libnss_compat-2.13.so
b75aa000-b75ab000 r--p 00005000 08:01 6029342
/lib/i386-linux-gnu/libnss_compat-2.13.so
b75ab000-b75ac000 rw-p 00006000 08:01 6029342
/lib/i386-linux-gnu/libnss_compat-2.13.so
b75b4000-b75b5000 rw-p 00000000 00:00 0
b75b5000-b770f000 r-xp 00000000 08:01 6029329
/lib/i386-linux-gnu/libc-2.13.so
b770f000-b7710000 ---p 0015a000 08:01 6029329
/lib/i386-linux-gnu/libc-2.13.so
b7710000-b7712000 r--p 0015a000 08:01 6029329
/lib/i386-linux-gnu/libc-2.13.so
b7712000-b7713000 rw-p 0015c000 08:01 6029329
/lib/i386-linux-gnu/libc-2.13.so
b7713000-b7716000 rw-p 00000000 00:00 0
b7716000-b7718000 r-xp 00000000 08:01 6029349
/lib/i386-linux-gnu/libdl-2.13.so
b7718000-b7719000 r--p 00001000 08:01 6029349
/lib/i386-linux-gnu/libdl-2.13.so
b7719000-b771a000 rw-p 00002000 08:01 6029349
/lib/i386-linux-gnu/libdl-2.13.so
b771a000-b771b000 rw-p 00000000 00:00 0
b771b000-b7730000 r-xp 00000000 08:01 6029347
/lib/i386-linux-gnu/libpthread- 2.13.so
b7730000-b7731000 r--p 00015000 08:01 6029347
/lib/i386-linux-gnu/libpthread-2.13.so
b7731000-b7732000 rw-p 00016000 08:01 6029347
/lib/i386-linux-gnu/libpthread-2.13.so
b7732000-b7734000 rw-p 00000000 00:00 0
b7734000-b7758000 r-xp 00000000 08:01 6029351
/lib/i386-linux-gnu/libm-2.13.so
b7758000-b7759000 r--p 00023000 08:01 6029351
/lib/i386-linux-gnu/libm-2.13.so
b7759000-b775a000 rw-p 00024000 08:01 6029351
/lib/i386-linux-gnu/libm-2.13.so
b7761000-b7764000 rw-p 00000000 00:00 0
b7764000-b7765000 r-xp 00000000 00:00 0 [vdso]
b7765000-b7781000 r-xp 00000000 08:01 6029352
/lib/i386-linux-gnu/ld-2.13.so
b7781000-b7782000 r--p 0001b000 08:01 6029352
/lib/i386-linux-gnu/ld-2.13.so
b7782000-b7783000 rw-p 0001c000 08:01 6029352
/lib/i386-linux-gnu/ld-2.13.so
bfe7a000-bfe9b000 rw-p 00000000 00:00 0 [stack]
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedr...@univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Icinga Core& IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users