|
Hi, The subagent core dumps when a regression test for restarting
master and subagent performed. In snmp_call_callbacks(), scp points is 0x10, a
non-access memory. The following is output of gdb : (line # may not match
office net-snmp src since I added some debug lines). I am on 5.0.9 version. I know this is not supported version
anymore. But, in case, somebody knows the issue, please give me some lights. Also, what is major=#, minor=# for ? Thanks, FT ---- output of gdb ----- #0 0x00b33e7e in snmp_call_callbacks (major=1,
minor=1, caller_arg=0xfeff59e0) at callback.c:135 135
(*(scp->sc_callback)) (major, minor, caller_arg, (gdb) list 130
major, minor)); 131 132
/* 133
* call them 134
*/ 135
(*(scp->sc_callback)) (major, minor, caller_arg, 136
scp->sc_client_arg); 137
count++; 138 } 139 (gdb) where #0 0x00b33e7e in snmp_call_callbacks (major=1,
minor=1, caller_arg=0xfeff59e0) at callback.c:135 #1 0x001f502b in register_mib_reattach_node
(s=0x8414918) at agent_registry.c:678 #2 0x001f5084 in register_mib_reattach () at
agent_registry.c:696 #3 0x007e53c4 in subagent_shutdown (majorID=1,
minorID=0, serverarg=0xfeff5a88, clientarg=0xb35d1c)
at agentx/subagent.c:610 #4 0x00b35dc8 in run_alarms () at snmp_alarm.c:213 #5 0x001ede23 in agent_check_and_process (block=1) at
snmp_agent.c:395 #6 0x0804f958 in main (argc=7, argv=0xfeff9ce4) at
main.c:598 --------------------------------------------- |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
