Re:Re: strange that trapsess causes Segmentation fault when running

ema <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
when i am using the full trapsess, it won't generate the Segmentation fault


  trapsess -e 0x0102030405 -v 3 -u ema -l authPriv -a MD5 -A password -x DES -X password 192.168.1.100
but using

  trapsess 192.168.1.100

it still the same problem

i compiled the agent from the src
my os is kernel 2.6.24.3-34.fc8, x86_64

the full context of /usr/share/snmp/snmpd.conf:

rwuser ema
rwcommunity public 192.168.1.100
rocommunity public 192.168.1.0/24

trapcommunity public

trapsink 192.168.1.100 public
trap2sink 192.168.1.100 public
informsink 192.168.1.100 public
trapsess 192.168.1.100

authtrapenable 1

syslocation server100
syscontact ema


i will try the patch
Thank you!
Ema

在2008-05-05,"Dave Shield" <[email protected]> 写道:

2008/5/3 ema <[email protected]>:
> in /usr/share/snmp/snmpd.conf, there's a line
>
> trapsess  192.168.1.100
>
> when i running snmpd -d -f -Le
> it will report Segmentation fault, after it sends the coldStart PDU trap to
> trapreceiver ip
>
> but when i comment this line, it work correctly, I don't know why?

I've tried to investigate this problem, but I can't reproduce it.
Did you compile the agent from source, or is this a pre-compiled
binary installation?  What O/S are you using?

What are the full contents of /usr/share/snmp/snmpd.conf ?


> by the way, every time when i start snmpd or snmptrapd
> it will show these message
>
> netsnmp_assert !"registration != duplicate" failed
>  agent_registry.c:535 netsnmp_subtree_load()

Those messages are completely harmless.
But see Official Patch 1805971 for how to shut it up.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.