snmpd agent 5.3.1_3 segfault

Royce Williams royce at
Sat Apr 7 20:03:43 UTC 2007

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:
> .
> 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/
> 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 D. Williams                                - IP Engineering, ACS
personal: [first]                  - PGP: 3FC087DB/1776A531
work: [first.last]         -
"Don't find fault, find a remedy; anybody can complain."  - Henry Ford

More information about the freebsd-sparc64 mailing list