Hello Thomas!

>Can you please post a gdb backtrace for this crash?

Bellow is bt of crash.

Nice monday,
Igor G.


=================================================================
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1085344384 (LWP 3093)]
0x0808371d in _oid_finish_printing (objid=0x0, objidlen=10, buf=0xbfea558c,
    buf_len=0xbfea5590, out_len=0xbfea5594, allow_realloc=1,
    buf_overflow=0xbfea5598) at mib.c:3931
3931            sprintf(intbuf, "%lu.", *objid++);
(gdb) bt
#0  0x0808371d in _oid_finish_printing (objid=0x0, objidlen=10,
    buf=0xbfea558c, buf_len=0xbfea5590, out_len=0xbfea5594, allow_realloc=1,
    buf_overflow=0xbfea5598) at mib.c:3931
#1  0x08082013 in netsnmp_sprint_realloc_objid (buf=0xbfea5608,
    buf_len=0xbfea560c, out_len=0xbfea5610, allow_realloc=1,
    buf_overflow=0xbfea55d4, objid=0x0, objidlen=11) at mib.c:2925
#2  0x080820fc in sprint_realloc_objid (buf=0xbfea5608, buf_len=0xbfea560c,
    out_len=0xbfea5610, allow_realloc=1, objid=0x0, objidlen=11) at
mib.c:3109
#3  0x0809e32c in debugmsg_oid (token=0x80bf6f9 "snmp_agent", theoid=0x0,
    len=11) at snmp_debug.c:280
#4  0x080609f7 in netsnmp_add_varbind_to_cache (asp=0x93927f8, vbcount=1,
    varbind_ptr=0x94c1db8, tp=0x93e7398) at snmp_agent.c:1894
#5  0x08061165 in netsnmp_reassign_requests (asp=0x93927f8)
    at snmp_agent.c:2285
#6  0x08061b8f in handle_getnext_loop (asp=0x93927f8) at snmp_agent.c:2819
#7  0x080617be in check_delayed_request (asp=0x93927f8) at snmp_agent.c:2602
#8  0x08061497 in netsnmp_check_outstanding_agent_requests ()
    at snmp_agent.c:2497
#9  0x0805fcde in netsnmp_remove_delegated_requests_for_session (
    sess=0x937a998) at snmp_agent.c:1422
#10 0x08076567 in close_agentx_session (session=0x938b568, sessid=-1)
    at mibgroup/agentx/master_admin.c:151
#11 0x08077090 in handle_master_agentx_packet (operation=5,
session=0x938b568,
    reqid=0, pdu=0x0, magic=0xb) at mibgroup/agentx/master_admin.c:471
#12 0x080917f9 in _sess_read (sessp=0x9379648, fdset=0x937aaf0)
    at snmp_api.c:5438
#13 0x08091bc7 in snmp_sess_read (sessp=0x9379648, fdset=0xbfea5940)
    at snmp_api.c:5633
#14 0x08090ed6 in snmp_read (fdset=0xbfea5940) at snmp_api.c:5260
#15 0x0804c179 in receive () at snmpd.c:1308
#16 0x0804b84f in main (argc=6, argv=0xbfea6b64) at snmpd.c:1146
=======================================================================



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to