From: abv Date: Tue, 19 May 2015 04:10:35 +0000 (+0300) Subject: 0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics X-Git-Tag: V6_9_1_beta~119 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=f8fdf72ad22522f4c1cec95379dfb11f8fec4ea8;p=occt-copy.git 0026232: Multithreaded crash in IntAna_Int3Pln::Perform due to statics "Static" keyword removed from local variable declarations in IntAna_Int3Pln::Perform() --- diff --git a/src/IntAna/IntAna_Int3Pln.cxx b/src/IntAna/IntAna_Int3Pln.cxx index 15da63040f..dd6693372c 100644 --- a/src/IntAna/IntAna_Int3Pln.cxx +++ b/src/IntAna/IntAna_Int3Pln.cxx @@ -38,8 +38,8 @@ void IntAna_Int3Pln::Perform (const gp_Pln& P1, const gp_Pln& P2, const gp_Pln& P3) { done=Standard_False; - static math_Matrix M(1,3,1,3); - static math_Vector V(1,3); + math_Matrix M(1,3,1,3); + math_Vector V(1,3); P1.Coefficients(M(1,1),M(1,2),M(1,3),V(1)); P2.Coefficients(M(2,1),M(2,2),M(2,3),V(2));