On Tue, Mar 07, 2006 at 11:38:50AM -0500, Jean-Sebastien Morisset wrote:

> Thanks Keith! Attached is the core file. The command used to generate it

The problem here is that 5.3.0.1's definition of netsnmp_session is
incompatible with the one in 5.0.9, against which the seaProxy module
was built.  Specifically, the community name is being overwritten with
the maximum SNMP packet length by the seaProxy code (which intends
instead to set rcvMsgMaxSize), then the _sess_copy function attempts
to memmove from this bogus pointer.  The changes that caused this
appear to have been made in the 5.2 timeframe (5.1.3.1 looks like it's
ok) with the addition of a few new fields to the session.

It's not clear to me whether seaProxy's behaviour is allowed here
(that is, whether netsnmp_session is intended to be an opaque type).
The general Net-SNMP answer seems to be that it's allowed, but the
Solaris answer might be different.  If it's not allowed, the bug is in
Sun's SEA code and we might fix it - I say might because the code has
been Obsolete for a long time.  If the behaviour is allowed, you just
won't be able to use the old SEA stuff unless you rebuild it (once
it's available) against newer Net-SNMP headers.  This would also mean
that Solaris SEA will never (term used loosely) be upgraded past
5.1.x, because the SDK interfaces are classified either Stable or
Evolving - which is effectively the same as Stable - and thus we can't
allow them to be broken in a minor release of Solaris.  I'm
investigating this right now, but the answer isn't going to help you
much immediately anyway.

In general I recommend that you not use SEA anyway, as it's EOF and
has been for some time.  I'd be curious to know what you're getting
from it that you can't get from the standard and add-on Net-SNMP MIBs.

-- 
Keith M Wesolowski              "Sir, we're surrounded!" 
Solaris Kernel Team             "Excellent; we can attack in any direction!" 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to