I’m using net-snmp-5.4.1 for my program
While I run the program, it crashed while updating the table
Here is my gdb trace
#0 0x00597bda in snmp_oid_compare () from /usr/lib/libnetsnmp.so.15
#1 0x005e4f57 in netsnmp_compare_netsnmp_index () from /usr/lib/libnetsnmp.
so.15
#2 0x005e5d04 in n
I’m using net-snmp-5.4.1 for my program
While I run the program, it crashed while updating the table and crashed
Here is my gdb trace
#0 0x00597bda in snmp_oid_compare () from /usr/lib/libnetsnmp.so.15
#1 0x005e4f57 in netsnmp_compare_netsnmp_index () from /usr/lib/libnetsnmp.
so.15
#2 0x0
2009/5/6 김성호 :
> While I run the program, it crashed while updating the table
Did you already verify your program with the Valgrind tools memcheck,
helgrind and/or drd ?
Bart.
--
The NEW KODAK i700 Series Scanners delive
2009/5/6 김성호 :
> lsmCRDPTable_createEntry(netsnmp_tdata * table_data,
> U64 lsmCRDPTransactionID,
What is the syntax of the lsmCRDPTransactionID MIB object?
Is it Counter64 or what?
> entry->lsmCRDPTransactionID = lsmCRDPTransactionID;
> netsnmp_tdata_row_add_ind
hy it work correctly in normal cases?
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On
Behalf Of Dave Shield
Sent: Wednesday, May 06, 2009 4:19 PM
To: 김성호
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Segfault in snmp_oid_compa
I cheked it with valgrind tool. I couldn't find any
problem with it..
Sungho.
-Original Message-
From: Bart Van Assche [mailto:bart.vanass...@gmail.com]
Sent: Wednesday, May 06, 2009 3:28 PM
To: 김성호
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Segfault in snmp_oid_co
2009/5/6 김성호 :
> lsmCRDPEntry OBJECT-TYPE
>INDEX { lsmCRDPTransactionID, lsmCRDPFileName,
> lsmCRDPServerID }
>::= { lsmCRDPTable 1 }
>
> LsmCRDPEntry ::=
>SEQUENCE {
>lsmCRDPTransactionID
>
> From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
> Sent: Wednesday, May 06, 2009 1:11 AM
> You'll need to define lsmCRDPTransactionID
> as an Unsigned32 (or similar)
If you define it as "OCTET STRING (SIZE (8))" with "DISPLAY-HINT x",
you can get your transactionID displayed as a