]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
Fix for SIGSEGV on Mandriva2008 in optimize mode only
authoreap <eap@opencascade.com>
Thu, 19 Aug 2010 13:28:02 +0000 (13:28 +0000)
committereap <eap@opencascade.com>
Thu, 19 Aug 2010 13:28:02 +0000 (13:28 +0000)
commit0bce8612a5b72188011b5c97f019de08c2912745
treedfb5f0d33f4365c7a65ceea5c8d2665796c6b738
parent23a1a900c30490c7bdc05ad4b755895b88f7cab4
Fix for SIGSEGV on Mandriva2008 in optimize mode only
==21300== Invalid read of size 4
==21300==    at 0x1445EA23: StdMeshers_Penta_3D::MakeVolumeMesh() (StdMeshers_Penta_3D.cxx:681)

  while (aItNodes->more()) {

It seems to be an error of optimization, aItNodes.px becomes invalid
before aItNodes->more() returns false but after the loop code is
performed for the last time.
src/StdMeshers/StdMeshers_Penta_3D.cxx