BIND 10 #3345: Segfault in zone_loader_test.py on Mac OS

BIND 10 Development do-not-reply at isc.org
Fri Feb 21 10:09:08 UTC 2014


#3345: Segfault in zone_loader_test.py on Mac OS
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:
           Component:  data source   |  bind10-1.2-release-freeze
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 When there is a RR class mismatch, `MasterLoaderImpl::parseRRParams()`
 throws an `InternalException`, which is caught by
 `MasterLoaderImpl::loadIncremental()` and a `reportError()` is called from
 the `catch` body which throws a different kind of exception that is
 handled by `loadIncremental()`'s caller.

 What I am observing is that when `InternalException` is thrown by
 `MasterLoaderImpl::parseRRParams()`, it is not being caught in
 `MasterLoaderImpl::loadIncremental()`.

 This does not happen when an equivalent C++ unittest is run where there is
 a class mismatch. It happens from the Python unittest only.

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


More information about the bind10-tickets mailing list