Re: Re: Re: RE: about mib2c

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 23/04/07, Reza Salehi <[email protected]> wrote:
>  I did that modification but when I compile and run the code as subagent I
> am getting the
>
> Segmentation Fault Error.
>
> I just did very simple modification in the  the data_set.c example. This
> error happens right before  the
> netsnmp_table_set_multi_add_default_row() function.

If you're getting a SegFault, then it's worth running your subagent
under a debugged to find out *exactly* where it's falling over,
and what the offending value is.

See the Wiki page
   http://www.net-snmp.org/wiki/index.php/Debugger
       for assistance.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.