Robert,
I found the problem of the error. When I called snmptable with the control
table empty, the agent calls get_first and get_next of the control table and
the get_{first,next} of the result table. In the result table, I missed a line
that didn´t test NULL, so "segmentation fault". Now I´ve got a question, why
the agent calls the get_{first,next} of the result table if the command
snmptable was explicity for the control table?

Best regards,

Jordan Janeiro
Telemídia - PUC-Rio

---------- Original Message -----------
From: Robert Story <[EMAIL PROTECTED]>
To: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]>
Cc: net-snmp-coders@lists.sourceforge.net
Sent: Thu, 13 Oct 2005 18:29:30 -0400
Subject: Re: Problems with tables in the same agent

> On Thu, 13 Oct 2005 08:34:04 -0300 Jordan wrote:
> JJLDS> > The agent segfaults?  What happens if you do snmpgetnext  with
> JJLDS> > multiple varbinds?
> JJLDS> 
> JJLDS>   Yes. The same of snmptable, segmentation fault when the 
> get_{first, JJLDS> next}.
> 
> Can you get a stack trace?
> 
> -- 
> NOTE: messages sent directly to me, instead of the lists, will be deleted
>       unless they are requests for paid consulting services.
> 
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-
> snmp> Archive: 
> <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
> 
> You are lost in a twisty maze of little standards, all different.
------- End of Original Message -------



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to