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

Re: meta bind bug (ITS#3171)



pax@sw.ru wrote:

>Full_Name: Pavel Gashev
>Version: 2.2.11
>OS: FC1
>URL: ftp://ftp.openldap.org/incoming/pax-20040603-2.patch
>Submission from: (NULL) (213.247.162.77)
>
>
>Different threads use the same memory object (lc->conns->ld) while binding to
>remote meta url. So if remote host is unreachable (network-timeout or TCP
>connect timeout) first thread disposes lc->conns->ld even if another thread keep
>trying to connect. So SIGSEGV as result.
>
>I think the bind process should be locked.
>  
>
Should be fixed in HEAD; now unbind from remote targets only occurs when 
the connection is shut down.  In any case, the problem you're indicating 
would occur only when issuing multiple concurrent asynchronous 
operations on the same connection.

Thanks for the report.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497