Page 1 of 1

[Nagios-devel] Status.cgi malloc() error

Posted: Mon Nov 16, 2009 9:52 am
by Guest
Hello .

I am new to the nagios-devel list , and I am sorry if I am asking about things already discussed ,
but I am having an issue that is giving me grief and could not get a solution on any other place .
I tried the nagios users list and googled this several times , but the issue is repeating .

I have nagios 3.0.6 from source complied on SLES 10.2 (i586) with
glibc-2.4-31.58 ,apache2-2.2.3-16.19 and the kernel is 2.6.16.60-0.33-bigsmp .


[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] *** glibc detected
*** /usr/local/nagios/sbin/status.cgi: malloc(): memory corruption (fast): 0x080a1
420 ***
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] ======= Backtrace: =========
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] /lib/libc.so.6[0xb7ee6a61]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] /lib/libc.so.6[0xb7ee8fc0]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] /lib/libc.so.6(malloc+0x86)[0xb7eea3b6]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] /lib/libc.so.6(__strdup+0x30)[0xb7eece70]
[Sun Nov 15 09:02:09 2009] [error] [client
xx.xx.xx.xxx] /usr/local/nagios/sbin/status.cgi[0x8073069]
[Sun Nov 15 09:02:09 2009] [error] [client
xx.xx.xx.xxx] /usr/local/nagios/sbin/status.cgi[0x80580ce]
[Sun Nov 15 09:02:09 2009] [error] [client
xx.xx.xx.xxx] /usr/local/nagios/sbin/status.cgi[0x8054237]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] /lib/libc.so.6(__libc_start_main+0xdc)
[0xb7e988ac]
[Sun Nov 15 09:02:09 2009] [error] [client
xx.xx.xx.xxx] /usr/local/nagios/sbin/status.cgi[0x8049061]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] ======= Memory map: ========
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] 08048000-08080000 r-xp 00000000 fd:01
3867516 /usr/local/nagios/sbin/status.cgi
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] 08080000-08081000 rw-p 00038000 fd:01
3867516 /usr/local/nagios/sbin/status.cgi
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] 08081000-08589000 rw-p 08081000 00:00 0
[heap]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7800000-b7821000 rw-p b7800000 00:00 0
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7821000-b7900000 ---p b7821000 00:00 0
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b79d0000-b79da000 r-xp 00000000 fd:02
852044 /lib/libgcc_s.so.1
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b79da000-b79db000 rw-p 00009000 fd:02
852044 /lib/libgcc_s.so.1
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b79db000-b7e82000 r--p 00000000 fd:01
3868389 /usr/local/nagios/var/status.dat
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7e82000-b7e83000 rw-p b7e82000 00:00 0
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7e83000-b7fa9000 r-xp 00000000 fd:02
851987 /lib/libc-2.4.so
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fa9000-b7fab000 r--p 00125000 fd:02
851987 /lib/libc-2.4.so
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fab000-b7fad000 rw-p 00127000 fd:02
851987 /lib/libc-2.4.so
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fad000-b7fb0000 rw-p b7fad000 00:00 0
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fc0000-b7fc1000 rw-p b7fc0000 00:00 0
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fc1000-b7fdb000 r-xp 00000000 fd:02
854360 /lib/ld-2.4.so
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] b7fdb000-b7fdd000 rw-p 0001a000 fd:02
854360 /lib/ld-2.4.so
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] bf8ce000-bf8e4000 rw-p bf8ce000 00:00 0
[stack]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] ffffe000-fffff000 ---p 00000000 00:00 0
[vdso]
[Sun Nov 15 09:02:09 2009] [error] [client xx.xx.xx.xxx] Premature end of script headers: status.cgi
[Sun Nov 15 09:46:10 2009] [error] [client xx.xx.xx.xxx] *** glibc detected
*** /usr/local/nagios/sbin/status.cgi: malloc(): memory corruption (fast): 0x080
9b180 ***, referer: http://nagios.mydomain.com/

Any ideas ?

Thanks
--
Assaf Flatto




IM

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]