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

(ITS#4111) upgrading from 2.2.19 -> 2.3.11: crash loading cn=config



Full_Name: Forest Hill
Version: 2.3.11
OS: Mac OS X 10.4.3 8F46
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (68.84.193.212)


I'm upgrading our source base from 2.2.19 to 2.3.11. My changes from the stock
source are minimal, just some schema additions and changes to ldap_config.hin.

I'm getting the following crash when I try to launch slapd. One very strange
thing is that even when I explicitly use -f to make sure that it's only supposed
to be using slapd.conf and not back-config, it still tries to start back-config,
and that's when it dies.

As an experiment, I tried using -f and -F together to get it to migrate the data
from slapd.conf into back-config, but the same crash occurred.

output from slapd -d -1:
<lots of normal expected schema detail output omitted>
slapd startup: initiated.
backend_startup_one: starting "cn=config"
Bus error

the stack looks like this:

Thread 0 Crashed:
0   slapd	_value_add (in slapd) (value.c:78) 0x00001000 (in slapd) + 174896
1   slapd	_attr_merge (in slapd) (attr.c:216) 0x00001000 (in slapd) + 109708
2   slapd	_attr_merge_normalize (in slapd) (attr.c:261) 0x00001000 (in slapd) +
110056
3   slapd	_config_build_attrs (in slapd) (bconfig.c:3871) 0x00001000 (in slapd)
+ 39540
4   slapd	_config_build_entry (in slapd) (bconfig.c:3940) 0x00001000 (in slapd)
+ 40096
5   slapd	_config_back_db_open (in slapd) (bconfig.c:4086) 0x00001000 (in slapd)
+ 41128
6   slapd	_backend_startup_one (in slapd) (backend.c:213) 0x00001000 (in slapd)
+ 119748
7   slapd	_backend_startup (in slapd) (backend.c:303) 0x00001000 (in slapd) +
120716
8   slapd	_main (in slapd) (main.c:727) 0x00001000 (in slapd) + 11616
9   slapd	__start (in slapd) (crt.c:272) 0x00001000 (in slapd) + 6148
10  slapd	start (in slapd) 0x00001000 (in slapd) + 5796