Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 19:07:23 +0300
From:      Enache Adrian <enache@rdslink.ro>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Yaroslav Levchenko <yarick@sunbay.com>
Subject:   Re: libc_r: threaded application could stuck in accept(2)
Message-ID:  <20030530160723.GB872@ratsnest.hole>
In-Reply-To: <20030530143541.GB42349@sunbay.com>
References:  <20030530143541.GB42349@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 30, 2003 at 05:35:41PM +0300, Ruslan Ermilov wrote:
> We had a bug in our threaded application that would mistakenly close
> the descriptor 0, and this triggers a bug in libc_r which I will try
> to describe below.
...
> Some important notes: this bug is only applicable to descriptors
> 0 - 2 (stdio set), and might have something to do with the code
> in uthread_fd.c.  If you remove two lines that free the descriptor
> 0 in the attached test case, the bug won't manifest itself.

please have a look at

http://www.freebsd.org/cgi/query-pr.cgi?pr=51535

Regards,
Adi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530160723.GB872>