On Wed, 20 Oct 2004 18:19:52 +0530 Karthikeyan wrote:
KN> I am using netsnmp5.2Pre3 release in linux enviornment. I am getting the
KN> following segementation fault when I run the agent (after including
KN> ifXTable support):
KN> 
KN> netsnmp_assert ((void *)0) != _ifXTable_container_get() failed
KN> 
KN> Initially I used configure script by adding ifXTable mib modules such as
KN> follows:
KN> 
KN> ./configure -with-mib-modules="if-mib/ifTable if-mib/ifXTable"

The only way I can see that this would happen would be if the ifXTable init
routine was getting called before the ifTable init. And with that command line,
it shouldn't.

The other workaround would be to enable all the new modules, instead of just
those two:

        ./configure --enable-mfd-rewrites

At any rate, here is a patch that fixes the problem. Since the new tables are
not compiled by default, this fix may not make it into th 5.2 release, but will
be in for 5.2.1.

http://sourceforge.net/tracker/index.php?func=detail&aid=1055036&group_id=12694&atid=456380

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to