[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: RE24 testing call (2.4.17)



Aaron Richton wrote:
On Wed, 10 Jun 2009, Howard Chu wrote:

In frame 5 print *si, *si->si_cookieState, i,
si->si_cookieState->cs_vals[0..i]

OK, no clue here. Your assert is from cs_vals[0] failing syntax validation, but the CSN looks perfectly valid. I have no idea why that would fail...

*si = {
      si_next           = 0xa4c380
      si_be             = 0x45a100
      si_wbe            = 0x45a100
      si_re             = 0x502720
      si_rid            = 11
      si_ridtxt         = "rid=011"
      si_bindconf       = {
          sb_uri              = {
              bv_len = 22U
              bv_val = 0x45d838 "ldap://localhost:9011/";
          }
          sb_version          = 3
          sb_tls              = 0
          sb_method           = 128
          sb_timeout_api      = 3
          sb_timeout_net      = 0
          sb_binddn           = {
              bv_len = 28U
              bv_val = 0x45c528 "cn=manager,dc=example,dc=com"
          }
          sb_cred             = {
              bv_len = 6U
              bv_val = 0x501848 "secret"
          }
          sb_saslmech         = {
              bv_len = 0
              bv_val = (nil)
          }
          sb_secprops         = (nil)
          sb_realm            = {
              bv_len = 0
              bv_val = (nil)
          }
          sb_authcId          = {
              bv_len = 0
              bv_val = (nil)
          }
          sb_authzId          = {
              bv_len = 0
              bv_val = (nil)
          }
          sb_tls_ctx          = (nil)
          sb_tls_cert         = (nil)
          sb_tls_key          = (nil)
          sb_tls_cacert       = (nil)
          sb_tls_cacertdir    = (nil)
          sb_tls_reqcert      = (nil)
          sb_tls_cipher_suite = (nil)
          sb_tls_protocol_min = (nil)
          sb_tls_crlcheck     = (nil)
          sb_tls_do_init      = 0
      }
      si_base           = {
          bv_len = 17U
          bv_val = 0x45d858 "dc=example,dc=com"
      }
      si_logbase        = {
          bv_len = 0
          bv_val = (nil)
      }
      si_filterstr      = {
          bv_len = 15U
          bv_val = 0xa4baf8 "(objectclass=*)"
      }
      si_logfilterstr   = {
          bv_len = 0
          bv_val = (nil)
      }
      si_scope          = 2
      si_attrsonly      = 0
      si_anfile         = (nil)
      si_anlist         = 0x45d7f8
      si_exanlist       = 0x45d818
      si_attrs          = 0xa4bb40
      si_exattrs        = (nil)
      si_allattrs       = 0
      si_allopattrs     = 0
      si_schemachecking = 0
      si_type           = 3
      si_ctype          = 3
      si_interval       = 60
      si_retryinterval  = 0xa4bb10
      si_retrynum_init  = 0xa4bb28
      si_retrynum       = 0xa4bae0
      si_syncCookie     = {
          ctxcsn    = 0xaa4f90
          octet_str = {
              bv_len = 60U
              bv_val = 0x455bf8 "rid=011,sid=001,csn=20090610091923.215407Z#000000#001#000000"
          }
          rid       = 11
          sid       = 1
          numcsns   = 1
          sids      = 0xa3f238
          sc_next   = {
              stqe_next = (nil)
          }
      }
      si_cookieState    = 0xa4c348
      si_cookieAge      = 4
      si_manageDSAit    = 0
      si_slimit         = 0
      si_tlimit         = 0
      si_refreshDelete  = 1
      si_refreshPresent = 0
      si_refreshDone    = 1
      si_syncdata       = 0
      si_logstate       = 0
      si_got            = 263443
      si_msgid          = 2
      si_presentlist    = 0xa8b400
      si_ld             = 0x5066b0
      si_conn           = 0x42dd50
      si_nonpresentlist = {
          lh_first = (nil)
      }
      si_mutex          = {
          __pthread_mutex_flags = {
              __pthread_mutex_flag1   = 4U
              __pthread_mutex_flag2   = '\0'
              __pthread_mutex_ceiling = '\0'
              __pthread_mutex_type    = 0
              __pthread_mutex_magic   = 19800U
          }
          __pthread_mutex_lock  = {
              __pthread_mutex_lock64  = {
                  __pthread_mutex_pad = ""
              }
              __pthread_mutex_lock32  = {
                  __pthread_ownerpid = 0
                  __pthread_lockword = 4278190080U
              }
              __pthread_mutex_owner64 = 4278190080ULL
          }
          __pthread_mutex_data  = 4279502848ULL
      }
}
*si->si_cookieState = {
      cs_mutex = {
          __pthread_mutex_flags = {
              __pthread_mutex_flag1   = 4U
              __pthread_mutex_flag2   = '\0'
              __pthread_mutex_ceiling = '\0'
              __pthread_mutex_type    = 0
              __pthread_mutex_magic   = 19800U
          }
          __pthread_mutex_lock  = {
              __pthread_mutex_lock64  = {
                  __pthread_mutex_pad = ""
              }
              __pthread_mutex_lock32  = {
                  __pthread_ownerpid = 0
                  __pthread_lockword = 0
              }
              __pthread_mutex_owner64 = 0
          }
          __pthread_mutex_data  = 0
      }
      cs_num   = 3
      cs_age   = 5
      cs_ref   = 4
      cs_vals  = 0xaa34f0
      cs_sids  = 0xa97a30
}
i = 0
si->si_cookieState->cs_vals[0] = {
      bv_len = 40U
      bv_val = 0xaa06a8 "20090610091923.215407Z#000000#001#000000"
}

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/