[Nagios-devel] status.cgi: malloc(): memory corruption (fast)

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

[Nagios-devel] status.cgi: malloc(): memory corruption (fast)

Post by Guest »

--_000_02EAC0960BFECB4F9EAEC26B4972EE4471CE26507ETDCHEXBE01int_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I do not know whether this is a developer issue, but anyway I try

I have explored this error, is this error a bug in the cgi's or ...

We have a distributed nagios setup with one master server and 8 slave serve=
r, we monitor 2000+ hosts and 12000+ services, all nagios servers running R=
edHat EL5 and now the master server running nagios 3.0.6 and distributed se=
rvers 3.0.3. We use nrpe 2.10 for client check and nsca 2.7.2 for communic=
ation between the nagios servers with Simple XOR encryption.

The problem was discovered on the master server by the cgi's went blank in =
the browser, the nagios process was running and processing. All distribute=
d server was working. The nagios log show no error but a look into the apac=
he error_log shows:

[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] *** glibc detected *** =
/usr/local/nagios/sbin/status.cgi: malloc(): memory corruption (fast): 0x08=
4104c0 ***
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] =3D=3D=3D=3D=3D=3D=3D B=
acktrace: =3D=3D=3D=3D=3D=3D=3D=3D=3D
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /lib/libc.so.6[0x94e91e=
]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /lib/libc.so.6(__libc_m=
alloc+0x7e)[0x94f35e]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /usr/local/nagios/sbin/=
status.cgi[0x8056b16]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /usr/local/nagios/sbin/=
status.cgi[0x80719fc]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /usr/local/nagios/sbin/=
status.cgi[0x8057c5e]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /usr/local/nagios/sbin/=
status.cgi[0x8054047]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /lib/libc.so.6(__libc_s=
tart_main+0xdc)[0x8fadec]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] /usr/local/nagios/sbin/=
status.cgi[0x8048ec1]
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] =3D=3D=3D=3D=3D=3D=3D M=
emory map: =3D=3D=3D=3D=3D=3D=3D=3D
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00110000-0011b000 r-xp =
00000000 68:03 7987975 /lib/libgcc_s-4.1.2-20080102.so.1
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 0011b000-0011c000 rwxp =
0000a000 68:03 7987975 /lib/libgcc_s-4.1.2-20080102.so.1
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 008c7000-008e1000 r-xp =
00000000 68:03 7987623 /lib/ld-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 008e1000-008e2000 r-xp =
00019000 68:03 7987623 /lib/ld-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 008e2000-008e3000 rwxp =
0001a000 68:03 7987623 /lib/ld-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 008e5000-00a22000 r-xp =
00000000 68:03 7987965 /lib/libc-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a22000-00a24000 r-xp =
0013d000 68:03 7987965 /lib/libc-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a24000-00a25000 rwxp =
0013f000 68:03 7987965 /lib/libc-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a25000-00a28000 rwxp =
00a25000 00:00 0
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a30000-00a43000 r-xp =
00000000 68:03 7987973 /lib/libpthread-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a43000-00a44000 r-xp =
00012000 68:03 7987973 /lib/libpthread-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a44000-00a45000 rwxp =
00013000 68:03 7987973 /lib/libpthread-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00a45000-00a47000 rwxp =
00a45000 00:00 0
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00ae9000-00af0000 r-xp =
00000000 68:03 7987974 /lib/librt-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00af0000-00af1000 r-xp =
00006000 68:03 7987974 /lib/librt-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00af1000-00af2000 rwxp =
00007000 68:03 7987974 /lib/librt-2.5.so
[Fri Dec 19 04:08:39 2008] [error] [client x.x.x.x] 00af4000-00b91000 r-xp =
00000000 68:0

...[email truncated]...


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