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

Slapd Crashes on Asertion Failed



Hello folks,

I am running slapd 2.0.18 <<stable>> and when I attempt to run a PHP modify
query against the ldap, it crashes the server with an assertion failure on
schema check.

slapd: schema_check.c:45: entry_schema_check: Assertion `a->a_vals[0] !=
((void *)0)' failed.

I am making a php-4.0.6 call against the server "ldap_modify".

Redhat 7.1; OpenLDAP-2.0.18-stable; php-4.0.6; 
i686 2x1GHz, dell poweredge 2550, 1Gb ram.

>From Debugging:
---------------
ldap_read: want=84, got=84
  0000:  02 01 03 66 4f 04 32 69  6e 69 74 69 61 6c 73 3d   ...fO.2initials=
  0010:  61 61 63 2c 6f 75 3d 63  61 6d 70 75 73 6b 65 79   aac,ou=campuskey
  0020:  69 6e 64 65 78 2c 64 63  3d 6a 65 66 66 65 72 73   index,dc=jeffers
  0030:  6f 6e 2c 64 63 3d 65 64  75 30 19 30 17 0a 01 02   on,dc=edu0.0....
  0040:  30 12 04 0c 74 6a 75 4d  61 78 4b 65 79 56 61 6c   0...tjuMaxKeyVal
  0050:  31 02 04 00                                        1...
ber_get_next: tag 0x30 len 84 contents:
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
do_modify
ber_scanf fmt ({a) ber:
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
ber_scanf fmt ({i{a[V]}}) ber:
dn2entry_r: dn: "INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU"
=> dn2id( "INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU" )
====>
cache_find_entry_dn2id("INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU"):
17263 (1 tries)
<= dn2id 17263 (in cache)
=> id2entry_r( 17263 )
====> cache_find_entry_id( 17263 )
"initials=aac,ou=campuskeyindex,dc=jefferson,dc=edu" (found) (1 tries)
<= id2entry_r( 17263 ) 0x818d6f0 (cache)
====> cache_return_entry_r( 17263 ): returned (0)
dn2entry_w: dn: "INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU"
=> dn2id( "INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU" )
====>
cache_find_entry_dn2id("INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU"):
17263 (1 tries)
<= dn2id 17263 (in cache)
=> id2entry_w( 17263 )
====> cache_find_entry_id( 17263 )
"initials=aac,ou=campuskeyindex,dc=jefferson,dc=edu" (found) (1 tries)
<= id2entry_w( 17263 ) 0x818d6f0 (cache)
ldbm_modify_internal: INITIALS=AAC,OU=CAMPUSKEYINDEX,DC=JEFFERSON,DC=EDU
<= acl_access_allowed: granted to database root
slapd: schema_check.c:45: entry_schema_check: Assertion `a->a_vals[0] !=
((void *)0)' failed.


Best Regards,
E. M. Recio

********************************************************
* Chief Systems Engineer, Behavioral Informatics Inc.  *
* EMAIL: n2wog@usa.net     |  AIM: emrecio             *
* PAGER: (215) 314-2622    |  FAX: (215) 503-2648      *
*  CELL: (215) 681-5612    | WORK: (215) 503-0986      *
********************************************************


____________________________________________________________________
Get free e-mail and a permanent address at http://www.amexmail.com/?A=1