esd leaking file descriptors
shoesoft at gmx.net
Mon Jun 7 20:22:19 GMT 2004
On Mon, 2004-06-07 at 21:40, Robert Watson wrote:
> On Mon, 7 Jun 2004, Brian Feldman wrote:
> > > I just tried a kernel from June, 1st: esd doesn't leak any file
> > > descriptors. So it's definitely a CURRENT problem.
> > >
> > > I couldn't spot anything suspicous using ktrace (That is no notable
> > > difference compared to the other machine).
> > >
> > > Here are two excerpts from kdump output that basically repeat all the
> > > time:
> > I see a lot of accept(2) there... I think it's a good possibility Robert
> > accidentally broke accept()'s error cleanup. It seems that the file
> > is dropped but the fd is left sitting around in a half-allocated state.
> > Many of those 'goto done;'s should be 'goto noconnection;'s, I believe.
> That's what I was wondering -- it looks like the 'goto done's following
> falloc()'s failure check should be "goto noconnection". Here's a patch
> that cleans that up, but may not be perfect.
I get a panic when trying to access esd now:
panic: free address has not been allocated
More information about the freebsd-current