Opened 9 years ago

Closed 9 years ago

#1084 closed defect (fixed)

MemoryZone::add fails with shared_ptr assertion fail if debug logging is enabled

Reported by: stephen Owned by: stephen
Priority: low Milestone: Sprint-20110712
Component: data source Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.5 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


If the data source unit tests are run with debug enabled and a debug level of 99, the MemoryZoneTest?.add test fails with an assertion failure in boost::shared_ptr.

This appears to be a similar problem to #1023 - the failure is in the calls rrset->getName() and rrset->getType() made in the LOG_DEBUG arguments: at the point of failure, rrset is a null shared_ptr.


Change History (5)

comment:1 Changed 9 years ago by stephen

  • Milestone changed from Next-Sprint-Proposed to Sprint-20110712
  • Owner set to stephen
  • Status changed from new to assigned

Moved this to the current sprint as otherwise merging ticket 1024 would cause this bug to be triggered and the unit tests to fail.

comment:2 Changed 9 years ago by stephen

  • Estimated Difficulty changed from 0.0 to 0.5
  • Owner changed from stephen to UnAssigned
  • Status changed from assigned to reviewing

comment:3 Changed 9 years ago by jinmei

Looks okay.

comment:4 Changed 9 years ago by jinmei

  • Owner changed from UnAssigned to stephen

comment:5 Changed 9 years ago by stephen

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.