[Nagiosplug-devel] Flight 1.4.8, ready for boarding

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Apr 2 07:15:04 CEST 2007


On 01/04/07 10:50 PM, Holger Weiss wrote:
> * Holger Weiss <holger at CIS.FU-Berlin.DE> [2007-03-31 20:53]:
>> However, with all servers I tried, the plugin returns a WARNING state
>> _without_ explaining the problem:
>>
>> | $ ./check_ntp -H time.fu-berlin.de -j 2 -k 3
>> | NTP WARNING: Offset 0.05885159969 secs|offset=0.05885159969 jitter=0.001171
>>
>> This WARNING is issued in jitter_request():
>>
>> | if(! syncsource_found) *status = STATE_WARNING;
>>
>> I'm not familiar with NTP and haven't tracked down whether the plugin
>> does something wrong while checking for the synchronization source
> 
> Just to let you know, this problem is specific to big-endian platforms.
> I don't have a clean fix yet, but I guess it's not a showstopper for a
> new plugins release.

Yup, but this one might be one... Since in only happened once for a
dozen runs at least I guess it's time to learn using core files ;)

$ plugins/check_ntp -H time.fu-berlin.de -j 2 -k 3
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
warning: unable to read server jitter response.
*** glibc detected *** plugins/check_ntp: double free or corruption
(out): 0x0000000000508270 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b61afcd1733]
/lib/libc.so.6(__libc_free+0x84)[0x2b61afcd18b4]
plugins/check_ntp[0x401f3c]
plugins/check_ntp[0x402df6]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b61afc800c4]
plugins/check_ntp[0x401339]
======= Memory map: ========
00400000-00407000 r-xp 00000000 08:02 1696134
 /home/dermoth/DEV/src/nagios-plugins/nagiosplug/plugins/check_ntp
00506000-00507000 rw-p 00006000 08:02 1696134
 /home/dermoth/DEV/src/nagios-plugins/nagiosplug/plugins/check_ntp
00507000-00528000 rw-p 00507000 00:00 0
 [heap]
2b61af799000-2b61af7b5000 r-xp 00000000 08:02 21045
 /lib/ld-2.4.so
2b61af7b5000-2b61af7b9000 rw-p 2b61af7b5000 00:00 0
2b61af8b4000-2b61af8b6000 rw-p 0001b000 08:02 21045
 /lib/ld-2.4.so
2b61af8b6000-2b61af8c9000 r-xp 00000000 08:02 34268
 /lib/libnsl-2.4.so
2b61af8c9000-2b61af9c9000 ---p 00013000 08:02 34268
 /lib/libnsl-2.4.so
2b61af9c9000-2b61af9cb000 rw-p 00013000 08:02 34268
 /lib/libnsl-2.4.so
2b61af9cb000-2b61af9cd000 rw-p 2b61af9cb000 00:00 0
2b61af9cd000-2b61af9de000 r-xp 00000000 08:02 111584
 /lib/libresolv-2.4.so
2b61af9de000-2b61afade000 ---p 00011000 08:02 111584
 /lib/libresolv-2.4.so
2b61afade000-2b61afae0000 rw-p 00011000 08:02 111584
 /lib/libresolv-2.4.so
2b61afae0000-2b61afae2000 rw-p 2b61afae0000 00:00 0
2b61afae2000-2b61afb62000 r-xp 00000000 08:02 30271
 /lib/libm-2.4.so
2b61afb62000-2b61afc61000 ---p 00080000 08:02 30271
 /lib/libm-2.4.so
2b61afc61000-2b61afc63000 rw-p 0007f000 08:02 30271
 /lib/libm-2.4.so
2b61afc63000-2b61afd99000 r-xp 00000000 08:02 21053
 /lib/libc-2.4.so
2b61afd99000-2b61afe99000 ---p 00136000 08:02 21053
 /lib/libc-2.4.so
2b61afe99000-2b61afe9c000 r--p 00136000 08:02 21053
 /lib/libc-2.4.so
2b61afe9c000-2b61afe9e000 rw-p 00139000 08:02 21053
 /lib/libc-2.4.so
2b61afe9e000-2b61afea5000 rw-p 2b61afe9e000 00:00 0
2b61afea5000-2b61afeaf000 r-xp 00000000 08:02 81267
 /lib/libnss_files-2.4.so
2b61afeaf000-2b61affae000 ---p 0000a000 08:02 81267
 /lib/libnss_files-2.4.so
2b61affae000-2b61affb0000 rw-p 00009000 08:02 81267
 /lib/libnss_files-2.4.so
2b61affb0000-2b61affb4000 r-xp 00000000 08:02 81258
 /lib/libnss_dns-2.4.so
2b61affb4000-2b61b00b4000 ---p 00004000 08:02 81258
 /lib/libnss_dns-2.4.so
2b61b00b4000-2b61b00b6000 rw-p 00004000 08:02 81258
 /lib/libnss_dns-2.4.so
2b61b0100000-2b61b0121000 rw-p 2b61b0100000 00:00 0
2b61b0121000-2b61b0200000 ---p 2b61b0121000 00:00 0
2b61b0200000-2b61b020d000 r-xp 00000000 08:02 5424
 /lib/libgcc_s.so.1
2b61b020d000-2b61b030c000 ---p 0000d000 08:02 5424
 /lib/libgcc_s.so.1
2b61b030c000-2b61b030d000 rw-p 0000c000 08:02 5424
 /lib/libgcc_s.so.1
7ffffb2fc000-7ffffb311000 rw-p 7ffffb2fc000 00:00 0
 [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0
 [vdso]
Aborted (core dumped)




More information about the Devel mailing list