#2973 Common responder code closes socket to early on client shutdown
Closed: Fixed None Opened 4 years ago by simo.

While I was looking at a problem in new code I found as error in the responder cleanup code by looking at this strace output:

epoll_wait(3, [], 1, 60000)             = 0
gettimeofday({1457658965, 643457}, NULL) = 0
close(9)                                = 0
epoll_ctl(3, EPOLL_CTL_DEL, 9, 0x7ffdd3860890) = -1 EBADF (Bad file descriptor)

Here the socket is closed before the tevent fd event is freed causing tevent to call epoll_ctl on a closed descriptor, which is not nice.


Fields changed

owner: somebody => simo
patch: 0 => 1

milestone: NEEDS_TRIAGE => SSSD 1.14 alpha
resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @simo:
- Issue assigned to simo
- Issue set to the milestone: SSSD 1.14 alpha

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4014

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata