Opened 9 years ago

Closed 8 years ago

#866 closed defect (fixed)

Incrementing invalidated iterator

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

Description

Tests in libcc fail with this:

[ RUN      ] Element.removeIdentical
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/include/g++-v4/debug/safe_iterator.h:208:
    error: attempt to increment a singular iterator.

This probably means the iterator was invalidated by erase and then incremented.

Subtickets

Change History (5)

comment:1 Changed 9 years ago by vorner

To clarify (as asked for on jabber), this output is created when it is compiled with -D_GLIBCXX_DEBUG.

comment:2 Changed 9 years ago by shane

  • Milestone changed from New Tasks to Year 3 Task Backlog

comment:3 Changed 8 years ago by stephen

  • Owner set to stephen
  • Status changed from new to assigned

comment:4 Changed 8 years ago by shane

  • Milestone changed from Year 3 Task Backlog to Sprint-20111220

Handled by work in #1470.

comment:5 Changed 8 years ago by stephen

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

Fix included in master in commit ee21a81dbcfc6dc3587a9ca8ae95175c3b52bfea (as a result of work done in the branch for #1470).

Note: See TracTickets for help on using tickets.