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 ID0xf3e
Text200 bytes in 1 blocks are still reachable in loss record 3,901 of 4,624
Auxiliary
Suppression{
   <insert_a_suppression_name_here>
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   fun:PXAllocate
   fun:PXCreateGrid
   fun:PXCreateAll
   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
FunctionPXAllocate
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/Fundamentals/PXMemory.c:99
Code
089 
090 
091   tot = n*size;
092   
093   if (likely(tot)){
094     if (unlikely(n<0)){
095       printf("Error, requesting allocation of negative memory size.\n"); fflush(stdout);
096       *po = NULL;
097       return PXError(PX_MEMORY_ERROR);
098     }
099     else if unlikely(( _po = (char *)malloc(tot)) == NULL) ){
100       *po = NULL;
101       return PXError(PX_MEMORY_ERROR);
102     }
103   }
104   *po = (void *_po;

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXCreateGrid
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/Grid/PXGrid.c:317
Code
0307 
0308 
0309 
0310 /******************************************************************/
0311 //   FUNCTION Definition: PXCreateGrid
0312 int
0313 PXCreateGridPX_Grid **pg)
0314 {
0315 
0316   /* Allocate Grid Structure */
0317   PXErrorReturnPXAllocate1, sizeof(PX_Grid)(void **)&(*pg) ) );
0318 
0319   /* Zero out Grid */
0320   (*pg)->Dim = 0;
0321   (*pg)->type = PXE_NotSet;
0322   (*pg)->nAttachment = 0;

Object/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/platforms/relwithdebinfo_gnu/bin/ProjectXExec
FunctionPXCreateAll
File/Line/home1/jenkins/workspace/ProjectX_Weekly/PX_ARC/relwithdebinfo_gnu/buildnode/reynolds/src/PXCDAll.c:421
Code
0411 
0412   /* Create EquationSetEntryStruct */
0413   PXErrorReturnPXCreateEqnSetEntryStruct&((*pxa)->EqnSetEntryStruct) ) );
0414   (*pxa)->EqnSetStruct = (void *NULL;
0415 
0416   /*----------------*/
0417   /* Grid Structure */
0418   /*----------------*/
0419 
0420   PXErrorReturnPXCreateGrid&((*pxa)->pg) ) );
0421   PXErrorReturnPXCreateGrid&((*pxa)->pgIC) ) );
0422 
0423   /*----------------*/
0424   /* Polynomial/Quadrature Precalculation Structure */
0425   /* This is initialized in PXInitializePre because the
0426      spatial dimension must be known at creation-time. */

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:222
Code
0212   /* Read Job file parameters */
0213   PXErrorReturnPXReadJobFileParametersJobFile, &JobFileParameter ) );
0214 
0215   /* Read Knob file parameters */
0216   PXErrorReturnPXReadKnobFileParametersJobFileParameter, &KnobFileParameter) );
0217 
0218   /* Initialize equation set */
0219   PXErrorReturnPXInitializeEquationSetJobFileParameter ) );
0220 
0221   /* Create PX_All object */
0222   PXErrorReturnPXCreateAllppxa ) );
0223   pxa = *ppxa;
0224 
0225   /* Initialize pxa parameters */
0226   PXErrorReturnPXInitializeParameterspxa, JobFileParameter, KnobFileParameter ) );
0227 

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