[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ha-dev
Subject: [Linux-ha-dev] Adding Node on Solaris 8 crashes with return code (rc=138)
From: "Soffen, Matthew" <msoffen () iso-ne ! com>
Date: 2002-11-22 15:32:24
[Download RAW message or body]
I've been trying it get the Solaris version to a stable state, something
seems to have totally wacked out stuff.
When it is trying to add the 1st host something is causing a stack
corruption on Solaris 8. It is like the jumping back a few lines.
Matt
ha.cf file
---------------------
node solha0
node solha1
nice_failback off
debugfile /var/log/ha-log-dbg
logfile /var/log/ha-log
keepalive 2
deadtime 10
initdead 120
serial /dev/cua/b # Solaris
baud 19200
udpport 694
bcast hme1
Haresource File
----------------------
solha0 10.145.210.8
Run of GDB with no parameters.
Breakpoint 2, add_node (value=0xffbed758 "solha0", nodetype=0) at
config.c:775
775 if (config->nodecount >= MAXNODE || config->nodecount < 0) {
(gdb) n
778 hip = &config->nodes[config->nodecount];
(gdb)
779 memset(hip, 0, sizeof(*hip));
(gdb)
780 config->nodecount = config->nodecount+1;
(gdb)
781 strncpy(hip->status, INITSTATUS, sizeof(hip->status) >
sizeof(INITSTATUS) ? sizeof(INITSTATUS) : sizeof(hip->status));
(gdb)
780 config->nodecount = config->nodecount+1;
(gdb)
781 strncpy(hip->status, INITSTATUS, sizeof(hip->status) >
sizeof(INITSTATUS) ? sizeof(INITSTATUS) : sizeof(hip->status));
(gdb)
780 config->nodecount = config->nodecount+1;
(gdb)
781 strncpy(hip->status, INITSTATUS, sizeof(hip->status) >
sizeof(INITSTATUS) ? sizeof(INITSTATUS) : sizeof(hip->status));
(gdb)
Breakpoint 3, add_node (value=0xffbed758 "solha0", nodetype=0) at
config.c:782
782 strncpy(hip->nodename, value, sizeof(hip->nodename) >
sizeof(value) ? sizeof(value) : sizeof(hip->nodename));
(gdb)
784 hip->has_resources = TRUE;
(gdb)
783 hip->rmt_lastupdate = 0L;
(gdb)
Breakpoint 5, add_node (value=0xffbed758 "solha0", nodetype=0) at
config.c:786
786 hip->local_lastupdate = time_longclock();
(gdb)
788 hip->track.last_seq = NOSEQUENCE;
(gdb)
786 hip->local_lastupdate = time_longclock();
(gdb)
Program received signal SIGSEGV, Segmentation fault.
add_node (value=0xffbed758 "solha0", nodetype=0) at config.c:786
786 hip->local_lastupdate = time_longclock();
Matt Soffen - Lead Application Developer http://www.iso-ne.com/
===============================================
Boss - "My boss says we need some eunuch programmers."
Dilbert- "I think he means UNIX and I already know UNIX."
Boss - "Well, if the company nurse comes by, tell her I said
never mind."
- Dilbert -
===============================================
_______________________________________________________
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