Hi,

After inserting the kernel modules to handle sensors on my linux 2.4.27 system (ala lmsensors), it seems that my local snmpd 5.1.1 crashes with a segmentation fault. Is this a known problem? After a few glances at the output, its not obvious why this is happening. I can get snmpd to crash by running a command such as "snmpwalk -v 1 -c public localhost ." snmpd does not appear to crash when walking near the lmsensors data...it just consistently crashes at another random spot through the snmpwalk. If I turn debugging on in snmpd (i.e. "snmpd -D -f"), I get another consistent random spot that the daemon crashes at.

Here's an abbreviated output when snmpd has debugging turned on (though, its probably quite useless):
...
trace: snmp_call_callbacks(): callback.c, 196:
callback: END calling callbacks for maj=1 min=12 (1 called)
trace: netsnmp_add_varbind_to_cache(): snmp_agent.c, 1742:
snmp_agent: tp->start RFC1213-MIB::atIfIndex, tp->end RFC1213-MIB::atPhysAddress,
trace: netsnmp_call_handlers(): agent_handler.c, 424:
handler:calling: main handler bulk_to_next
trace: netsnmp_call_handler(): agent_handler.c, 362:
handler:calling: calling handler bulk_to_next for mode GETNEXT
trace: netsnmp_call_handler(): agent_handler.c, 362:
handler:calling: calling handler old_api for mode GETNEXT
Segmentation fault
inertia:/>


A gdb back trace shows:

(gdb) bt
#0 0x40056e2c in var_atEntry () from /usr/lib/libnetsnmpmibs.so.5
#1 0x4005673c in var_atEntry () from /usr/lib/libnetsnmpmibs.so.5
#2 0x40151bb5 in netsnmp_old_api_helper ()
from /usr/lib/libnetsnmphelpers.so.5
#3 0x40039ee8 in netsnmp_call_handler () from /usr/lib/libnetsnmpagent.so.5
#4 0x4003b30a in netsnmp_call_next_handler ()
from /usr/lib/libnetsnmpagent.so.5
#5 0x4014d4d2 in netsnmp_bulk_to_next_helper ()
from /usr/lib/libnetsnmphelpers.so.5
#6 0x40039ee8 in netsnmp_call_handler () from /usr/lib/libnetsnmpagent.so.5
#7 0x4003a1e8 in netsnmp_call_handlers () from /usr/lib/libnetsnmpagent.so.5
#8 0x40030623 in handle_var_requests () from /usr/lib/libnetsnmpagent.so.5
#9 0x40031036 in handle_getnext_loop () from /usr/lib/libnetsnmpagent.so.5
#10 0x400319f4 in handle_pdu () from /usr/lib/libnetsnmpagent.so.5
#11 0x4003158d in netsnmp_handle_request () from /usr/lib/libnetsnmpagent.so.5
#12 0x4002f43c in handle_snmp_packet () from /usr/lib/libnetsnmpagent.so.5
#13 0x4019eb88 in snmp_create_sess_pdu () from /usr/lib/libnetsnmp.so.5
#14 0x4019fb8b in _sess_read () from /usr/lib/libnetsnmp.so.5
#15 0x401a0209 in snmp_sess_read () from /usr/lib/libnetsnmp.so.5
#16 0x4019f03c in snmp_read () from /usr/lib/libnetsnmp.so.5
#17 0x0804bfe0 in SnmpdCatchRandomSignal ()
#18 0x0804b2c8 in SnmpdCatchRandomSignal ()
#19 0x40261dc6 in __libc_start_main () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#20 0x08049f01 in ?? ()
(gdb)


Any ideas?  Any and all information is greatly appreciated! :-)

Thanks,

  - Armen



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to