Hi,
I have included agentX net-snmp in my application.It was running fine for a
long time. Suddenly I started getting core .Application cored with signal 6
SIGABORT.
Backtrace of core is given below:
(gdb) bt
#0 0x40017410 in ?? ()
#1 0xbfb6c828 in ?? ()
#2 0xbfb6c842 in ?? ()
#3 0xbfb6c800 in ?? ()
#4 0x40123158 in connect () from /lib/tls/libpthread.so.0
#5 0x08165c2f in netsnmp_unix_transport (addr=0xbfb6c840, local=0) at
snmpUnixDomain.c:369
#6 0x08165fe9 in netsnmp_unix_create_tstring (string=0x8473b70
"/var/agentx/master", local=0) at snmpUnixDomain.c:416
#7 0x08161bea in netsnmp_tdomain_transport (str=0x84744a8
"/var/agentx/master", local=0, default_domain=0x82a45eb "tcp")
at snmp_transport.c:357
#8 0x08147cc1 in snmp_sess_open (pss=0xbfb6cd80) at snmp_api.c:1414
#9 0x08147eff in snmp_open_ex (session=0xbfb6cd80, fpre_parse=0xfffffe00,
fparse=0xfffffe00, fpost_parse=0xfffffe00,
fbuild=0xfffffe00, frbuild=0xfffffe00, fcheck=0xfffffe00) at snmp_api.c:924
#10 0x0810d3e6 in subagent_open_master_session () at
mibgroup/agentx/subagent.c:768
#11 0x0810d796 in agentx_reopen_session (clientreg=0, clientarg=0x0) at
mibgroup/agentx/subagent.c:847
#12 0x0810da4f in subagent_startup (majorID=0, minorID=0, serverarg=0x0,
clientarg=0x0) at mibgroup/agentx/subagent.c:107
#13 0x0815daf9 in snmp_call_callbacks (major=0, minor=0, caller_arg=0x0) at
callback.c:323
#14 0x08155fa0 in read_configs () at read_config.c:860
#15 0x0806b7bf in nx_subagent_agentx_init (subagent_idp=0x81ff79c "NAFSubagent",
logfilep=0x81ff782 "/var/log/agentx.log") at SnmpSubAgent.c:43
#16 0x0806b629 in nafSnmpInit () at SnmpTraps.c:28
#17 0x0805fbbb in main (argc=1, argv=0xbfb6d804) at Process.c:79
Any help on resolving this core will be extremely helpfull for me.
Thanks in advance.
Brijesh
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users