On Mon, Nov 1, 2010 at 1:15 PM, Bart Van Assche <[email protected]> wrote:
> On Mon, Nov 1, 2010 at 2:13 PM, Leonardo Chiquitto
> <[email protected]> wrote:
>>
>> Hello developers,
>>
>> I'm getting the following crash every time the agent is stopped. This
>> seems to
>> happen only with code from the v5-6-patches branch, not with trunk.
>>
>> #0  __libc_free (mem=0x31) at malloc.c:3710
>> #1  0x00007f1d41403b80 in snmp_free_var_internals (var=0x7f1d423fcac0)
>>    at snmp_api.c:5315
>> #2  0x00007f1d41403bf9 in snmp_free_var (var=0x7f1d423fcac0) at
>> snmp_api.c:5331
>> #3  0x00007f1d41403c2b in snmp_free_varbind (var=<value optimized out>)
>>    at snmp_api.c:5341
>> #4  0x00007f1d41d0c286 in netsnmp_table_registration_info_free (
>>    tri=0x7f1d423fb140) at helpers/table.c:1009
>> #5  0x00007f1d4195a218 in shutdown_sysORTable () at mibII/sysORTable.c:286
>> #6  0x00007f1d419f9d8d in _shutdown_mib_modules (
>>    majorID=<value optimized out>, minorID=<value optimized out>,
>>    serve=<value optimized out>, client=<value optimized out>)
>>    at ../agent/mibgroup/mib_module_shutdown.h:16
>> #7  0x00007f1d4142ded6 in snmp_call_callbacks (major=0, minor=2,
>>    caller_arg=0x0) at callback.c:338
>> #8  0x00007f1d41403f57 in snmp_shutdown (type=<value optimized out>)
>>    at snmp_api.c:898
>> #9  0x00007f1d42155109 in main (argc=<value optimized out>,
>>    argv=<value optimized out>) at snmpd.c:1066
>
> Sorry, but I can't reproduce this.
>
> With which revision did this occur, how was Net-SNMP configured and which
> command-line arguments were passed to snmpd ?

Happens for me on revision 19598. The agent is being started with:

/usr/sbin/snmpd -r -A -LF d /var/log/net-snmpd.log -p /var/run/snmpd.pid

and was configured with:

%configure \
        --with-sys-contact="r...@localhost" \
        --with-mib-modules="misc/ipfwacc \
        ucd-snmp/diskio \
        etherlike-mib rmon-mib \
        ucd-snmp/lmsensorsMib \
        smux \
        ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable \
        ip-mib/ipDefaultRouterTable ip-mib/ipAddressPrefixTable \
        ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable" \
        --with-persistent-directory=/var/lib/net-snmp \
        --with-agentx-socket=%{netsnmp_agentx_socket_dir_fhs}/master \
        --with-sys-location="unknown" \
        --with-logfile=%{netsnmp_logfile} \
        --with-libwrap=%{_prefix} \
        --with-defaults \
        --enable-shared \
        --disable-static \
        --enable-as-needed \
        --without-root-access \
        --enable-local-smux \
        --enable-ipv6 \
        --enable-ucd-snmp-compatibility

Thanks,
Leonardo

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to