Skip to content

Infinite loop with new Progress reporting #96

Description

@jordan-walters

Describe the bug
New line of code added to src/GDTFManager.cpp in function: bool GdtfFixture::ImportFromZip(IZIPFilePtr& zipfile), line 7763

this->GetFileNodesCount( fixtureNode );

This never exits - infinite loop.

To Reproduce
Call libMVRgdtf with a .gdtf file

IGdtfFixturePtr gdtfRead(IID_IGdtfFixture); bSuccess = __checkVCOM(gdtfRead->ReadFromFile(filename.c_str()));

Expected behavior
this->GetFileNodesCount( fixtureNode ); should exit having counted all xml nodes.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
Commenting out the call to this->GetFileNodesCount( fixtureNode ); successfully loads the gdtf data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugLib does not follow spec

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions