BIND 10 #624: asiolink test fails on OSX server

BIND 10 Development do-not-reply at isc.org
Thu Feb 24 19:06:27 UTC 2011


#624: asiolink test fails on OSX server
-------------------------------------+-------------------------------------
                 Reporter:  stephen  |                Owner:  UnAssigned
                     Type:  defect   |               Status:  reviewing
                 Priority:  minor    |            Milestone:  R-Team-
                Component:           |  Sprint-20110308
  resolver                           |           Resolution:
                 Keywords:           |            Sensitive:  0
Estimated Number of Hours:  1.0      |  Add Hours to Ticket:  0
                Billable?:  1        |          Total Hours:  0
                Internal?:  0        |
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Replying to [comment:1 stephen]:
 > Changed a call to io_service::poll() that executes two callbacks into
 two calls to io_service::run_one().  I'm not sure why this is happening
 only for the Mac system, but speculate that it's something to do with the
 implementation of poll() under OS/X.

 I confirmed it worked and looked okay in that it actually did what
 other parts of the code does for this purpose.  As you've been offline
 and it seems an urgent fix I've merged the change and pushed it to the
 central repo (but haven't removed the branch).

 That said, I'm not happy about the "changeneer" approach (i.e.,
 suppressing the superficial problem without understanding why).  I
 gave it a go due to its urgency, but I suggest figuring out why the
 original code failed for that environment.  It may actually be a real
 bug in our main code that hasn't been realized in other systems
 accidentally.  So I'll keep the ticket open.

 BTW, I don't think asio::io_service::poll() uses poll(2) on MacOS.  As
 far as I understand it, asio uses kqueue by default for BSD variants,
 and when disabled I suspect it uses select().

-- 
Ticket URL: <http://bind10.isc.org/ticket/624#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list