Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

Max <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Follow up .. GDB output:

0  0x006fe285 in memmove () from /lib/libc.so.6
#1  0x00cc1b22 in snmp_set_var_value (vars=0x95d19d0,
    value=0x1 <Address 0x1 out of bounds>, len=10) at snmp_client.c:895
#2  0x00cf1caa in snmp_varlist_add_variable (varlist=0x9583300, name=0x0,
    name_length=0, type=4 '\004', value=0x1 <Address 0x1 out of bounds>, len=10)
    at snmp_api.c:6564
#3  0x0017a88b in schedTable_createEntry (schedOwner=0x1fc438 "snmpd.conf",
    schedName=0xbf89507c "_conf001") at disman/schedule/schedCore.c:468
#4  0x0017aec2 in parse_sched_periodic (token=0xbf895920 "repeat", line=0x0)
    at disman/schedule/schedConf.c:90
#5  0x00d0426b in run_config_handler (lptr=0x9525100, token=0xbf895920 "repeat",
    cptr=0xbf895d27 "30 .1.3.6.1.4.1.1720.21.2.1.1.2.1.1.1 = 1", when=0)
    at read_config.c:507
#6  0x00d051a2 in read_config (filename=0x95986a8 "/etc/snmp/snmpd.conf",
    line_handler=0x94cd398, when=0) at read_config.c:797
#7  0x00d03f91 in read_config_with_type_when (
    filename=0x95986a8 "/etc/snmp/snmpd.conf", type=0x94cd008 "snmpd", when=0)
    at read_config.c:456
#8  0x00d05512 in read_configs_optional (
    optional_config=0x94cd1f0 "/etc/snmp/snmpd.conf", when=0) at
read_config.c:844
#9  0x00d05671 in read_configs () at read_config.c:871
#10 0x00cdfa53 in init_snmp (type=0x804d890 "snmpd") at snmp_api.c:811
#11 0x0804bd3b in main (argc=9, argv=0xbf896434) at snmpd.c:925

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.