BIND 10 #641: Memory leaks in NSAS

BIND 10 Development do-not-reply at isc.org
Tue Mar 15 22:32:10 UTC 2011


#641: Memory leaks in NSAS
-------------------------------------+-------------------------------------
                 Reporter:  vorner   |                Owner:  UnAssigned
                     Type:  defect   |               Status:  assigned
                 Priority:  major    |            Milestone:  R-Team-
                Component:           |  Sprint-20110316
  Unclassified                       |           Resolution:
                 Keywords:           |            Sensitive:  0
Estimated Number of Hours:  0.0      |  Add Hours to Ticket:  0
                Billable?:  1        |          Total Hours:  0
                Internal?:  0        |
-------------------------------------+-------------------------------------
Changes (by stephen):

 * owner:  stephen => UnAssigned


Comment:

 Commit e0122c1e3219488a152350666165369a0e9fbe32

 Main changes:
 * The NSAS now holds a "raw" pointer to the resolver.
 * The test resolver now has a destructor to call outstanding callbacks
 (which releases a shared pointer loop and allows objects in the test to be
 completely destroyed).
 * The memory leaks in the random number generator tests were due to
 ASSERT_DEATH statements.  The random number generator code has been
 altered to throw exceptions (instead of calling abort()) on error and
 ASSERT_DEATHs have been replaced by EXPECT_THROWs.

 (Still outstanding is testing the code in the resolver itself.  Given the
 nearness of the end of the sprint, a review is requested in parallel with
 these tests taking place.)

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


More information about the bind10-tickets mailing list