Issue 7255 - back-mdb hangs during mdb_tool_entry_modify
Summary: back-mdb hangs during mdb_tool_entry_modify
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-23 15:54 UTC by Ondřej Kuzník
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ondřej Kuzník 2012-04-23 15:54:55 UTC
Full_Name: Ondrej Kuznik
Version: master
OS: Linux
URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20120423-slapmodify-support.tgz
Submission from: (NULL) (62.168.56.1)


When calling mdb_tool_entry_modify, a new transaction is being set up and this
hangs the process on a mutex that the thread already holds.

For a possible patch see the last patch in the series at the above URL.

The attached file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Acision. Acision has not assigned rights
and/or interest in this work to any party. I, Ondrej Kuznik am
authorized by Acision, my employer, to release this work under the
following terms.

The attached modifications to OpenLDAP Software are subject to the
following notice:
Copyright 2012 Acision
Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP Public
License.
Comment 1 Howard Chu 2012-05-02 20:33:44 UTC
ondrej.kuznik@acision.com wrote:
> Full_Name: Ondrej Kuznik
> Version: master
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20120423-slapmodify-support.tgz
> Submission from: (NULL) (62.168.56.1)
>
>
> When calling mdb_tool_entry_modify, a new transaction is being set up and this
> hangs the process on a mutex that the thread already holds.
>
> For a possible patch see the last patch in the series at the above URL.

Thanks for the report. Your fix is incomplete, a working fix is in git master now.
>
> The attached file is derived from OpenLDAP Software. All of the
> modifications to OpenLDAP Software represented in the following
> patch(es) were developed by Acision. Acision has not assigned rights
> and/or interest in this work to any party. I, Ondrej Kuznik am
> authorized by Acision, my employer, to release this work under the
> following terms.
>
> The attached modifications to OpenLDAP Software are subject to the
> following notice:
> Copyright 2012 Acision
> Redistribution and use in source and binary forms, with or without
> modification, are permitted only as authorized by the OpenLDAP Public
> License.
>
>


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


Comment 2 Howard Chu 2012-05-02 20:34:07 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Quanah Gibson-Mount 2012-05-03 15:03:13 UTC
changed notes
changed state Test to Release
Comment 4 Quanah Gibson-Mount 2012-08-17 01:36:39 UTC
changed notes
changed state Release to Closed
Comment 5 OpenLDAP project 2014-08-01 21:04:42 UTC
fixed in master
fixed in RE24