Date: Fri, 6 Jul 2007 01:55:32 GMT From: Scott <freebsd-lists-1@thismonkey.com> To: freebsd-gnats-submit@FreeBSD.org Subject: sparc64/114349: When executing snmpd it immediately stops with a segmentation fault in disman/event/mteObjects.c Message-ID: <200707060155.l661tWoP016353@www.freebsd.org> Resent-Message-ID: <200707060200.l6620ARa040987@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114349 >Category: sparc64 >Synopsis: When executing snmpd it immediately stops with a segmentation fault in disman/event/mteObjects.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-sparc64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 06 02:00:10 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Scott >Release: FreeBSD 6.2-STABLE >Organization: >Environment: FreeBSD server-02.thismonkey.com 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Thu Jun 7 11:49:55 UTC 2007 root@edmunds.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: When executing /usr/local/sbin/snmpd -f -a -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf the daemo n immediately stops with a segmentation fault. I have compiled with WITH_DEBUG=YES, and run the deamon under the gdb debugger: [begin cut-and-paste] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-marcel-freebsd"... (gdb) run -f -a -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf Starting program: /usr/local/sbin/snmpd -f -a -p /var/run/snmpd.pid -c /usr/local/share/snmp/snmpd.conf Program received signal SIGSEGV, Segmentation fault. 0x0000000040408320 in mteObjects_createEntry (owner=0x40425fb0 "_snmpd", oname=0x40425fb8 "_triggerFire", index=2, flags=20) at disman/event/mteObjects.c:164 164 row->oid_index.oids[row->oid_index.len]++; (gdb) bt #0 0x0000000040408320 in mteObjects_createEntry (owner=0x40425fb0 "_snmpd", oname=0x40425fb8 "_triggerFire", index=2, flags=20) at disman/event/mteObjects.c:164 #1 0x00000000404084a0 in mteObjects_addOID (owner=0x40425fb0 "_snmpd", oname=0x40425fb8 "_triggerFire", index=2, oid_name_buf=0x40425fe0 ".1.3.6.1.2.1.88.2.1.2", wild=0) at disman/event/mteObjects.c:207 #2 0x0000000040407d38 in _init_default_mteObject (oname=0x40425fb8 "_triggerFire", object=0x40425fe0 ".1.3.6.1.2.1.88.2.1.2", index=2, wcard=0) at disman/event/mteObjects.c:50 #3 0x0000000040407e28 in _init_default_mteObject_lists (majorID=0, minorID=0, serverargs=0x0, clientarg=0x0) at disman/event/mteObjects.c:67 #4 0x00000000409ad43c in snmp_call_callbacks (major=0, minor=0, caller_arg=0x0) at callback.c:326 #5 0x0000000040998a0c in read_configs () at read_config.c:860 #6 0x000000004096094c in init_snmp (type=0x1078c8 "snmpd") at snmp_api.c:839 #7 0x00000000001052c4 in main (argc=7, argv=0x7fdffffeb98) at snmpd.c:906 [end cut-and-paste] The snmpd.conf file is: [begin cut-and-paste] syslocation "somewhere" syscontact bit-bucket@thismonkey.com sysservices 76 rocommunity hidden rwcommunity hidden trap2sink mail-01 public [end cut-and-paste] >How-To-Repeat: start snmpd, either by hand with "/usr/local/sbin/snmpd -f -a -p /var/run/snmpd.pid -c /usr/local/share/snmp/s nmpd.conf" or with "/usr/local/etc/rc.d/snmpd start" >Fix: Not known. >Release-Note: >Audit-Trail: >Unformatted: X-REMOTE_ADDR-Is-Open-Proxy: Maybe X-Send-Pr-Version: www-3.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707060155.l661tWoP016353>