Anonymous | Login | 2021-01-20 07:40 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0025280 | Community | [OCCT] OCCT:Data Exchange | public | 2014-09-27 00:37 | 2020-12-02 17:11 | ||||
Reporter | nikiml | ||||||||
Assigned To | abv | ||||||||
Priority | normal | Severity | crash | ||||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows | OS | VC++ 2008 | OS Version | 64 bit | ||||
Product Version | [OCCT] 6.7.1 | ||||||||
Target Version | [OCCT] 7.5.0 | Fixed in Version | [OCCT] 7.5.0 | ||||||
Summary | 0025280: Data Exchange - Interface_BitMap::Init crashes | ||||||||
Description | Interface_BitMap bm(0); bm.Init(Standard_False);//crashes due to theflags.IsNull() being true this code is called by: Interface_CopyTool::Interface_CopyTool (const Handle(Interface_InterfaceModel)& amodel, const Interface_GeneralLib& lib) when amodel is empty called by: StepData_StepModel::GetFromAnother (const Handle_Interface_InterfaceModel & other ) called by: Interface_CopyTool::FillModel(const Handle_Interface_InterfaceModel & bmodel) called by IFSelect_ModelCopier::SendSelected (const char * const filename , const Interface_Graph & G , const Handle_IFSelect_WorkLibrary & WL , const Handle_Interface_Protocol & protocol , const Interface_EntityIterator & list) called by IFSelect_WorkSession::SendSelected (const char * const filename , const Handle_IFSelect_Selection & sel , const unsigned int computegraph) | ||||||||
Steps To Reproduce | Just Call IFSelect_WorkSession::SendSelected with valid model and selection, e.gIFSelect_ReturnStatus stat = reader.ReadFile(attached_step_file_or_another_one_with_solids); Handle_XSControl_WorkSession RWS = reader.WS(); Handle_IFSelect_SelectPointed sp = new IFSelect_SelectPointed; Handle_Interface_InterfaceModel Model = RWS->Model(); Handle_Standard_Type tGRI = STANDARD_TYPE(StepShape_SolidModel); Standard_Integer nb = Model->NbEntities(); for (Standard_Integer i = 1; i <= nb; i ++) { Handle_Standard_Transient enti = Model->Value(i); if ( ! enti->IsKind ( tGRI) ) continue; Handle_StepGeom_GeometricRepresentationItem gri = Handle_StepGeom_GeometricRepresentationItem::DownCast(enti); sp->SetEntity(gri); break; } STEPControl_Writer writer(RWS, Standard_False); writer.WS()->WriteFile(valid_outfile, sp); | ||||||||
Tags | No tags attached. | ||||||||
Test case number | |||||||||
Attached Files | ![]() | ||||||||
![]() |
|||||||
|
![]() |
|
(0095769) abv (manager) 2020-10-06 22:46 |
Should be fixed with 0030378 |
(0096327) abv (manager) 2020-10-28 09:39 |
Fixed on current master (tested using the code above) |
![]() |
|||
Date Modified | Username | Field | Change |
2014-09-27 00:37 | nikiml | New Issue | |
2014-09-27 00:37 | nikiml | Assigned To | => gka |
2014-09-27 00:37 | nikiml | File Added: l3.7z | |
2020-10-06 22:45 | abv | Relationship added | has duplicate 0030378 |
2020-10-06 22:46 | abv | Note Added: 0095769 | |
2020-10-06 22:46 | abv | Target Version | => 7.5.0 |
2020-10-12 17:59 | kgv | Summary | Interface_BitMap::Init crashes => Data Exchange - Interface_BitMap::Init crashes |
2020-10-12 18:00 | kgv | Description Updated | View Revisions |
2020-10-12 18:00 | kgv | Steps to Reproduce Updated | View Revisions |
2020-10-13 09:35 | abv | Assigned To | gka => abv |
2020-10-28 09:39 | abv | Note Added: 0096327 | |
2020-10-28 09:39 | abv | Status | new => resolved |
2020-10-28 09:39 | abv | Resolution | open => fixed |
2020-10-28 09:39 | abv | Status | resolved => reviewed |
2020-10-28 09:39 | abv | Status | reviewed => verified |
2020-12-02 16:22 | emo | Fixed in Version | => 7.5.0 |
2020-12-02 17:11 | emo | Status | verified => closed |
Copyright © 2000 - 2021 MantisBT Team |