Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Apr 2007 12:03:49 -0800
From:      Royce Williams <royce@alaska.net>
To:        Guillaume <silencer@free-4ever.net>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: snmpd agent 5.3.1_3 segfault
Message-ID:  <4617F925.7040808@alaska.net>
In-Reply-To: <4617AAE9.5030302@free-4ever.net>
References:  <4617AAE9.5030302@free-4ever.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4617F925.7040808>