I am using Net-SNMP 5.3.0.1 Agent in Master-Subagent architecture. I created
a subagent and I ran some tests (a walk of the subagent tree every 60
seconds) twice and both the times, the Master Agent coredumped after around
15-20 hours.
Is this a known bug?
(My subagent was okay even after the master agent crashed and the
subagent was trying to reconnect to Master agent as per the desired
functionality.)
Here is the stack trace. Let me know if someone has encountered this issue
and has a fix for it.
The host environment is RedHat Linux 9.0.
Thanks,
Mark
#0 netsnmp_oid_find_prefix (in_name1=0x2f203a43, len1=118,
in_name2=0x6e656761, len2=116) at snmp_api.c:6472
6472 if (in_name1[i] != in_name2[i])
(gdb) where
#0 netsnmp_oid_find_prefix (in_name1=0x2f203a43, len1=118,
in_name2=0x6e656761, len2=116) at snmp_api.c:6472
#1 0x40127125 in netsnmp_add_varbind_to_cache (asp=0x815a798, vbcount=1,
varbind_ptr=0x81817c8, tp=0x8152398) at snmp_agent.c:1862
#2 0x40127888 in netsnmp_reassign_requests (asp=0x815a798) at
snmp_agent.c:2308
#3 0x4012844f in handle_getnext_loop (asp=0x815a798) at snmp_agent.c:2885
#4 0x40127fe9 in check_delayed_request (asp=0x815a798) at snmp_agent.c:2668
#5 0x40127c49 in netsnmp_check_outstanding_agent_requests () at
snmp_agent.c:2563
#6 0x40126111 in netsnmp_remove_delegated_requests_for_session
(sess=0x81838b0) at snmp_agent.c:1433
#7 0x40144931 in close_agentx_session (session=0x81838b0, sessid=-1) at
mibgroup/agentx/master_admin.c:147
#8 0x40145672 in handle_master_agentx_packet (operation=5,
session=0x81838b0, reqid=0, pdu=0x0, magic=0x74) at
mibgroup/agentx/master_admin.c:487
#9 0x4019e326 in _sess_read (sessp=0x825db28, fdset=0x81838b0) at
snmp_api.c:5572
#10 0x4019e8a8 in snmp_sess_read (sessp=0x825db28, fdset=0xbfffd940) at
snmp_api.c:5766
#11 0x4019d7ee in snmp_read (fdset=0xbfffd940) at snmp_api.c:5386
#12 0x0804bf6d in receive () at snmpd.c:1152
#13 0x0804b554 in main (argc=5, argv=0xbfffdb04) at snmpd.c:1001
#14 0x42015704 in __libc_start_main () from /lib/tls/libc.so.6
Thanks,
Mark
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders