[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Failed assertion
Hello,
I'm wondering why OpenLDAP 2.0.11 crashes when performing the search:
(apuidnumber=000559111)
System Information:
[root@localhost bin]# uname -a
Linux localhost 2.4.3-SGI_XFS_1.0.1 #1 Mon Jul 9 14:27:56 CDT 2001 i686 unknown
I am binding as the LDAP Administrator user.
Here's the schema for that field:
attributetype ( 1.3.6.1.4.1.96419.1.1.2
NAME 'apuIdNumber'
DESC 'The APU school ID numer for the user'
EQUALITY numericStringMatch
SUBSTR numericStringSubstringsMatch
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{9} )
Here's the debug output (note the failed assertion at the end):
daemon: activity on 1 descriptors
daemon: activity on: 9r
daemon: read activity on 9
connection_get(9)
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ldap_read: want=1, got=1
0000: 30 0
ldap_read: want=1, got=1
0000: 4c L
ldap_read: want=76, got=76
0000: 02 01 02 63 47 04 0d 64 63 3d 61 70 75 2c 64 63 ...cG..dc=apu,dc
0010: 3d 65 64 75 0a 01 02 0a 01 00 02 01 00 02 01 00 =edu............
0020: 01 01 00 a3 18 04 0b 61 70 75 69 64 6e 75 6d 62 .......apuidnumb
0030: 65 72 04 09 30 30 30 35 35 39 31 31 31 30 0d 04 er..0005591110..
0040: 0b 61 70 75 69 64 6e 75 6d 62 65 72 .apuidnumber
ber_get_next: tag 0x30 len 76 contents:
ber_dump: buf=0x080eff88 ptr=0x080eff88 end=0x080effd4 len=76
0000: 02 01 02 63 47 04 0d 64 63 3d 61 70 75 2c 64 63 ...cG..dc=apu,dc
0010: 3d 65 64 75 0a 01 02 0a 01 00 02 01 00 02 01 00 =edu............
0020: 01 01 00 a3 18 04 0b 61 70 75 69 64 6e 75 6d 62 .......apuidnumb
0030: 65 72 04 09 30 30 30 35 35 39 31 31 31 30 0d 04 er..0005591110..
0040: 0b 61 70 75 69 64 6e 75 6d 62 65 72 .apuidnumber
deferring operation
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
daemon: select: listen=6 active_threads=1 tvp=NULL
do_search
ber_scanf fmt ({aiiiib) ber:
ber_dump: buf=0x080eff88 ptr=0x080eff8b end=0x080effd4 len=73
0000: 63 47 04 0d 64 63 3d 61 70 75 2c 64 63 3d 65 64 cG..dc=apu,dc=ed
0010: 75 0a 01 02 0a 01 00 02 01 00 02 01 00 01 01 00 u...............
0020: a3 18 04 0b 61 70 75 69 64 6e 75 6d 62 65 72 04 ....apuidnumber.
0030: 09 30 30 30 35 35 39 31 31 31 30 0d 04 0b 61 70 .0005591110...ap
0040: 75 69 64 6e 75 6d 62 65 72 uidnumber
SRCH "dc=apu,dc=edu" 2 0 0 0 0
begin get_filter
EQUALITY
ber_scanf fmt ({oo}) ber:
ber_dump: buf=0x080eff88 ptr=0x080effab end=0x080effd4 len=41
0000: a3 18 04 0b 61 70 75 69 64 6e 75 6d 62 65 72 04 ....apuidnumber.
0010: 09 30 30 30 35 35 39 31 31 31 30 0d 04 0b 61 70 .0005591110...ap
0020: 75 69 64 6e 75 6d 62 65 72 uidnumber
slapd: schema_init.c:3221: numericStringNormalize: Assertion `newval->bv_val < p
' failed.