This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: accept() failed message on kde 1.1.2 ??
On Thu, Jun 14, 2001 at 02:48:25PM -0400, Christopher Faylor wrote:
> On Thu, Jun 14, 2001 at 01:45:49PM -0400, Suhaib Siddiqi wrote:
> >
> >
> >> Hi Suhaib,
> >>
> >> currently I'm debugging the described socket problems with
> >> kde 1.1.2 on
> >> xfree and have one X related socket problem.
> >>
> >> On starting some clients I get very often (not every start)
> >> this message
> >>
> >> _XSERVTransSocketUNIXAccept: accept() failed
> >>
> >> I can reproduce this error with xfree 4.03 from 2001/4/14 and
> >> xfree 4.10
> >> from 2001/6/2 and cygwin 1.3.2.
> >> With cygwin 1.1.8 this error don't occurs (that was the
> >> reason, why I tended
> >> to use cygwin 1.1.8 with kde)
> >
> >Well, we did not change anything for socket. This seems to UNIX domain
> >socket issue? I am not sure. If it works with Cygwin 1.1.8 and gives
> >error with 1.3.2, then Chris and/or Rob might give a better advice.
>
> Actually, that is probably Corinna's code. It sounds like some kind of
> problem with reusability of the socket.
The only change we had in the accept() code between 1.1.8 and
1.3.2 was Egor's patch to support secure connections on AF_UNIX
sockets. Is it possible that the security check fails under
some circumstances here?
However, a strace containing a failing accept() would perhaps help.
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.