Segfault in snmp_oid_compare ()

2009-05-05 Thread 김성호
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

Segfault in snmp_oid_compare ()

2009-05-06 Thread 김성호
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

Re: Segfault in snmp_oid_compare ()

2009-05-05 Thread Bart Van Assche
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

Re: Segfault in snmp_oid_compare ()

2009-05-06 Thread Dave Shield
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

RE: Segfault in snmp_oid_compare ()

2009-05-06 Thread 김성호
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

RE: Segfault in snmp_oid_compare ()

2009-05-06 Thread 김성호
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

Re: Segfault in snmp_oid_compare ()

2009-05-06 Thread Dave Shield
2009/5/6 김성호 : > lsmCRDPEntry OBJECT-TYPE >INDEX { lsmCRDPTransactionID, lsmCRDPFileName, > lsmCRDPServerID } >::= { lsmCRDPTable 1 } > > LsmCRDPEntry ::= >SEQUENCE { >lsmCRDPTransactionID >

RE: Segfault in snmp_oid_compare ()

2009-05-06 Thread Mike Ayers
> 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