Re: Seg fault when querying for the UDP table

Malathi Panyam <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,
          Here is the response for the getnext queries;
1. snmpwalk for "snmp" is fine
2.  snmpgetnext  ....   udpLocalPort.134.56.72.221.123
    snmpgetnext  ....   udpEntry.3
    snmpgetnext  ....   udpEndpointProcess
All the above three requests result in a segfault.

As a side note we dont support the "egp" in our code..could it cause any issues as it stays immediately after "udp" in the MIB-II tree?

Thanks for you help.

Regards,
Malathi




________________________________
From: Dave Shield <[email protected]>
To: Malathi Panyam <[email protected]>
Cc: [email protected]
Sent: Wed, March 31, 2010 12:47:21 AM
Subject: Re: Seg fault when querying for the UDP table

On 30 March 2010 18:25, Malathi Panyam <[email protected]> wrote:
> Yes, it always fails at the same point i. e whenever I make a getsubtree/get
> bulk/table request on the udptable.

> 2.GetSubtree/walk -segfaults with the following results in result table and
> "snmp request timed out" msg
        :
> udpLocalAddress.127.0.0.1.123    127.0.0.1    IpAddress
> udpLocalAddress.134.56.72.221.123    134.56.72.221    IpAddress
        :
> udpLocalPort.127.0.0.1.123    123    Integer
> udpLocalPort.134.56.72.221.123    123    Integer


This shows that the agent is successfully walking the whole of
the udpTable.   The problem arises when it steps off the end
of this table to the *next* instance.

What happens with the following queries
   (restarting the agent if necessary):

    snmpwalk ...   snmp
    snmpgetnext  ....   udpLocalPort.134.56.72.221.123
    snmpgetnext  ....   udpEntry.3
    snmpgetnext  ....   udpEndpointProcess


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
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.