Re: mtb and snmpwalk problems (bugs?)

2004-12-06 Thread P K
Hi, > > In this particular case, what you want to do is to set a flag to let the > > interface code know that you have removed a row: > > > > rowreq_ctx->rowreq_flags |= MFD_ROW_DELETED; > > But there is no constant MFD_ROW_DELETED defined. Hmm... I'm waiting and waiting but there still

mfd - row creation problem/bug ?

2004-12-06 Thread P K
Hi, I have table that supports row creation. When my commit() function is called and MFD_ROW_CREAT is set I do some ,,aplication specyfic'' acctions. I don't touch cache, container or so. My problem is that newly created row is not in snmpwalk result befere cache is reloaded. Is it mfd bug or i s

mfd - one more bug

2004-12-02 Thread P K
Hi, I have another bug in code generated by mfd. Compile and install memleakTable (attached to my leeter about memleak in mfd). Then run: [EMAIL PROTECTED]:snmp/memleak% snmpwalk localhost memleakTable MEMLEAK-MIB::memleakName."0123456789abcde" = STRING: "0123456789abcde" MEMLEAK-MIB::memleakValA.

Re: mfd and memleak

2004-11-30 Thread P K
On Mon, 29 Nov 2004 12:19:50 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Mon, 29 Nov 2004 13:08:17 +0100 P wrote: > PK> I've implemented some tables using mfd and there is memory leak. Leak > PK> occurs when I do snmpwalk on that table. I'm allmost sure, that bug is > PK> somewhere i

Re: mtb and snmpwalk problems (bugs?)

2004-11-30 Thread P K
On Mon, 29 Nov 2004 12:50:53 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Thu, 25 Nov 2004 08:20:03 +0100 P wrote: > PK> > PK> 2) I got some sigsev's after deleting table row. I've changed > PK> > > PK> > How are you deleting the table row? > PK> > PK> I had turned > PK> OFF ,,dont u

mfd and memleak

2004-11-29 Thread P K
Hi, I've implemented some tables using mfd and there is memory leak. Leak occurs when I do snmpwalk on that table. I'm allmost sure, that bug is somewhere in generated code. When I do 'snmpwalk -On localhost oneIntegerFieldFromTable' leak is about 16bytes per one received row. Same on whole table g

Re: mtb and snmpwalk problems (bugs?)

2004-11-24 Thread P K
On Wed, 24 Nov 2004 17:56:15 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Wed, 24 Nov 2004 10:00:50 +0100 P wrote: > PK> 2) I got some sigsev's after deleting table row. I've changed > > How are you deleting the table row? in _commit function I call some system functions to remove d

Re: mtb and snmpwalk problems (bugs?)

2004-11-24 Thread P K
> PK> 2) snmpwalk crash. When I run snmpwalk -On myTable it works fine. > PK> Where I run "snmpwalk myTable" it does not print anything, only crash > PK> with sigsev. "snmpwalk ifTable" works. When I use some older snmpwalk > PK> (5.0.8 or so) it works also with myTable (,,myTable'' is table define

Re: mtb and snmpwalk problems (bugs?)

2004-11-24 Thread P K
On Wed, 17 Nov 2004 12:55:34 -0500, Coders Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 16 Nov 2004 13:29:30 +0100 P wrote: > PK> 1) I wrote some mib and then generated code using mib2c with mfd. > > Aha, my first victim! :) So there is rest of the story:

Re: mtb and snmpwalk problems (bugs?)

2004-11-24 Thread P K
On Wed, 24 Nov 2004 09:57:44 +0100, P K <[EMAIL PROTECTED]> wrote: > On Wed, 17 Nov 2004 12:55:34 -0500, Coders Robert Story > <[EMAIL PROTECTED]> wrote: > > On Tue, 16 Nov 2004 13:29:30 +0100 P wrote: > > PK> 1) I wrote some mib and then generated code using mib2

mtb and snmpwalk problems (bugs?)

2004-11-16 Thread P K
Hi, I'm using net-snmp-5.2.rc3. 1) I wrote some mib and then generated code using mib2c with mfd. In generated code there is no xyzTable_undo_setup function, but *interface.c assumes it's defined. Same with xyzTable_undo_cleanup fucntion. Same happes when I generate code for ifTable so problem is n

ifTable implementations and isdn

2004-11-09 Thread P K
Hi, I'm going to imlpement isdn4linux support in net-snmp (RFC 2127 and friends). To do this, I have to implement ifStack (RFC1573). So, I need to add some "fake" interfaces in ifTable. And there is my problem. There are 3 implementations of ifTable and I'm unsure which I should use. There are: mi