Hi Dave,
                    Thanks for the reply, I am running the agent on Linux with 
kernel version 2.6.21.1

Yes, it always fails at the same point i. e whenever I make a getsubtree/get 
bulk/table request on the udptable.
Here are my observations,

I am using the iReasoning MIB browser on windows for these tests.

1. Getbulk request --Segfaults without giving any results

//output on the node
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Turning on AgentX master support.
NET-SNMP version 5.4.2.1
No pgpgin line in /proc/vmstat
No pgpgout line in /proc/vmstat
No pswpin line in /proc/vmstat
No pswpout line in /proc/vmstat
Segmentation fault (core dumped)


2.GetSubtree/walk -segfaults with the following results in result table and 
"snmp request timed out" msg
udpLocalAddress.0.0.0.0.53    0.0.0.0    IpAddress
udpLocalAddress.0.0.0.0.67    0.0.0.0    IpAddress
udpLocalAddress.0.0.0.0.123    0.0.0.0    IpAddress
udpLocalAddress.0.0.0.0.161    0.0.0.0    IpAddress
udpLocalAddress.0.0.0.0.709    0.0.0.0    IpAddress
udpLocalAddress.0.0.0.0.32769    0.0.0.0    IpAddress
udpLocalAddress.127.0.0.1.123    127.0.0.1    IpAddress
udpLocalAddress.134.56.72.221.123    134.56.72.221    IpAddress
udpLocalPort.0.0.0.0.53    53    Integer
udpLocalPort.0.0.0.0.67    67    Integer
udpLocalPort.0.0.0.0.123    123    Integer
udpLocalPort.0.0.0.0.161    161    Integer
udpLocalPort.0.0.0.0.709    709    Integer
udpLocalPort.0.0.0.0.32769    32769    Integer
udpLocalPort.127.0.0.1.123    123    Integer
udpLocalPort.134.56.72.221.123    123    Integer

//output on the node
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (none)
Turning on AgentX master support.
NET-SNMP version 5.4.2.1
No pgpgin line in /proc/vmstat
No pgpgout line in /proc/vmstat
No pswpin line in /proc/vmstat
No pswpout line in /proc/vmstat
Segmentation fault (core dumped)

3. GetTable-wont segfault, but wont give any results and after a while we see 
the message"Failed to connect to SNMP agent" on the browser and the agent 
becomes unresponsive afterwords.


As a side note I would like to mention, these observations are visible only 
when I dont use the "dev/null" when I start snmpd something like 
"/usr/sbin/snmpd -Lo -p /var/run/snmpd.pid -f 
-I-ifTable"
When I use "/usr/sbin/snmpd -Lf /dev/null -p /var/run/snmpd.pid 
-I-ifTable" agent , as we dont see any output, agent simply becomes 
unresponsive.

Please let me know if more details are needed.

Thanks and Regards,
Malathi














________________________________
From: Dave Shield <[email protected]>
To: Malathi Panyam <[email protected]>
Cc: [email protected]
Sent: Tue, March 30, 2010 12:11:25 AM
Subject: Re: Seg fault when querying for the UDP table

On 30 March 2010 01:28, Malathi Panyam <[email protected]> wrote:
>     When I try to query the UDP table using "getsubtree" or "walk" or
> "Table" under MIB-II, I see a segfault on my node and the agent is becoming
> unresponsive. Is this a known issue? or am I missing something obvious..Pl.
> help.
>
> It works fine with other tables under MIB-II and I did not make any changes
> to the Net SNMP code(Net SNMP 5.4.2.1).

What Operating System is the agent running on?
Did you compile this yourself, or is it a vendor-supplied version?

Does it always fail at the same point?
If so, where is this?   What's the last entry that you see?

Dave



      
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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

Reply via email to