I am trying to use netSNMP-5.7.2 in Ubuntu-10.04 and Ubuntu-13.10 and I am seeing an issue where snmpd is crashing when I configure it to send V3 INFORM notification with an invalid username or digest.
I am adding the following 'trapsess' to the default snmpd.conf. This works fine if I will set the users credential properly. But if the snmp manager rejects the trap due to wrong user or wrong digest then I am getting a segmentation fault.
trapsess -Ci -v 3 -l authPriv -a SHA -A opennms1_SHA -x AES -X opennms1_AES -u opennms1 192.168.1.34
Here's the stack trace from the coredump.
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/snmpd -Lsd -Lf /dev/null -mALL -u root -g root -I -smux mteTrigger mt'.
Program terminated with signal 11, Segmentation fault.