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

test017-syncreplication-refresh segfaults (ITS#3335)



Full_Name: Dieter Kluenter
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.81.95.239)


Running test bdb the script test017 exits with segmentation fault. Following the
last few lines of slapd.1.log

-.-.-.begin slapd.1.log-.-.-.-.-.-.-.-.-
conn=1 op=1 RESULT tag=105 err=0 text=
daemon: activity on 1 descriptors
daemon: activity on: 18r
daemon: read activity on 18
connection_get(18)
connection_get(18): got connid=1
connection_read(18): checking for input on id=1
ber_get_next
ldap_read: want=8, got=7
  0000:  30 05 02 01 03 42 00                               0....B.           
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x081c6c18 ptr=0x081c6c18 end=0x081c6c1d len=5
  0000:  02 01 03 42 00                                     ...B.             
ber_get_next
ldap_read: want=8, got=0

ber_get_next on fd 18 failed errno=0 (Success)
connection_read(18): input error=-2 id=1, closing.
connection_closing: readying conn=1 sd=18 for close
connection_close: deferring conn=1 sd=18
do_unbind
conn=1 op=2 UNBIND
connection_resched: attempting closing conn=1 sd=18
connection_close: conn=1 sd=18
conn=1 fd=18 closed
daemon: select: listen=11 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=11 active_threads=0 tvp=NULL
daemon: shutdown requested and initiated.
daemon: closing 11
slapd shutdown: waiting for 0 threads to terminate
slapd shutdown: initiated
====> bdb_cache_release_all
slapd destroy: freeing system resources.
slapd stopped.
.-.-.-.-end slapd.1.log.-.-.-.-.-.-.-.-.-.-.--

.-.-.-.begin slapd.2.log.-.-.-.-.-.--.-.-.-.-
<= ldap_dn2bv(cn=Replica,dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=replica,dc=example,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Replica,dc=example,dc=com>,
<cn=replica,dc=example,dc=com>
line 39 (rootpw ***)
line 42 (index  objectClass     eq)
index objectClass 0x0004
line 43 (index  cn,sn,uid       pres,eq,sub)
index cn 0x0716
index sn 0x0716
index uid 0x0716
line 45 (sessionlog 1 100)
line 60 (syncrepl rid=1          provider=ldap://localhost:9011/        
updatedn="cn=Replica,dc=example,dc=com"        
binddn="cn=Manager,dc=example,dc=com"         bindmethod=simple      
credentials=secret      searchbase="dc=example,dc=com"         
filter="(objectClass=*)"     attrs="*"        schemachecking=off      scope=sub 
     type=refreshOnly        interval=00:00:00:10)
>>> dnNormalize: <cn=Replica,dc=example,dc=com>
=> ldap_bv2dn(cn=Replica,dc=example,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Replica,dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=replica,dc=example,dc=com)=0 Success
<<< dnNormalize: <cn=replica,dc=example,dc=com>
>>> dnNormalize: <dc=example,dc=com>
=> ldap_bv2dn(dc=example,dc=com,0)
ldap_err2string
<= ldap_bv2dn(dc=example,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=example,dc=com)=0 Success
<<< dnNormalize: <dc=example,dc=com>
free(): invalid pointer 0x40330030!
.-.-.-.-.-.-end slapd.2.log.-.-.-.-.--.---.

-Dieter