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

(ITS#4073) bus error in test035 on Solaris



Full_Name: Pierangelo Masarati
Version: 2.3.9
OS: SunOS
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (131.175.154.56)
Submitted by: ando


On a Solaris box

bash-2.03$ uname -a
SunOS unknown 5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-100

I get bus error from test035 (back-meta); I haven't been able to track it down
yet because I don't have gdb compiled ton support 64 bit.  The test output is

bash-2.03$ ./run test035
Cleaning up test run directory leftover from previous run.
Running ./scripts/test035-meta...
running defines.sh

Starting slapd on TCP/IP port 9011...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Starting slapd on TCP/IP port 9012...
Using ldapsearch to check that slapd is running...
Using ldapadd to populate the database...
Starting slapd on TCP/IP port 9013...
Using ldapsearch to check that slapd is running...
Searching base="o=Example,c=US"...
Modifying database "o=Example,c=US"...
12449 Bus Error - core dumped
Modify failed (255)!
./scripts/test035-meta: kill: no such process

The last portion of the logs (-d -1; just to give a hint of how and where it
fails; I can send full logs if required, unless we can trace the issue
ourselves):

bash-2.03$ tail -20 testrun/slapd.3.log 
  0000:  64 1d 04 19 6f 75 3d 4d  65 74 61 2c 64 63 3d 65   d...ou=Meta,dc=e  
  0010:  78 61 6d 70 6c 65 2c 64  63 3d 63 6f 6d 30 00      xample,dc=com0.   
==> rewrite_context_apply [depth=1] string='ou=Meta,dc=example,dc=com'
==> rewrite_rule_apply rule='(.+,)?ou=Meta,[ ]?dc=example,[ ]?dc=com'
string='ou=Meta,dc=example,dc=com' [1 pass(es)]
==> rewrite_context_apply [depth=1] res={0,'ou=Meta,o=Example,c=US'}
[rw] searchResult: "ou=Meta,dc=example,dc=com" -> "ou=Meta,o=Example,c=US"
>>> dnPrettyNormal: <ou=Meta,o=Example,c=US>
=> ldap_bv2dn(ou=Meta,o=Example,c=US,0)
ldap_err2string
<= ldap_bv2dn(ou=Meta,o=Example,c=US)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(ou=Meta,o=Example,c=US)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(ou=meta,o=example,c=us)=0 Success
<<< dnPrettyNormal: <ou=Meta,o=Example,c=US>, <ou=meta,o=example,c=us>
ber_scanf fmt ({m) ber:
ber_dump: buf=0x1004d8b70 ptr=0x1004d8b92 end=0x1004d8b92 len=0

A less granular log (-d 256) shows

bash-2.03$ tail testrun/slapd.3.log 
conn=2 op=3 MOD attr=objectClass uid
request 4 done
conn=2 op=3 RESULT tag=103 err=0 text=
conn=2 op=4 MOD dn="cn=Added Group,ou=Groups,o=Example,c=US"
conn=2 op=4 MOD attr=objectClass uid
request 5 done
conn=2 op=4 RESULT tag=103 err=0 text=
conn=2 op=5 MOD dn="ou=Meta,o=Example,c=US"
conn=2 op=5 MOD attr=description
request 1 done

The issue is perfectly repeatable.

All remaining tests, including test036 (back-meta concurrency) work fine.

Any suggestions, apart from getting gdb to work for that architecture?

p.