Sorry sending the message just for you Wes, I´ve forgot to fill the other adress.
[]´s ---------- Forwarded Message ----------- From: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]> To: Wes Hardaker <[EMAIL PROTECTED]> Sent: Tue, 27 Sep 2005 11:29:56 -0300 Subject: Re: Agent with multiple tables ---------- Original Message ----------- From: Wes Hardaker <[EMAIL PROTECTED]> To: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]> Cc: net-snmp-coders@lists.sourceforge.net Sent: Mon, 26 Sep 2005 14:27:46 -0700 Subject: Re: Agent with multiple tables > >>>>> On Mon, 26 Sep 2005 18:19:33 -0300, "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]> said: > > Jordan> I´m having problems with my agent that implements two tables > Jordan> (a control table and a result table). But the agents just > Jordan> answer my queries for one table, when I query the other. A > Jordan> segmentation fault is generated. Can anybody have a idea to > Jordan> help me please? > > It sounds like you've used the same registration for both table OIDs I´ve already checked that. I used diferent OIDs for the tables. The control has the prefix "...2.10.1.1" and the other table has "...2.10.1.2". > and didn't change the function names when you copied one init > function to the other? Each module has the apropriate initialize function. I don´t know what´s going on. I´m sorry but I realized that when the tables are filled, they return the correct result, but when the table is empty and I use snmptable or snmpget in a non_existing index, the segmentation fault error still there. Any sugestion. > > -- > Wes Hardaker > Sparta, Inc. ------- End of Original Message ------- ------- End of Forwarded Message ------- Jordan Janeiro Telemídia - PUC-Rio ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders