[WIP] updating to netgen 6.2.2004 (was smesh windows problem)
Re: [WIP] updating to netgen 6.2.2004 (was smesh windows problem)
Btw.: the uploaded win-smesh-debug-package can't be used as a replacement of the smesh-release-package. Every library is suffixed with a "d". I will try to upload a debug package which has the "d" removed.
Re: [WIP] updating to netgen 6.2.2004 (was smesh windows problem)
Just updated to:
smesh-8.3.0.3.test-py38hc60e02b_515
netgen-6.2.2004-py38h0e004c9_501
But:
Debug builds packages should enclose *.pdb files to enhance debugging experience.
Re: [WIP] updating to netgen 6.2.2004 (was smesh windows problem)
edit: netgen pdb files included in netgen-package with build-number 502
This is the command to install pdb-files with cmake for the target ngcore. Just in case someone else needs something like this in the future and for me to remember
Code: Select all
install(FILES $<TARGET_PDB_FILE:ngcore> DESTINATION bin OPTIONAL)
Code: Select all
devenv /debugexe freecad.exe
edit2: smesh with build number 516 is also updated with the necessary pdb-files. Handling this directly in the recipe is a lot easier so I will go this way:
Code: Select all
xcopy *.pdb "%LIBRARY_PREFIX%/bin" /sy)
Re: [WIP] updating to netgen 6.2.2004 (was smesh windows problem)
Ok, found the stack trace in visual-studio 2017. this helped: https://stackoverflow.com/a/7155584
Seems like the problem occurs here:
SMESH_Gen.cxx
Code: Select all
void SMESH_Gen::setCurrentSubMesh(SMESH_subMesh* sm)
{
if ( sm )
_sm_current.push_back( sm ); // <- here
else if ( !_sm_current.empty() )
_sm_current.pop_back();
}
Code: Select all
void push_back(const _Ty& _Val)
{ // insert element at end
_Insert(_Unchecked_end(), _Val);
}
Code: Select all
const _Nodeptr _Leftnode = _Rightnode->_Prev;
Code: Select all
Ausgelöste Ausnahme: Lesezugriffsverletzung
"**_Rightnode**" war "0xFFFFFFFFFFFFFFF7".