Status.cgi malloc() error

Assaf Flatto assaf.flatto at ssp-intl.com
Mon Nov 16 10:51:56 CET 2009


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 




IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july




More information about the Developers mailing list