[389-devel] Please review: [389 Project] #627: ns-slapd crashes sporadically with segmentation fault in libslapd.so

Noriko Hosoi nhosoi at redhat.com
Mon Mar 25 21:52:06 UTC 2013


https://fedorahosted.org/389/ticket/627

https://fedorahosted.org/389/attachment/ticket/627/0001-Ticket-627-ns-slapd-crashes-sporadically-with-segmen.patch

  Bug Description: Schema reload task (schema-reload.pl) was not
  thread safe.

  Fix Description: Attribute Syntax is stored in the hash and
  retrieved based upon the attribute syntax.  When Schema reload
  task is invoked, the attribute syntax objects were completely
  replaced ignoring the lock protection.  This patch protects
  the attribute syntax replacement (attr_syntax_delete_all_for_
  schemareload) with the write lock.  Also, attribute syntax
  object maintains the reference count.  The schema reload
  respects the reference count instead of blindly deleting them.




More information about the 389-devel mailing list