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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

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

Post by Guest »

--001636b145131b2be80478847059
Content-Type: text/plain; charset=ISO-8859-1

Is this for pre-compiled package you downloaded or one you compiled? If you
complied it and its done on exactly same or similar machine and this can be
reproduced than we can investigate further (but I'd ask you to compile
nagios 3.2 as its the latest version). If its for binary package you
downloaded then for such support issues contact your distribution vendor.

On Mon, Nov 16, 2009 at 1:51 AM, Assaf Flatto wrote:

> 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

...[email truncated]...


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