Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2697 closed defect (fixed)

Dhcp4 process crashes on smart ptr assertion accessing client_id

Reported by: tmark Owned by:
Priority: very high Milestone: Sprint-DHCP-20130214
Component: dhcp4 Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Very High
Sub-Project: DHCP Feature Depending on Ticket: dhcp4 lease assignment
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


While testing ipv4 client via relay agains bind10/Dhcp4, the following smart pointer assertion occurs:

2013-02-07 14:22:01.180 DEBUG [b10-dhcp4.dhcpsrv/666] DHCPSRV_MYSQL_UPDATE_ADDR4 updating IPv4 lease for address
b10-dhcp4: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = isc::dhcp::ClientId?]: Assertion `px != 0' failed.
2013-02-07 14:22:01.182 INFO [b10-boss.boss/659] BIND10_PROCESS_ENDED process

Once the assertion occurs, it continues to occur as long as the client keeps making requests.

Will be added artifacts as an attachment.


Change History (3)

comment:1 Changed 7 years ago by stephen

  • Milestone changed from New Tasks to Sprint-DHCP-20130214

comment:2 Changed 7 years ago by tomek

  • Resolution set to fixed
  • Status changed from new to closed

Code change discussed in dhcp chatroom as part of pre-release fast turnover. Code merged.

comment:3 Changed 7 years ago by jwright

After discussion with Jeremy, myself, Tomek and Thomas, we need to generate a new ticket to track writing a unit test for this issue. That new ticket is Ticket #2723:

Note: See TracTickets for help on using tickets.