row merge error

Joan Landry <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <B6B5ACC096D8924AA1D765231278AAF720FBB225@mbx024-e1-nj-2.exch024.domain.local>
Can anyone tell me what could cause the following error:

netsnmp_assert saved_requests[i] == request failed helpers/row_merge.c:270 netsnmp_row_merge_helper_handler()

I use the following registration:

    /*reg tables ***************************************/
    handler_ptr = netsnmp_create_handler("sysContactTable", sysContactTable_handler);
    if(!handler_ptr)
    {
      TRACE_LOG( TRACE_SNMP, TRACE_INFO, "Memory allocation failed for snmp mib init.");
      return;
    }
    reg = netsnmp_handler_registration_create("sysContactTableChain",
                                   handler_ptr,
                                   sysContactTable_oid,
                                   OID_LENGTH(sysContactTable_oid),
                                   HANDLER_CAN_RWRITE);
    if(reg == NULL)
    {
      netsnmp_handler_free(handler_ptr);
      return;
    }
    table_info = SNMP_MALLOC_TYPEDEF(netsnmp_table_registration_info);
    if(!verifyTableInfo(table_info))
    {
      netsnmp_handler_free(handler_ptr);
      netsnmp_handler_registration_free(reg);
      return;
    }
    netsnmp_table_helper_add_indexes(table_info, ASN_INTEGER,
      /* index: ovnNGSysContactIndex */0);
    table_info->min_column = COLUMN_SYSCONTACTNAME;
    table_info->max_column = COLUMN_SYSCONTACTEMAIL;
    netsnmp_register_table(reg, table_info);
    handler_ptr2 = netsnmp_get_row_merge_handler(reg->rootoid_len + 2);
    if(!handler_ptr2)
    {
      SNMP_FREE(table_info);
      netsnmp_handler_registration_free(reg);
      return;
    }
    netsnmp_inject_handler(reg, handler_ptr2);

Thanks


This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.