[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Critical Systems view loading problem
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Critical Systems view loading problem
- From: "Tracy Di Marco White" <gendalia (at) gmail.com>
- Date: Mon, 17 Sep 2007 16:43:54 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ojZMQcObKwzOCDpy12P2Gx9hDDHy2kNdNOMrqQ2A+uU=; b=IT02QfPM6DikMBlHCGUYv9oUvcwCawYiXO3rDNSLEHv3ByTwTMgz68wz/1vRYTUvmbrJERibbwlbUxHqhUCro9GeQUxjvEhTXFtVYBkTdVW/dtzL7IjG0tjWuwkgKmrqZdp0xljwyod1Xt3tdAwepGgbp+wU5LZPl5gd57jrM7c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Upc1dK5GIM5HS5RsocKkpACypQrEKkWteT2BgnVX8oJuzdHUVWQ3xemY0WvRgRAOeusPyL12oJs2izZIWw6JdSBkrAmeTPvz4A4QXEuGXfM8RkEJ76BLaJY779xIXmhxV5AhCd1jbStuQG8d6B5JyJaOId6kUKp19lmzsOy/ebQ=
- References: <7024c8c80709061930w4d15ac91ya3be89f7a6785f5d (at) mail.gmail.com> <20070907093145.GB2735 (at) hswn.dk>
On 9/7/07, Henrik Stoerner <henrik (at) hswn.dk> wrote:
> On Thu, Sep 06, 2007 at 09:30:58PM -0500, Tracy Di Marco White wrote:
> > I'm getting an "Internal Server Error" and the error log shows
> > "Premature end of script headers: hobbit-nkview.sh". My problem seems
> > to be related to a test being yellow right now, and right now being
> > outside of the parameters of when the machine/test combo is critical.
> > If I change the critical time for the event from "|W:0800:1700|" to
> > "||", the critical systems page comes up fine. If I put the time
> > constraints back, the page fails to come up again. It started failing
> > after 1700, although I didn't notice it for about 15 minutes. Is
> > anyone else seeing this problem?
>
> Interesting, it does sound like a bug. Could you send me that line from
> the hobbit-nkview.cfg file ?
So I worked with a co-worker to figure out where the problem is.
In get_nkconfig() in ./lib/loadnkconf.c
/* Go to the next */
handle = rbtNext(rbconf, handle);
if (handle != rbtEnd(rbconf)) {
rbtKeyValue(rbconf, handle, &k1, &k2);
if (strncmp(realkey, ((nkconf_t *)k2)->key,...
here k2 is treated as a pointer to a nkconf_t
but it appears that it is really a 'char *'.
Is what he concluded from our poking with gdb. We haven't gotten
any further in debugging, but hoped this would help to pin down
the problem.
-Tracy