View Issue Details

IDProjectCategoryView StatusLast Update
0026358Open CASCADEOCCT:Visualizationpublic2015-06-22 18:29
ReporteraanAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
PlatformWindowsOSVC++ 2013 
Product Version6.9.0 
Target Version7.0.0 
Summary0026358: Visualization, Local context crashes on attempt to call AddOrRemoveSelected
DescriptionBackTrace:
  1. AIS_InteractiveContext::AddOrRemoveSelected(const TopoDS_Shape& Sh,
                       const Standard_Boolean updateviewer)
  2. AIS_LocalContext::AddOrRemoveSelected(const TopoDS_Shape& Sh,
                       const Standard_Boolean updateviewer)
  3. AIS_LocalContext::FindSelectedOwnerFromShape(const TopoDS_Shape& sh)

The following code looks suspicious:
...
  if (!found) {
    NCollection_List<Handle( SelectBasics_EntityOwner )>::Iterator anOwnersIt( myMainVS->ActiveOwners() );
    for (; anOwnersIt.More(); anOwnersIt.Next()) {
...

The iterator is initialized with local variable
Additional information
and documentation updates
Dear bugmaster,

please close the duplicate.
TagsNo tags attached.
Test case number

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-06-19 19:42 aan New Issue
2015-06-19 19:42 aan Assigned To => kgv
2015-06-20 02:52 kgv Assigned To kgv => bugmaster
2015-06-20 02:52 kgv Status new => feedback
2015-06-20 02:52 kgv Resolution open => duplicate
2015-06-20 02:52 kgv Additional Information Updated
2015-06-22 18:29 bugmaster Status feedback => closed