Skip to content

Valgrind Error Details

back to process details
back to processes overview
Executable/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
PID26354
PPID16382
Unique ID0x3c5
Text8 bytes in 1 blocks are still reachable in loss record 964 of 4,624
Auxiliary
Suppression{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:PXAllocate2
   fun:PXCreateAttachGRE2DInit
   fun:PXUnsteadyAdjointAllocations
   fun:PXSolveUnsteadyDualProblem
   fun:PXSolveDual
   fun:PXPSequencing
   fun:main
}

Stacktrace

Object/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
Functionmalloc
File/Line
CodeSource code not available

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXAllocate2
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/Fundamentals/PXMemory.c:146
Code
136     *po=NULL;
137     return PX_NO_ERROR;
138   }
139 
140   if ( (_po   = (char **)mallocn1*sizeof(char *) )) == NULL ){
141     *po=NULL;
142     return PXError(PX_MEMORY_ERROR);
143   }
144 
145   if (n2 != 0){
146     if ( (temp = (char  *)malloc(tot)                 ) == NULL ) {
147       free(_po;
148       *po=NULL;
149       return PXError(PX_MEMORY_ERROR);
150     }
151 

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXCreateAttachGRE2DInit
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/Grid/PXGridAttachments.c:2298
Code
2288   int StateRank=0;
2289   int iGRE1, iGRE2;
2290   char title[PX_MAXSTRLEN];      // Attachment title
2291   char titleGRE1[PX_MAXSTRLEN];      // Attachment title
2292   char titleGRE2[PX_MAXSTRLEN];      // Attachment title
2293   PX_AttachmentGlobRealElem ***GREDArray=NULL;
2294   PX_AttachmentGlobRealElem **pGREData12=NULL;
2295   PX_AttachmentGlobRealElem *GREData12=NULL;
2296   PX_AttachmentGlobRealElem *GREDInit12=NULL;
2297 
2298   PXErrorReturnPXAllocate2nGRE1, nGRE2, sizeof(PX_AttachmentGlobRealElem *),
2299                               (void **)pGREDArray ) );
2300 
2301   if Init1Flag == PXE_True ){
2302     /* Initialize from a single attachment */
2303     if orderIn != NULL )

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXUnsteadyAdjointAllocations
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXSolver.c:5498
Code
05488       *pStageAdjRes == NULL ){
05489 
05490     memsettitle, '\0', PX_MAXSTRLEN );
05491     sprintf(title,"AdjResidual");
05492     titlePass = LocOnlyFlag==PXE_True ? NULL : title ;
05493     LocFlag = LocOnlyFlag;
05494     SaveToFileFlag = PXE_True;
05495     DataType = PXE_AttachmentDataType_Other;
05496     Init1Flag = PXE_False;
05497     TransferFlag = PXE_False;
05498     PXErrorReturnPXCreateAttachGRE2DInitpg, LocFlag, titlePass, order,
05499                                             StateRank, currentTime,
05500                                             stepIndex,
05501                                             DataType, SaveToFileFlag,
05502                                             nStage, nAdjOutput,
05503                                             NULL, pxa->AdjOutputName,

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXSolveUnsteadyDualProblem
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXSolver.c:10642
Code
10632   StateRank = State->StateRank;
10633 
10634   /* Allocate local primal attachments (just need primal stages) */
10635   PXErrorReturn(
10636       PXUnsteadyPrimalAllocationspxa, UnsteadyStruct,
10637                                    -1, PXE_True, StateRank, order, &StageState, &PrevState,
10638                                    NULL, NULL, NULL, NULL, NULL ) );
10639 
10640 
10641   /* Adjoint GRE allocations (steady and unsteady) */
10642   PXErrorReturnPXUnsteadyAdjointAllocationspxa, UnsteadyStruct,
10643                                                -1, PXE_False, StateRank, order,
10644                                                &StageAdjState, &StageAdjRes,
10645                                                &AdjSource,
10646                                                &NextStageAdjState ) );
10647 

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXSolveDual
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXRunSolver.c:529
Code
0519   PXErrorReturnPXGetKeyValueIntpxa->Parameter, "AdaptIter", &AdaptIter ) );
0520 
0521   /*--------------------*/
0522   /* Solve Dual Problem */
0523   /*--------------------*/
0524 
0525   PXPrintf("\n*************\n");
0526   PXPrintf(  " Dual Solver \n");
0527   PXPrintf(  "*************\n");
0528 
0529   PXErrorReturnPXSolveUnsteadyDualProblem(pxa, &AdaptFlag, &ConvergedFlag) );
0530 
0531   /*-------------------*/
0532   /* Write Output File */
0533   /*-------------------*/
0534 

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXPSequencing
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXRunSolver.c:710
Code
0700       if iSolOrder == SolOrder ){
0701   iAdaptFlag = AdaptFlag;
0702       else {
0703   iAdaptFlag = PXE_False;
0704       }
0705 
0706 #ifdef PX_TIMING
0707     PXBarrier();
0708     c0 = PXclock();
0709 #endif
0710       PXErrorReturnPXSolveDual(pxa, iAdaptFlag, aiter, &ConvergedFlag, &iSolOrder) );
0711 #ifdef PX_TIMING
0712     PXBarrier();
0713     c1 = PXclock();
0714     PXPrintf("Time : (DualSolveTotal) = %f\n", c1-c0 );
0715 #endif

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
Functionmain
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXRunSolver.c:999
Code
0989     PXErrorReturnPXInitializeAdaptIterpxa, aiter ) );
0990     //pg = pxa->pg;
0991 
0992 #ifdef PX_TIMING
0993     PXBarrier();
0994     c2=PXclock();
0995     PXPrintf("Time : (InitializeAdaptIter) = %f\n", c2 - c1 );
0996 #endif
0997 
0998     /* Perform PSequencing */
0999     PXErrorReturnPXPSequencingpxa, AdaptFlag, aiter, &ConvergedFlag ) );
1000 
1001 #ifdef PX_TIMING
1002     PXBarrier();
1003     c1=PXclock();
1004     PXPrintf("Time : (PXPSequencing) = %f\n",  c1 - c2);