[tkined] Strange trap receiving behaviour (follow-up)

Terrance K W Lai (kwlai@clp.com.hk)
Thu, 29 Jul 1999 17:14:10 +0800 (HKT)

Dear all,

I still cannot fixed the problem. What I have done are
1) Uses RedHat 5.2 running kernel 2.0.36.
2) Upgraded tcl from 8.0.4 to 8.0.5.
However, the problem still around which causes tkined to either
1) core dump or
2) Tnm lost connection to tkined and the "SNMP monitor" quits

Then I thought if it is the problem of a complex map but it proved to be
wrong even though I make a map with 3 nodes only.

Lastly, I printout out the stack trace as
(gdb) where
#0 0x401fb8f6 in chunk_free (ar_ptr=0x40250420, p=0x81602b8) at malloc.c:2945
#1 0x401fb7c1 in __libc_free (mem=0x81602c0) at malloc.c:2872
#2 0x400f0cde in Tcl_DStringFree ()
#3 0x40269065 in receive ()
#4 0x400deee9 in Tcl_NotifyChannel ()
#5 0x400f9155 in FileHandlerEventProc ()
#6 0x400e770e in Tcl_ServiceEvent ()
#7 0x400e79f7 in Tcl_DoOneEvent ()
#8 0x4002a96c in Tk_MainLoop ()
#9 0x40033ae6 in Tk_Main ()
#10 0x80486e1 in main ()

Would anyone sign any light one me? Thanks very much.
Terrance

---------- Last message ----------
Date: Fri, 9 Jul 1999 09:09:36 +0800 (HKT)
From: Terrance K W Lai <kwlai@clp.com.hk>
To: tkined@ibr.cs.tu-bs.de
Subject: Strange trap receiving behaviour

Dear all,

I have a system running Caldera OpenLinux 2.2 and scotty 2.1.10. The
behaviour of the monitoring strange that it differs when I am using root
or an individual user account. Both straps and ntping had been setting
with SUID.

1) When using root account and receiving trap, the following abnormal exit
dumps

[root@mgr /root]# unmatched open brace in list
while executing
"foreach comp $list {
if {[ined type $comp] == "NODE"} {
set lid [ined id $comp]
set lip [GetIpAddress $comp]
set lhost [..."
(procedure "ForeachIpNode" line 5)
invoked from within
"ForeachIpNode id ip host [ined -noupdate retrieve] {
if {$ip == $src} {
set trap [lindex [lindex $vbl 1] 2]
set name "[$s cget -version] Tr..."
(procedure "TrapSinkProc" line 7)
invoked from within
"TrapSinkProc snmp1 165.202.128.12 "{1.3.6.1.2.1.1.3.0 TimeTicks {35d
0:17:31.17}} {1.3.6.1.6.3.1.1.4.1.0 {OBJECT IDENTIFIER} IF-MIB!linkUp}
{1.3.6.1...."
(snmp callback)

-------------------------------------------
When received the following trap and it printed on the SNMP-Monitor Report
window

Thu Jul 08 17:34:27 MEST 1999 SNMPv1 trap from [165.202.128.12]:
sysUpTime.0 = 35d 0:18:03.06
snmpTrapOID.0 = 1.3.6.1.4.1.9999.1.1.0.1
ntTimeStamp = Thu Jul 8 17:33:56 1999
ntErrorMessage = CCED218 Cannot SCPU: A stdby core resource(s) has a
fault
snmpTrapEnterprise.0 = pax

2) No error given out when I am using an individual user account. However,
all traps are received but it does not cause the appropriate icon to
flash.

Anyone have any clues, please shine some light.
Thanks in advance,
Terrance

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.