[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: Re: [Linux-ha-dev] [PATCH] inet_pton support
From: Alan Robertson <alanr () unix ! sh>
Date: 2001-06-25 22:42:00
[Download RAW message or body]
"Soffen, Matthew" wrote:
>
> Yeah.. For some reason its failing when doing:
> #0 0x280aa074 in times () from /usr/lib/libc.so.4
> #1 0x8051db0 in add_node (value=0xbfbfebbc "64.65.195.186", nodetype=0) at
> config.c:683
> #2 0x8051df7 in add_normal_node (value=0xbfbfebbc "64.65.195.186") at
> config.c:694
> #3 0x8051c61 in add_option (option=0xbfbfefbc "node", value=0xbfbfebbc
> "64.65.195.186") at config.c:634
> #4 0x8051568 in parse_config (cfgfile=0x80595a3
> "/usr/local/etc/ha.d/ha.cf", nodename=0xbfbff80c "truffle.soffen.com")
> at config.c:415
> #5 0x8050f0e in init_config (cfgfile=0x80595a3 "/usr/local/etc/ha.d/ha.cf")
> at config.c:122
> #6 0x804f8f1 in main (argc=2, argv=0xbfbff940) at heartbeat.c:3163
> #7 0x804b8fd in _start ()
>
> The line in add_node is
> hip->local_lastupdate = times(NULL);
Either hip is a bad pointer, or the times system call in BSD doesn't allow a
NULL argument (I'm guessing the latter).
-- Alan Robertson
alanr@unix.sh
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.community.tummy.com
http://lists.community.tummy.com/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic