On Mon, Jan 11, 2010 at 1:37 PM, Fulko Hew <[email protected]> wrote:
> On Mon, Jan 11, 2010 at 11:48 AM, Fulko Hew <[email protected]> wrote: > >> On Mon, Jan 11, 2010 at 11:30 AM, Dave Shield <[email protected] >> > wrote: >> >>> 2010/1/11 Fulko Hew <[email protected]>: >>> >> > ... snip ... > > So the problem is in the handling of ipAddrTable and ipRouteTable... > > now what? > > > >> I'll look at that part of the code while I wait for feedback > > but I'm afraid I'm out of my expertise in Net-SNMP source code >> and/or AIX kernel structures. :-( >> > > For what its worth, here is the debug trace of what I think is the relevant > portion, > (when I did a getnext(ipAddrTable), but I don't know where to look next, or > go from here. > And here is a gdb backtrace (once I got gdb onto the system) to go along with the previous dump. gdb) backtrace #0 0xd0387af0 in write () from /usr/lib/libc.a(shr.o) #1 0xd037eba8 in _xwrite () from /usr/lib/libc.a(shr.o) #2 0xd037d82c in fwrite_unlocked () from /usr/lib/libc.a(shr.o) #3 0xd037dab0 in fwrite_5_4 () from /usr/lib/libc.a(shr.o) #4 0xd0377764 in _doprnt () from /usr/lib/libc.a(shr.o) #5 0xd0375594 in fprintf () from /usr/lib/libc.a(shr.o) #6 0xd0a7370c in log_handler_stdouterr (logh=0x20009948, pri=770849484, str=0x2df23acc "trac\e: ") at snmp_logging.c:986 #7 0xd0a73d10 in snmp_log_string (priority=7, str=0x2df23acc "trac\e: ") at snmp_logging.c:1171 #8 0xd0a73e70 in snmp_vlog (priority=7, format=0xd0aed0cc "%s: ", ap=0x2df23f80 "Ц<") at snmp_logging.c:1237 #9 0xd0a71800 in debugmsg (token=0x2 "", format=0xd0aed0cc "%s: ") at snmp_debug.c:257 #10 0xd0a71864 in debugmsgtoken (token=0x2 "", format=0x2df23acc "trac\e: ") at snmp_debug.c:439 #11 0xd0a54930 in klookup (off=3500555288, target=0x2df24068 "", siz=24) at kernel.c:196 #12 0xd09a9de8 in load_rtentries (pt=0x0) at mibII/var_route.c:885 ... lots of redundant duplicates omitted ... #51108 0xd09a9e08 in load_rtentries (pt=0x0) at mibII/var_route.c:890 #51109 0xd09a9e08 in load_rtentries (pt=0x0) at mibII/var_route.c:890 #51110 0xd09a9e08 in load_rtentries (pt=0x0) at mibII/var_route.c:890 #51111 0xd09aa2f4 in Route_Scan_Reload () at mibII/var_route.c:1077 #51112 0xd09aa454 in var_ipRouteEntry (vp=0x2ff1c4f4, name=0x2ff1c2f4, length=0x2ff1c0f0, exact=0, var_len=0x2ff1c0ec, write_method=0x653a2000) at mibII/var_route.c:498 #51113 0xd0ca09dc in netsnmp_old_api_helper (handler=0x2, reginfo=0x2001bfd8, reqinfo=0x2012d278, requests=0x2012fa68) at old_api.c:291 #51114 0xd0a32ec8 in netsnmp_call_handlers (reginfo=0x2001bfd8, reqinfo=0x2012d278, requests=0x2012fa68) at agent_handler.c:440 #51115 0xd0a38964 in handle_var_requests (asp=0x2012f808) at snmp_agent.c:2611 #51116 0xd0a39f74 in handle_getnext_loop (asp=0x2012f808) at snmp_agent.c:3051 #51117 0xd0a3d2ec in netsnmp_handle_request (asp=0x2012f808, status=0) at snmp_agent.c:3203 #51118 0xd0a3d7dc in handle_snmp_packet (op=2, session=0x2df23acc,reqid=7, pdu=0x2012f808, magic=0x2) at snmp_agent.c:1929 #51119 0xd0aaa340 in _sess_process_packet (sessp=0x2012c788, sp=0x201394c8, isp=0x2012c958, transport=0xd0af30e0, opaque=0x1, olength=538132936, packetptr=0x20158fd8 "0(\002\001", length=42) at snmp_api.c:5604 #51120 0xd0aab9a4 in _sess_read (sessp=0x2012c788, fdset=0x2ff1cb98) at snmp_api.c:6043 #51121 0xd0aac3cc in snmp_sess_read2 (sessp=0x2012c788, fdset=0x2df23acc) at snmp_api.c:6075 #51122 0xd0aac520 in snmp_read2 (fdset=0xd0a71800) at snmp_api.c:5667 #51123 0x100023e4 in main (argc=-264803712, argv=0x20001b98) at snmpd.c:1221
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
