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

Re: (ITS#4637) slapd+back-perl segfaults



I just realised that I didn't attach the output when run with -d -1 flag
(follows below). I guess that might be pretty relevant. It seems that the
process dies soon after having read the perlModulePath directive. Perhaps
this is the first time code in the perl backend gets called (not
particularly informed speculation)?

Johan Jönemo

---
@(#) $OpenLDAP: slapd 2.3.24 (Aug 11 2006 12:07:38) $
        johan@gridtest:/home/johan/build/openldap-2.3.24/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: listener initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
reading config file
/home/johan/build/openldap-2.3.24/bugreport.060811/slapd.conf
line 5 (schemacheck on)
/home/johan/build/openldap-2.3.24/bugreport.060811/slapd.conf: line 5:
unknown directive <schemachec
k> outside backend info and database definitions (ignored).
line 7 (include         /usr/local/etc/openldap/schema/core.schema)
reading config file /usr/local/etc/openldap/schema/core.schema
line 77 (attributetype ( 2.5.4.2 NAME 'knowledgeInformation' DESC
'RFC2256: knowledge information' E
QUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} ))
line 86 (attributetype ( 2.5.4.4 NAME ( 'sn' 'surname' ) DESC 'RFC2256:
last (family) name(s) for wh
ich the entity is known by' SUP name ))
line 92 (attributetype ( 2.5.4.5 NAME 'serialNumber' DESC 'RFC2256: serial
number of the entity' EQU
ALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.44{64} ))
line 96 (attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' ) DESC 'RFC2256:
ISO-3166 country 2-letter
 code' SUP name SINGLE-VALUE ))
line 100 (attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' ) DESC
'RFC2256: locality which this obj
ect resides in' SUP name ))
line 104 (attributetype ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' ) DESC
'RFC2256: state or provin
ce which this object resides in' SUP name ))
line 110 (attributetype ( 2.5.4.9 NAME ( 'street' 'streetAddress' ) DESC
'RFC2256: street address of
 this object' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.
121.1.15{128} ))
line 114 (attributetype ( 2.5.4.10 NAME ( 'o' 'organizationName' ) DESC
'RFC2256: organization this
object belongs to' SUP name ))
line 118 (attributetype ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
DESC 'RFC2256: organizatio
nal unit this object belongs to' SUP name ))
line 122 (attributetype ( 2.5.4.12 NAME 'title' DESC 'RFC2256: title
associated with the entity' SUP
 name ))
line 134 (attributetype ( 2.5.4.14 NAME 'searchGuide' DESC 'RFC2256:
search guide, deprecated by enh
ancedSearchGuide' SYNTAX 1.3.6.1.4.1.1466.115.121.1.25 ))
line 140 (attributetype ( 2.5.4.15 NAME 'businessCategory' DESC 'RFC2256:
business category' EQUALIT
Y caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15{128} ))
line 146 (attributetype ( 2.5.4.16 NAME 'postalAddress' DESC 'RFC2256:
postal address' EQUALITY case
IgnoreListMatch SUBSTR caseIgnoreListSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.41 ))
line 152 (attributetype ( 2.5.4.17 NAME 'postalCode' DESC 'RFC2256: postal
code' EQUALITY caseIgnore
Match SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15{40} ))
line 158 (attributetype ( 2.5.4.18 NAME 'postOfficeBox' DESC 'RFC2256:
Post Office Box' EQUALITY cas
eIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15{40} ))
line 164 (attributetype ( 2.5.4.19 NAME 'physicalDeliveryOfficeName' DESC
'RFC2256: Physical Deliver
y Office Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115
.121.1.15{128} ))
line 170 (attributetype ( 2.5.4.20 NAME 'telephoneNumber' DESC 'RFC2256:
Telephone Number' EQUALITY
telephoneNumberMatch SUBSTR telephoneNumberSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.50{32}
))
line 174 (attributetype ( 2.5.4.21 NAME 'telexNumber' DESC 'RFC2256: Telex
Number' SYNTAX 1.3.6.1.4.
1.1466.115.121.1.52 ))
line 178 (attributetype ( 2.5.4.22 NAME 'teletexTerminalIdentifier' DESC
'RFC2256: Teletex Terminal
Identifier' SYNTAX 1.3.6.1.4.1.1466.115.121.1.51 ))
line 182 (attributetype ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax'
) DESC 'RFC2256: Facsimil
e (Fax) Telephone Number' SYNTAX 1.3.6.1.4.1.1466.115.121.1.22 ))
line 188 (attributetype ( 2.5.4.24 NAME 'x121Address' DESC 'RFC2256: X.121
Address' EQUALITY numeric
StringMatch SUBSTR numericStringSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.36{15} ))
line 194 (attributetype ( 2.5.4.25 NAME 'internationaliSDNNumber' DESC
'RFC2256: international ISDN
number' EQUALITY numericStringMatch SUBSTR numericStringSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.
121.1.36{16} ))
line 199 (attributetype ( 2.5.4.26 NAME 'registeredAddress' DESC 'RFC2256:
registered postal address
' SUP postalAddress SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ))
line 205 (attributetype ( 2.5.4.27 NAME 'destinationIndicator' DESC
'RFC2256: destination indicator'
 EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.44{128}
 ))
line 210 (attributetype ( 2.5.4.28 NAME 'preferredDeliveryMethod' DESC
'RFC2256: preferred delivery
method' SYNTAX 1.3.6.1.4.1.1466.115.121.1.14 SINGLE-VALUE ))
line 216 (attributetype ( 2.5.4.29 NAME 'presentationAddress' DESC
'RFC2256: presentation address' E
QUALITY presentationAddressMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.43
SINGLE-VALUE ))
line 221 (attributetype ( 2.5.4.30 NAME 'supportedApplicationContext' DESC
'RFC2256: supported appli
cation context' EQUALITY objectIdentifierMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.38 ))
line 225 (attributetype ( 2.5.4.31 NAME 'member' DESC 'RFC2256: member of
a group' SUP distinguished
Name ))
line 229 (attributetype ( 2.5.4.32 NAME 'owner' DESC 'RFC2256: owner (of
the object)' SUP distinguis
hedName ))
line 233 (attributetype ( 2.5.4.33 NAME 'roleOccupant' DESC 'RFC2256:
occupant of role' SUP distingu
ishedName ))
line 251 (attributetype ( 2.5.4.36 NAME 'userCertificate' DESC 'RFC2256:
X.509 user certificate, use
 ;binary' EQUALITY certificateExactMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.8 ))
line 258 (attributetype ( 2.5.4.37 NAME 'cACertificate' DESC 'RFC2256:
X.509 CA certificate, use ;bi
nary' EQUALITY certificateExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.8 ))
line 263 (attributetype ( 2.5.4.38 NAME 'authorityRevocationList' DESC
'RFC2256: X.509 authority rev
ocation list, use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 268 (attributetype ( 2.5.4.39 NAME 'certificateRevocationList' DESC
'RFC2256: X.509 certificate
 revocation list, use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 273 (attributetype ( 2.5.4.40 NAME 'crossCertificatePair' DESC
'RFC2256: X.509 cross certificate pair, use ;binary' SYNTAX
1.3.6.1.4.1.1466.115.121.1.10 ))
line 283 (attributetype ( 2.5.4.42 NAME ( 'givenName' 'gn' ) DESC
'RFC2256: first name(s) for which
the entity is known by' SUP name ))
line 287 (attributetype ( 2.5.4.43 NAME 'initials' DESC 'RFC2256: initials
of some or all of names,
but not the surname(s).' SUP name ))
line 291 (attributetype ( 2.5.4.44 NAME 'generationQualifier' DESC
'RFC2256: name qualifier indicati
ng a generation' SUP name ))
line 296 (attributetype ( 2.5.4.45 NAME 'x500UniqueIdentifier' DESC
'RFC2256: X.500 unique identifie
r' EQUALITY bitStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.6 ))
line 303 (attributetype ( 2.5.4.46 NAME 'dnQualifier' DESC 'RFC2256: DN
qualifier' EQUALITY caseIgno
reMatch ORDERING caseIgnoreOrderingMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.11
5.121.1.44 ))
line 307 (attributetype ( 2.5.4.47 NAME 'enhancedSearchGuide' DESC
'RFC2256: enhanced search guide'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.21 ))
line 312 (attributetype ( 2.5.4.48 NAME 'protocolInformation' DESC
'RFC2256: protocol information' E
QUALITY protocolInformationMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.42 ))
line 322 (attributetype ( 2.5.4.50 NAME 'uniqueMember' DESC 'RFC2256:
unique member of a group' EQUA
LITY uniqueMemberMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.34 ))
line 328 (attributetype ( 2.5.4.51 NAME 'houseIdentifier' DESC 'RFC2256:
house identifier' EQUALITY
caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX
1.3.6.1.4.1.1466.115.121.1.15{32768} ))
line 333 (attributetype ( 2.5.4.52 NAME 'supportedAlgorithms' DESC
'RFC2256: supported algorithms' S
YNTAX 1.3.6.1.4.1.1466.115.121.1.49 ))
line 338 (attributetype ( 2.5.4.53 NAME 'deltaRevocationList' DESC
'RFC2256: delta revocation list;
use ;binary' SYNTAX 1.3.6.1.4.1.1466.115.121.1.9 ))
line 342 (attributetype ( 2.5.4.54 NAME 'dmdName' DESC 'RFC2256: name of
DMD' SUP name ))
line 346 (attributetype ( 2.5.4.65 NAME 'pseudonym' DESC 'X.520(4th):
pseudonym for the object' SUP
name ))
line 366 (objectclass ( 2.5.6.2 NAME 'country' DESC 'RFC2256: a country'
SUP top STRUCTURAL MUST c M
AY ( searchGuide $ description ) ))
line 371 (objectclass ( 2.5.6.3 NAME 'locality' DESC 'RFC2256: a locality'
SUP top STRUCTURAL MAY (
street $ seeAlso $ searchGuide $ st $ l $ description ) ))
line 382 (objectclass ( 2.5.6.4 NAME 'organization' DESC 'RFC2256: an
organization' SUP top STRUCTUR
AL MUST o MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ 
     x121Address $ regist
eredAddress $ destinationIndicator $    preferredDeliveryMethod $
telexNumber $ teletexTerminalIdent
ifier $         telephoneNumber $ internationaliSDNNumber $    
facsimileTelephoneNumber $ street $
postOfficeBox $ postalCode $    postalAddress $ physicalDeliveryOfficeName
$ st $ l $ description )
))
line 393 (objectclass ( 2.5.6.5 NAME 'organizationalUnit' DESC 'RFC2256:
an organizational unit' SUP
 top STRUCTURAL MUST ou MAY ( userPassword $ searchGuide $ seeAlso $
businessCategory $         x121
Address $ registeredAddress $ destinationIndicator $   
preferredDeliveryMethod $ telexNumber $ tele
texTerminalIdentifier $         telephoneNumber $ internationaliSDNNumber
$     facsimileTelephoneNu
mber $ street $ postOfficeBox $ postalCode $    postalAddress $
physicalDeliveryOfficeName $ st $ l
$ description ) ))
line 399 (objectclass ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP
top STRUCTURAL MUST ( sn
$ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) ))
line 408 (objectclass ( 2.5.6.7 NAME 'organizationalPerson' DESC 'RFC2256:
an organizational person'
 SUP person STRUCTURAL MAY ( title $ x121Address $ registeredAddress $
destinationIndicator $   pref
erredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $        
telephoneNumber $ internatio
naliSDNNumber $         facsimileTelephoneNumber $ street $ postOfficeBox
$ postalCode $        post
alAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) ))
line 419 (objectclass ( 2.5.6.8 NAME 'organizationalRole' DESC 'RFC2256:
an organizational role' SUP
 top STRUCTURAL MUST cn MAY ( x121Address $ registeredAddress $
destinationIndicator $  preferredDel
iveryMethod $ telexNumber $ teletexTerminalIdentifier $        
telephoneNumber $ internationaliSDNN
umber $ facsimileTelephoneNumber $      seeAlso $ roleOccupant $
preferredDeliveryMethod $ street $
postOfficeBox $ postalCode $ postalAddress $    physicalDeliveryOfficeName
$ ou $ st $ l $ descripti
on ) ))
line 425 (objectclass ( 2.5.6.9 NAME 'groupOfNames' DESC 'RFC2256: a group
of names (DNs)' SUP top S
TRUCTURAL MUST ( member $ cn ) MAY ( businessCategory $ seeAlso $ owner $
ou $ o $ description ) ))
line 436 (objectclass ( 2.5.6.10 NAME 'residentialPerson' DESC 'RFC2256:
an residential person' SUP
person STRUCTURAL MUST l MAY ( businessCategory $ x121Address $
registeredAddress $     destinationI
ndicator $ preferredDeliveryMethod $ telexNumber $     
teletexTerminalIdentifier $ telephoneNumber
$ internationaliSDNNumber $     facsimileTelephoneNumber $
preferredDeliveryMethod $ street $   post
OfficeBox $ postalCode $ postalAddress $        physicalDeliveryOfficeName
$ st $ l ) ))
line 442 (objectclass ( 2.5.6.11 NAME 'applicationProcess' DESC 'RFC2256:
an application process' SU
P top STRUCTURAL MUST cn MAY ( seeAlso $ ou $ l $ description ) ))
line 449 (objectclass ( 2.5.6.12 NAME 'applicationEntity' DESC 'RFC2256:
an application entity' SUP
top STRUCTURAL MUST ( presentationAddress $ cn ) MAY (
supportedApplicationContext $ seeAlso $ ou $
o $ l $ description ) ))
line 454 (objectclass ( 2.5.6.13 NAME 'dSA' DESC 'RFC2256: a directory
system agent (a server)' SUP
applicationEntity STRUCTURAL MAY knowledgeInformation ))
line 460 (objectclass ( 2.5.6.14 NAME 'device' DESC 'RFC2256: a device'
SUP top STRUCTURAL MUST cn M
AY ( serialNumber $ seeAlso $ owner $ ou $ o $ l $ description ) ))
line 465 (objectclass ( 2.5.6.15 NAME 'strongAuthenticationUser' DESC
'RFC2256: a strong authenticat
ion user' SUP top AUXILIARY MUST userCertificate ))
line 471 (objectclass ( 2.5.6.16 NAME 'certificationAuthority' DESC
'RFC2256: a certificate authorit
y' SUP top AUXILIARY MUST ( authorityRevocationList $
certificateRevocationList $       cACertificat
e ) MAY crossCertificatePair ))
line 477 (objectclass ( 2.5.6.17 NAME 'groupOfUniqueNames' DESC 'RFC2256:
a group of unique names (D
N and Unique Identifier)' SUP top STRUCTURAL MUST ( uniqueMember $ cn )
MAY ( businessCategory $ see
Also $ owner $ ou $ o $ description ) ))
line 482 (objectclass ( 2.5.6.18 NAME 'userSecurityInformation' DESC
'RFC2256: a user security infor
mation' SUP top AUXILIARY MAY ( supportedAlgorithms ) ))
line 486 (objectclass ( 2.5.6.16.2 NAME 'certificationAuthority-V2' SUP
certificationAuthority AUXIL
IARY MAY ( deltaRevocationList ) ))
line 492 (objectclass ( 2.5.6.19 NAME 'cRLDistributionPoint' SUP top
STRUCTURAL MUST ( cn ) MAY ( ce
rtificateRevocationList $ authorityRevocationList $    
deltaRevocationList ) ))
line 502 (objectclass ( 2.5.6.20 NAME 'dmd' SUP top STRUCTURAL MUST (
dmdName ) MAY ( userPassword $
 searchGuide $ seeAlso $ businessCategory $     x121Address $
registeredAddress $ destinationIndicat
or $    preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier
$     telephoneNumber $ in
ternationaliSDNNumber $ facsimileTelephoneNumber $      street $
postOfficeBox $ postalCode $ postal
Address $       physicalDeliveryOfficeName $ st $ l $ description ) ))
line 510 (objectclass ( 2.5.6.21 NAME 'pkiUser' DESC 'RFC2587: a PKI user'
SUP top AUXILIARY MAY use
rCertificate ))
line 516 (objectclass ( 2.5.6.22 NAME 'pkiCA' DESC 'RFC2587: PKI
certificate authority' SUP top AUXI
LIARY MAY ( authorityRevocationList $ certificateRevocationList $      
cACertificate $ crossCertifi
catePair ) ))
line 521 (objectclass ( 2.5.6.23 NAME 'deltaCRL' DESC 'RFC2587: PKI user'
SUP top AUXILIARY MAY delt
aRevocationList ))
line 534 (objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject' DESC
'RFC2079: object that cont
ains the URI attribute type' SUP top AUXILIARY MAY ( labeledURI ) ))
line 551 (attributetype ( 0.9.2342.19200300.100.1.3 NAME ( 'mail'
'rfc822Mailbox' ) DESC 'RFC1274: R
FC822 Mailbox'    EQUALITY caseIgnoreIA5Match    SUBSTR
caseIgnoreIA5SubstringsMatch    SYNTAX 1.3.6
.1.4.1.1466.115.121.1.26{256} ))
line 556 (objectclass ( 0.9.2342.19200300.100.4.19 NAME
'simpleSecurityObject' DESC 'RFC1274: simple
 security object' SUP top AUXILIARY MUST userPassword ))
line 564 (attributetype ( 0.9.2342.19200300.100.1.25 NAME ( 'dc'
'domainComponent' ) DESC 'RFC1274/2
247: domain component' EQUALITY caseIgnoreIA5Match SUBSTR
caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.
1.4.1.1466.115.121.1.26 SINGLE-VALUE ))
line 569 (objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject' DESC
'RFC2247: domain component object'
 SUP top AUXILIARY MUST dc ))
line 574 (objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject' DESC 'RFC2377: uid
object' SUP top AUXILIARY
MUST uid ))
line 582 (attributetype ( 0.9.2342.19200300.100.1.37 NAME
'associatedDomain' DESC 'RFC1274: domain a
ssociated with object' EQUALITY caseIgnoreIA5Match SUBSTR
caseIgnoreIA5SubstringsMatch SYNTAX 1.3.6.
1.4.1.1466.115.121.1.26 ))
line 590 (attributetype ( 1.2.840.113549.1.9.1 NAME ( 'email'
'emailAddress' 'pkcs9email' ) DESC 'RF
C3280: legacy attribute for email addresses in DNs' EQUALITY
caseIgnoreIA5Match SUBSTR caseIgnoreIA5
SubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} ))
line 11 (access to * by * read)
Backend ACL: access to *
        by * read

line 17 (pidfile                /usr/local/var/run/slapd.pid)
line 18 (argsfile       /usr/local/var/run/slapd.args)
line 19 (loglevel 3296)
line 22 (modulepath     /usr/local/libexec/openldap)
line 23 (moduleload     back_bdb.la)
loaded module back_bdb.la
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.4.20: (January 10,
2006)
module back_bdb.la: null module registered
line 27 (moduleload     back_perl.la)
loaded module back_perl.la
module back_perl.la: null module registered
line 60 (database        perl)
perl backend db init
line 61 (suffix          "o=AnyOrg,c=US")
>>> dnPrettyNormal: <o=AnyOrg,c=US>
=> ldap_bv2dn(o=AnyOrg,c=US,0)
<= ldap_bv2dn(o=AnyOrg,c=US)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(o=AnyOrg,c=US)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(o=anyorg,c=us)=0
<<< dnPrettyNormal: <o=AnyOrg,c=US>, <o=anyorg,c=us>
line 62 (perlModulePath 
/home/johan/build/openldap-2.3.24/servers/slapd/back-perl)
zsh: segmentation fault 
/home/johan/build/openldap-2.3.24/servers/slapd/.libs/slapd -f  -d -1
Exit Code 139