DiscussionsIssue archiveOCCT:Application Framework

Archived issue #0026693

TNaming_Selector::Select crash.

CommunityOCCT:Application Frameworkclosed3 public notes

Search issues

Description

The crash stackframe:

> TKCAF.dll!TNaming_Iterator::TNaming_Iterator(const Handle_TNaming_NamedShape & Att) Line 850 C++
     TKCAF.dll!TNaming_Tool::GetShape(const Handle_TNaming_NamedShape & NS) Line 141 C++
     TKCAF.dll!TNaming_NamedShape::Get() Line 167 C++
     TKCAF.dll!Filter(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & S, const TopoDS_Shape & Context, TNaming_Localizer & Localizer, Handle_TNaming_NamedShape & NS, const int Lev) Line 825 C++
     TKCAF.dll!BuildName(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & Selection, const TopoDS_Shape & Context, const Handle_TNaming_NamedShape & Stop, const unsigned int Geom) Line 1103 C++
     TKCAF.dll!TNaming_Naming::Name(const TDF_Label & F, const TopoDS_Shape & S, const TopoDS_Shape & Context, const unsigned int Geom, const unsigned int KeepOrientation, const unsigned int BNProblem) Line 1780 C++
     TKCAF.dll!TNaming_Selector::Select(const TopoDS_Shape & Selection, const TopoDS_Shape & Context, const unsigned int Geometry, const unsigned int KeepOrientation) Line 359 C++

Public activity

3 archived notes

Participants are labeled by their role within this record.

01Author
Another similar crash:

     TKCAF.dll!TNaming_Iterator::TNaming_Iterator(const Handle_TNaming_NamedShape & Att) Line 850 C++
     TKCAF.dll!TNaming_Tool::GetShape(const Handle_TNaming_NamedShape & NS) Line 141 C++
     TKCAF.dll!TNaming_NamedShape::Get() Line 167 C++
> TKCAF.dll!Filter(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & S, const TopoDS_Shape & Context, TNaming_Localizer & Localizer, Handle_TNaming_NamedShape & NS, const int Lev) Line 825 C++
     TKCAF.dll!BuildName(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & Selection, const TopoDS_Shape & Context, const Handle_TNaming_NamedShape & Stop, const unsigned int Geom) Line 1103 C++
     TKCAF.dll!BuildNameShell(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & Selection, const TopoDS_Shape & Context, const Handle_TNaming_NamedShape & Stop, const unsigned int Geom) Line 1552 C++
     TKCAF.dll!BuildAggregationName(const TDF_Label & F, TNaming_Scope & MDF, const TopoDS_Shape & S, const TopoDS_Shape & Context, const Handle_TNaming_NamedShape & Stop, const unsigned int Geom) Line 1621 C++
     TKCAF.dll!TNaming_Naming::Name(const TDF_Label & F, const TopoDS_Shape & S, const TopoDS_Shape & Context, const unsigned int Geom, const unsigned int KeepOrientation, const unsigned int BNProblem) Line 1824 C++
     TKCAF.dll!TNaming_Selector::Select(const TopoDS_Shape & Selection, const TopoDS_Shape & Context, const unsigned int Geometry, const unsigned int KeepOrientation) Line 359 C++
02Commenter 2
The provided description (stack frame only) is not enough for analysis.
The kept calls in stack frame just confirm that exception was raised during call of TNaming_Selector::Select() method. The last one uses 4 parameters. These parameters should be defined inside (or attached to) the issue. Besides TNaming_Selector work depends on used Document structure. Therefore we expect also a) kept document or b)code snippet creating the corresponding structure of the document.
Without mentioned above minimal information the issue can't be processed.
szy
03Commenter 2
Dear Commenter 1,

please close the bug as unable to reproduce.