Hello,
Openldap version 2.6.6 compiled on ubuntu 22.4 LTS
For test purpose I’m trying to add an object with objectClass top+person at the root of my openldap (which is not empty), The dn is cn=toto,dc=my,dc=domain
When I do something on this object, the slapd server crash, but when restarted the operation has been done. It seems that it is the accelog database that is causing a problem
The error is :
501d0f3.15b397b4 0x7f929fc44700 <= index_entry_add( 5, "reqStart=20230913151043.000000Z,cn=accesslog" ) success 6501d0f3.15b410ee 0x7f929fc44700 => mdb_entry_encode(0x00000005): reqStart=20230913151043.000000Z,cn=accesslog 6501d0f3.15b4564d 0x7f929fc44700 <= mdb_entry_encode(0x00000005): reqStart=20230913151043.000000Z,cn=accesslog 6501d0f3.15e04a0b 0x7f929fc44700 mdb_add: added id=00000005 dn="reqStart=20230913151043.000000Z,cn=accesslog" 6501d0f3.15e0bab7 0x7f929fc44700 send_ldap_result: conn=1000 op=12 p=3 6501d0f3.15e0f6a9 0x7f929fc44700 send_ldap_result: err=0 matched="" text="" 6501d0f3.15e1603a 0x7f929fc44700 slap_graduate_commit_csn: removing 0x7f92901234d0 20230913151043.360508Z#000000#057#000000 6501d0f3.15e1c5a6 0x7f929fc44700 accesslog_response: adding minCSN 20230913151043.360508Z#000000#057#000000 6501d0f3.15e20736 0x7f929fc44700 accesslog_response: adding a new csn=20230913151043.360508Z#000000#057#000000 into minCSN 6501d0f3.15e3a20c 0x7f929fc44700 mdb_modify: cn=accesslog 6501d0f3.15e40781 0x7f929fc44700 mdb_dn2entry("cn=accesslog") 6501d0f3.15e45a2d 0x7f929fc44700 => mdb_dn2id("cn=accesslog") 6501d0f3.15e50b53 0x7f929fc44700 <= mdb_dn2id: got id=0x1 6501d0f3.15e57cc9 0x7f929fc44700 => mdb_entry_decode: 6501d0f3.15e5bb28 0x7f929fc44700 <= mdb_entry_decode 6501d0f3.15e5f9b4 0x7f929fc44700 mdb_modify_internal: 0x00000001: cn=accesslog 6501d0f3.15e63487 0x7f929fc44700 <= acl_access_allowed: granted to database root 6501d0f3.15e6881d 0x7f929fc44700 mdb_modify_internal: add minCSN slapd: attr.c:481: attr_merge: Assertion `( nvals == NULL && (*a)->a_nvals == (*a)->a_vals ) || ( nvals != NULL && ( ( (*a)->a_vals == NULL && (*a)->a_nvals == NULL ) || ( (*a)->a_nvals != (*a)->a_vals ) ) )' failed. Aborted (core dumped)
Is it a bug ?
f.g.
— Frédéric Goudal Ingénieur Système, DSI Bordeaux-INP +33 556 84 23 11