MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030013Community[OCCT] OCCT:Data Exchangepublic2018-08-03 13:402018-08-03 14:00
Reporterkamal 
Assigned Togka 
PrioritynormalSeveritycrash 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2015OS Version64 bit
Product Version[OCCT] 7.3.0 
Target VersionFixed in Version 
Summary0030013: Crash occurs on Step file import STEPControl_Reader::ReadFile
DescriptionSTEPControl_Reader::ReadFile throws exception on attached file import
Steps To ReproduceSimple STEPControl_Reader::ReadFile fails with attached step file.
Additional information
and documentation updates
Received the following messages.

*** ERR StepReaderData *** Pour Entite #628902
    Type:ORIENTED_EDGE Param.n0 4: #2147483647 Non trouve
*** ERR StepReaderData *** Pour Entite #633297
    Type:ORIENTED_EDGE Param.n0 4: #2147483647 Non trouve
Report : 354 unknown entities.
TagsNo tags attached.
Test case number
Attached Fileszip file icon 1.zip (9,646,228 bytes) 2018-08-03 13:40

- Relationships

-  Notes
(0078353)
kamal (reporter)
2018-08-03 14:00

Problem occurs in TransferRoot.

Please refer the following code:
    STEPControl_Reader aReader;
    IFSelect_ReturnStatus status = aReader.ReadFile(this->strStepFileName.c_str());
    if (status != IFSelect_RetDone)
        return nullptr;

    aReader.WS()->TransferReader()->TransientProcess()->SetTraceLevel(2); // increase default trace level

    Standard_Boolean failsonly = Standard_False;
    aReader.PrintCheckLoad(failsonly, IFSelect_ItemsByEntity);

    // Root transfers
    Standard_Integer nbr = aReader.NbRootsForTransfer();
    aReader.PrintCheckTransfer(failsonly, IFSelect_ItemsByEntity);
    for (Standard_Integer n = 1; n <= nbr; n++) {
        Standard_Boolean ok = aReader.TransferRoot(n); // Error Occurs
    }

- Issue History
Date Modified Username Field Change
2018-08-03 13:40 kamal New Issue
2018-08-03 13:40 kamal Assigned To => gka
2018-08-03 13:40 kamal File Added: 1.zip
2018-08-03 14:00 kamal Note Added: 0078353


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker