#20078: mdnsd in a CPU-bound loop: select returns EBADF
----------------------+------------------------
 Reporter:  jch@…     |      Owner:  developers
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  packages  |    Version:  Trunk
 Keywords:  mdnsd     |
----------------------+------------------------
 mdnsd 567-1 is spinning in a tight loop right now:

 rt_sigprocmask(SIG_BLOCK, [HUP INT PIPE TERM USR1], NULL, 16) = 0
 rt_sigprocmask(SIG_UNBLOCK, [HUP INT PIPE TERM USR1], NULL, 16) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 950939034}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 951053123}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 951163356}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 951277336}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 951394137}) = 0
 select(1058, [3 4 6 9 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057],
 NULL, NULL, {915119, 655273}) = -1 EBADF (Bad file descriptor)
 rt_sigprocmask(SIG_BLOCK, [HUP INT PIPE TERM USR1], NULL, 16) = 0
 rt_sigprocmask(SIG_UNBLOCK, [HUP INT PIPE TERM USR1], NULL, 16) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 952250642}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 952365496}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 952477944}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 952590765}) = 0
 clock_gettime(CLOCK_REALTIME, {1436885474, 952708828}) = 0
 select(1058, [3 4 6 9 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057],
 NULL, NULL, {915119, 654296}) = -1 EBADF (Bad file descriptor)

--
Ticket URL: <https://dev.openwrt.org/ticket/20078>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to