Seg fault when initializing default MIB context

James Brokenbek jbrokenbek____celion.com
Tue Apr 8 16:32:22 CEST 2003


I share Mr. Coco's sentiment from his message this weekend: time to
broadcast my ignorance.

Problem: After compiling my own simple v3.5.10c Agent++ agent and two of
the example agents, I find that each one of the three seg faults on line
717 of "List.h" when called from "mib.cpp" line 2645, which is the
addition of the default context inside a Mib object's default
constructor.  The list object's "this" pointer ends up being invalid
(0x1, if you're curious).

Background:  Platform is x86 FreeBSD v4.3.  Compiler is gcc v2.95.3.
Flags are "-D__unix -DGCC -Dsun -D_NO_THREADS -D_NO_SNMPv3".  I also
removed "-lpthreads" from each Makefile.

Now, this is so consistent that I assume I must be committing some
common, simple mistake in the build process, but searching the list
archive hasn't yielded any insight.  Could someone please point out the
error of my ways?

Gratefully,

James Brokenbek
Celion Networks
Richardson, TX USA



More information about the AGENTPP mailing list