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
PID26196
PPID16382
Unique ID0xde5
Text160 bytes in 1 blocks are still reachable in loss record 3,556 of 4,065
Auxiliary
Suppression{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:PXAllocate2
   fun:PXInitializeAdjoint
   fun:PXInitializePre
   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
FunctionPXInitializeAdjoint
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXOutputFunctional.c:4856
Code
4846   /*---------------------*/
4847   /* Initialize Adjoints */
4848   /*---------------------*/
4849 
4850   if (NAdjOutput > 0){
4851 
4852     /* Set NAdjOutput in pxa structure */
4853     pxa->NAdjOutput = NAdjOutput;
4854 
4855     /* Set AdjOutputName in pxa structure */
4856     PXErrorReturnPXAllocate2pxa->NAdjOutput, PX_MAXSTRLEN, sizeof(char)(void **)&(pxa->AdjOutputName) ) );
4857     memsetpxa->AdjOutputName[0]'\0', pxa->NAdjOutput*PX_MAXSTRLEN );
4858 
4859     /* Notify user that this is an adjoint run */
4860     PXPrintf("Adjoint Run, NAdjOutput = %d (", pxa->NAdjOutput);
4861 

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXInitializePre
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXRunSolver.c:271
Code
0261      Get myRank */
0262   PXErrorReturnPXGetmyRanknumProcs(&myRank, NULL) );
0263   if(myRank == 0)
0264     Dim = pxa->pg->Dim;
0265 
0266   /* Broadcast pg->Dim to all processors from proc0 */
0267   PXErrorReturn(PXBcast(&Dim, sizeof(int)0));
0268   PXErrorReturnPXInitializePolynomialPrecalcStruct(Dim, &(pxa->pps)) );
0269 
0270   /* Initialize adjoint */
0271   PXErrorReturnPXInitializeAdjointpxa ) );
0272 
0273   /* Write header to adapthist file */
0274   PXErrorReturnPXWriteAdaptHistHeader(pxa) );
0275 
0276   /* Initialize global sensitivity structure */

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:956
Code
0946     PXPrintf("Where casename is the name of the job file.\n");
0947     PXPrintf("\n");
0948     return PX_READWRITE_ERROR;
0949   }
0950 
0951 #ifdef PX_SHADOW
0952   printf("\nWARNING: You Are Running With Shadow Basis Turned On.\n\n");
0953 #endif
0954 
0955   /* Perform non-repeated initializations */
0956   PXErrorReturnPXInitializePreJobFile, &pxa ) );
0957 #ifdef PX_TIMING
0958   PXBarrier();
0959   c1=PXclock();
0960   PXPrintf("Time : (InitializePre) = %f\n",  c1 - c0 );
0961 #endif