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

Re: (ITS#4394) Fix Segfault in auditlog.c



Gerald Richter wrote:
> I don't know the OpenLDAP code deep enough to comment on this, the only
> thing I can say, is that the case where it first happened for me, was that
> there was one outstanding modification on the master, when I first started
> the slapd consumer with auditlog enabled and it crashed while it tried to
> log this modification. I am really sure there was no deletetion of an entry
> or an attribute during this operation.
>
> Nevertheless the audit log shows deletion for all attributes of the entry,
> followed by replace operation with the current values for all attributes of
> entry. Maybe this is what you mean.
>   

Yes. I recently encountered this same problem in another section of 
modify.c. Please try the patch I've committed to CVS HEAD, it should 
work correctly.

> Additionals hints are, that I have disabled Sessionlog on the provider,
> because I had problemes synchronising bursts of modification (this is
> another issue, that I need to look deeper at) and I am currently testing the
> replication with rootdn as replication user.

The particular crash you saw is independent of the Sessionlog. But if 
you're seeing other problems there, let us know when you have more info.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/