From owner-freebsd-sparc64@FreeBSD.ORG Sat Apr 7 20:03:43 2007 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1290D16A403 for ; Sat, 7 Apr 2007 20:03:43 +0000 (UTC) (envelope-from royce@alaska.net) Received: from hermes.acsalaska.net (hermes.acsalaska.net [209.112.173.230]) by mx1.freebsd.org (Postfix) with ESMTP id DD26B13C457 for ; Sat, 7 Apr 2007 20:03:42 +0000 (UTC) (envelope-from royce@alaska.net) Received: from [192.168.254.100] (216-67-8-83-cdsl-rb2.cwc.acsalaska.net [216.67.8.83]) by hermes.acsalaska.net (8.13.8/8.13.8) with ESMTP id l37K3b9V006206; Sat, 7 Apr 2007 12:03:38 -0800 (AKDT) (envelope-from royce@alaska.net) Message-ID: <4617F925.7040808@alaska.net> Date: Sat, 07 Apr 2007 12:03:49 -0800 From: Royce Williams User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Guillaume References: <4617AAE9.5030302@free-4ever.net> In-Reply-To: <4617AAE9.5030302@free-4ever.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ACS-Spam-Status: no X-ACS-Scanned-By: MD 2.58; SA 3.1.7; spamdefang 1.119 Cc: freebsd-sparc64@freebsd.org Subject: Re: snmpd agent 5.3.1_3 segfault X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 20:03:43 -0000 Guillaume wrote, on 4/7/2007 6:30 AM: > Hi, > > I have an snmpd agent installed on FreeBSD 6.2 Sparc64. the version is > 5.3.1_3 everytime I want to start it, I have the error: > Segmentation fault: 11 (core dumped) > > gdb snmpd > (gdb) run -f -Le -C -DALL > > Produce a lot of output and end with theses lines: > Warning: no access control information configured. > It's unlikely this agent can serve any useful purpose in this state. > Run "snmpconf -g basic_setup" to help you configure the snmpd.conf > file for this agent. > trace: snmp_call_callbacks(): callback.c, 321: > callback: calling a callback for maj=0 min=0 > trace: build_oid_noalloc(): mib.c, 3589: > build_oid_noalloc: generated: > .6.95.115.110.109.112.100.12.95.116.114.105.103.103.101.114.70.105.114.101.1 > trace: netsnmp_tdata_add_row(): table_tdata.c, 220: > tdata_add_row: added row (3f2180) > compare:index: compare to > compare:index: result was 0 > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000403c58bc in mteObjects_createEntry () from > /usr/local/lib/libnetsnmpmibs.so.10 > > Does somebody have any clue ? Hello, Guillaume - Part of the error output above seems to indicate that you are missing a valid snmpd.conf -- though I wouldn't expect that to cause a segfault. If you don't have an snmpd.conf, you might try generating one. Are you compiling it yourself, or using a port or package? If the latter, and you have used all of the default options, you might contact the maintainer or file a PR. I'm no debugging expert, but this may not be a sparc64-specific issue, so you might also have better luck on an snmpd-related list. Royce -- Royce D. Williams - IP Engineering, ACS personal: [first]@alaska.net - PGP: 3FC087DB/1776A531 work: [first.last]@acsalaska.net - http://www.tycho.org/royce/ "Don't find fault, find a remedy; anybody can complain." - Henry Ford