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

(ITS#6426) slapd crash with 'Bus error'



Full_Name: afshin afzali
Version: 2.4.19
OS: CentOS 5 - 64Bit
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (94.182.20.153)


I use "Apache Directory Studio" to manage my directory service. Randomly I used
an invalid attribute ( cn ) to create an country object. 

Regards,
-- afshin


>>> slap_listener(ldap:///)
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 42 contents:
op tag 0x60, time 1260363040
ber_get_next
conn=0 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=root,dc=callee,dc=ir>
=> ldap_bv2dn(cn=root,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
<<< dnPrettyNormal: <cn=root,dc=callee,dc=ir>, <cn=root,dc=callee,dc=ir>
do_bind: version=3 dn="cn=root,dc=callee,dc=ir" method=128
==> ndb_back_bind: dn: cn=root,dc=callee,dc=ir
do_bind: v3 bind: "cn=root,dc=callee,dc=ir" to "cn=root,dc=callee,dc=ir"
send_ldap_result: conn=0 op=0 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 56 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
SRCH "" 0 3    0 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: subschemaSubentry
=> send_search_entry: conn 0 dn=""
ber_flush2: 68 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=2 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 96 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=2 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0 
<<< dnPrettyNormal: <cn=Subschema>, <cn=subschema>
SRCH "cn=Subschema" 0 3    0 0 0
ber_scanf fmt ({mm}) ber:
    filter: (objectClass=subschema)
ber_scanf fmt ({M}}) ber:
    attrs: createTimestamp modifyTimestamp
=> send_search_entry: conn 0 dn="cn=Subschema"
ber_flush2: 127 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=2 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=3 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 174 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=3 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0 
<<< dnPrettyNormal: <cn=Subschema>, <cn=subschema>
SRCH "cn=Subschema" 0 3    0 0 0
ber_scanf fmt ({mm}) ber:
    filter: (objectClass=subschema)
ber_scanf fmt ({M}}) ber:
    attrs: objectClasses attributeTypes ldapSyntaxes matchingRules
matchingRuleUse createTimestamp modifyTimestamp
=> send_search_entry: conn 0 dn="cn=Subschema"
ber_flush2: 71646 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=3 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=4 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 221 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=4 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
SRCH "" 0 0    0 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: namingContexts subschemaSubentry supportedLDAPVersion
supportedSASLMechanisms supportedExtension supportedControl supportedFeatures
vendorName vendorVersion + objectClass
=> send_search_entry: conn 0 dn=""
ber_flush2: 797 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=4 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=5 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 40 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=5 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
SRCH "" 0 0    0 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: *
=> send_search_entry: conn 0 dn=""
ber_flush2: 70 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=5 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=6 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 79 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=6 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=Subschema)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema)=0 
<<< dnPrettyNormal: <cn=Subschema>, <cn=subschema>
SRCH "cn=Subschema" 0 3    1 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: hasSubordinates objectClass
=> send_search_entry: conn 0 dn="cn=Subschema"
ber_flush2: 104 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=6 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=7 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 76 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=7 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=config>
=> ldap_bv2dn(cn=config,0)
<= ldap_bv2dn(cn=config)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=config)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=config)=0 
<<< dnPrettyNormal: <cn=config>, <cn=config>
SRCH "cn=config" 0 3    1 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: hasSubordinates objectClass
==> limits_get: conn=0 op=7 self="cn=root,dc=callee,dc=ir" this="cn=config"
send_ldap_result: conn=0 op=7 p=3
send_ldap_result: err=32 matched="" text=""
send_ldap_response: msgid=8 tag=101 err=32
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 82 contents:
op tag 0x63, time 1260363040
ber_get_next
conn=0 op=8 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=callee,dc=ir>
=> ldap_bv2dn(dc=callee,dc=ir,0)
<= ldap_bv2dn(dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=callee,dc=ir)=0 
<<< dnPrettyNormal: <dc=callee,dc=ir>, <dc=callee,dc=ir>
SRCH "dc=callee,dc=ir" 0 3    1 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: hasSubordinates objectClass
>>> dnNormalize: <cn=root,dc=callee,dc=ir>
=> ldap_bv2dn(cn=root,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
<<< dnNormalize: <cn=root,dc=callee,dc=ir>
>>> dnNormalize: <cn=root,dc=callee,dc=ir>
=> ldap_bv2dn(cn=root,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
<<< dnNormalize: <cn=root,dc=callee,dc=ir>
=> send_search_entry: conn 0 dn="dc=callee,dc=ir"
ber_flush2: 122 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=8 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=9 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 55 contents:
op tag 0x63, time 1260363055
ber_get_next
conn=0 op=9 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=callee,dc=ir>
=> ldap_bv2dn(dc=callee,dc=ir,0)
<= ldap_bv2dn(dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(dc=callee,dc=ir)=0 
<<< dnPrettyNormal: <dc=callee,dc=ir>, <dc=callee,dc=ir>
SRCH "dc=callee,dc=ir" 0 3    0 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: *
>>> dnNormalize: <cn=root,dc=callee,dc=ir>
=> ldap_bv2dn(cn=root,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
<<< dnNormalize: <cn=root,dc=callee,dc=ir>
>>> dnNormalize: <cn=root,dc=callee,dc=ir>
=> ldap_bv2dn(cn=root,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=root,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=root,dc=callee,dc=ir)=0 
<<< dnNormalize: <cn=root,dc=callee,dc=ir>
=> send_search_entry: conn 0 dn="dc=callee,dc=ir"
ber_flush2: 138 bytes to sd 13
<= send_search_entry: conn 0 exit.
send_ldap_result: conn=0 op=9 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=10 tag=101 err=0
ber_flush2: 22 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 95 contents:
op tag 0x63, time 1260363086
ber_get_next
conn=0 op=10 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=myCountry,dc=callee,dc=ir>
=> ldap_bv2dn(cn=myCountry,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=myCountry,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=myCountry,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=mycountry,dc=callee,dc=ir)=0 
<<< dnPrettyNormal: <cn=myCountry,dc=callee,dc=ir>,
<cn=mycountry,dc=callee,dc=ir>
SRCH "cn=myCountry,dc=callee,dc=ir" 0 0    1 0 0
ber_scanf fmt (m) ber:
    filter: (objectClass=*)
ber_scanf fmt ({M}}) ber:
    attrs: hasSubordinates objectClass
send_ldap_result: conn=0 op=10 p=3
send_ldap_result: err=32 matched="dc=callee,dc=ir" text=""
send_ldap_response: msgid=11 tag=101 err=32
ber_flush2: 37 bytes to sd 13
connection_get(13)
connection_get(13): got connid=0
connection_read(13): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 87 contents:
op tag 0x68, time 1260363100
ber_get_next
conn=0 op=11 do_add
ber_scanf fmt ({m) ber:
conn=0 op=11 do_add: dn (cn=myCountry,dc=callee,dc=ir)
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt ({m{W}}) ber:
ber_scanf fmt (}) ber:
>>> dnPrettyNormal: <cn=myCountry,dc=callee,dc=ir>
=> ldap_bv2dn(cn=myCountry,dc=callee,dc=ir,0)
<= ldap_bv2dn(cn=myCountry,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=myCountry,dc=callee,dc=ir)=0 
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=mycountry,dc=callee,dc=ir)=0 
<<< dnPrettyNormal: <cn=myCountry,dc=callee,dc=ir>,
<cn=mycountry,dc=callee,dc=ir>
==> ndb_back_add: cn=myCountry,dc=callee,dc=ir
oc_check_required entry (cn=myCountry,dc=callee,dc=ir), objectClass "country"
Entry (cn=myCountry,dc=callee,dc=ir): object class 'country' requires attribute
'c'
ndb_back_add: entry failed schema check: object class 'country' requires
attribute 'c' (65)
send_ldap_result: conn=0 op=11 p=3
send_ldap_result: err=65 matched="" text="object class 'country' requires
attribute 'c'"
send_ldap_response: msgid=12 tag=105 err=65
ber_flush2: 67 bytes to sd 13
Bus error
[root@dc1 openldap]#