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

Re: slapd crash in back-bdb/ctxcsn.c (ITS#3301)



Thanks, looks like my test suite wasn't up to date. This is now fixed in 
CVS.

rhafer@suse.de wrote:

>On Wednesday 25 August 2004 14:54, rhafer@suse.de wrote:
>  
>
>>On Wednesday 25 August 2004 14:01, hyc@symas.com wrote:
>>    
>>
>>>This is now patched in HEAD, please test.
>>>      
>>>
>>Works now. Thanks for the fast response.
>>    
>>
>
>I spoke to soon. I now get "ldap_add: No such object (32)"
>when trying to add the initial entries to the database. Sample LDIF:
>
>Seem that dn2entry in ctxcsn.c returns DB_NOTFOUND in this case. Changing the 
>switch statement to
>
>	switch( rc ) {
>	case 0:
>        case DB_NOTFOUND :
>		break;
>	case DB_LOCK_DEADLOCK:
>	case DB_LOCK_NOTGRANTED:
>		return BDB_CSN_RETRY;
>	default:
>		return BDB_CSN_ABORT;
>	}
>
>fixed the problem for me.
>
>  
>


-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support