Hi OCC team,
The crash API is
static TopoDS_Wire WireFromList(TopTools_ListOfShape& Edges)
The crash point is "Edges.Remove(itl);", it suppose "it1.More" as true. In debug, it will throw exception normally.
In release, it will crash.
Solved by check it1.More() and throw exception manually.
FYI: my occ is occ6.5.3. And I find OCC6.6.0 has the same code (WireFromList) with OCC6.5.3.