Use of Single Session API and --enable-reentrant parameter

2010-11-13 Thread Daniel D Streetman
Hello, Can anyone clarify something for me? When using the Single Session API as described in the README.thread, there is no need for net-snmp to be built with the "--enable-reentrant" parameter (to the configure script), correct? The "--enable-reentrant" parameter looks like it enables locki

Segfault from dual-free in snmp_free_pdu

2010-10-11 Thread Daniel D Streetman
Sorry, my previous email was in HTML instead of plain text, here's a resend to the list in plain text. --- Hello, With net-snmp 5.4.2.1, I'm getting a segfault in snmp_free_pdu() from what appears to me to be a dual-free of the pdu. It's a very intermittent problem that I only have 2 core fil

Segfault from dual-free in snmp_free_pdu

2010-10-11 Thread Daniel D Streetman
Hello,With net-snmp 5.4.2.1, I'm getting a segfault in snmp_free_pdu() from what appears to me to be a dual-free of the pdu.  It's a very intermittent problem that I only have 2 core files from.In snmp_free_pdu() the comment section starting at line 5358 discusses that a dual-free of a pdu with ran

crash in snmp_oid_compare

2010-09-17 Thread Daniel D Streetman
Hello,I'm seeing a segafult in snmpd, with the bt showing it crashed in snmp_oid_compare, although the len parameters look way too big; anyone have any suggestions about where this may be coming from and/or how to fix it?The version is 5.4.1.pre3#0 snmp_oid_compare (in_name1=0xb7f75ffc, len1=13547