'std::bad_alloc' error in several tests
Hi am trying to compile the master branch, but when I go to test it everything works except for about some tests. it appears that they are all related to the code throwing 'std::bad_alloc'. Can anyone point me to something that might help me resolve this? Ubuntu 16.04, openmpi, most modules in cmake are on except python, CCM, CFI, Metis, petsc are off. using external OCE, and vtk. I tried a clean rebuild, and several other variants without there being any change. I tried to debug one of the tests using gdb without much clarity. 1 - NekMesh_Nektar++/InvalidTetFace (Failed) 2 - NekMesh_Nektar++/InvalidQuads (Failed) 3 - NekMesh_Nektar++/Tube45Refinement (Failed) 4 - NekMesh_Nektar++/Tube45Refinement_extractsurf (Failed) 5 - NekMesh_Nektar++/CylQuadBl (Failed) 35 - NekMesh_MeshGen/cylinder (Failed) 36 - NekMesh_MeshGen/sphere (Failed) 37 - NekMesh_MeshGen/2d-cad (Failed) 38 - NekMesh_MeshGen/2d-naca (Failed) 39 - NekMesh_MeshGen/geo (Failed) 40 - NekMesh_MeshGen/t106c (Failed) 41 - NekMesh_MeshGen/t106step (Failed) 43 - FieldConvert_chan3D_interppointsplane (Failed) 44 - FieldConvert_chan3D_interppointsbox (Failed) 46 - FieldConvert_bfs_probe (Failed) 52 - FieldConvert_chan3D_csv (Failed) 53 - FieldConvert_chan3D_pts (Failed) 58 - FieldConvert_chan3D_probe (Failed) 63 - FieldConvert_interpfield (Failed) 72 - FieldConvert_chan3D_interppointsplane_par (Failed) 73 - FieldConvert_chan3D_interppointsbox_par (Failed) 329 - IncNavierStokesSolver_Cyl_AdaptiveSFD (Failed) 558 - tutorial_basics-advection-diffusion-msh-align (Failed) 568 - tutorial_fundamentals-integration-std1D-python (Failed) 569 - tutorial_fundamentals-integration-std2D-python (Failed) 570 - tutorial_fundamentals-integration-loc2D-python (Failed) 571 - tutorial_fundamentals-differentiation-std1D-python (Failed) 572 - tutorial_fundamentals-differentiation-std2D-python (Failed) 573 - tutorial_fundamentals-differentiation-loc2D-python (Failed) 583 - tutorial_mesh-generation-2d-step (Failed) Regards, ~Kurt -- Kurt Sansom
Hi Kurt, This error is typically thrown when your system has insufficient memory available to satisfy the requirements of a memory allocation request, or an attempt is made to allocate a block of memory of size 0. It is likely to be the same problem across all tests. If you could send the output of running 'ctest --output-on-failure -R NekMesh_Nektar++', that might give us a clue. Beyond that, running one of the tests through a debugger and examining the backtrace would be the next step. Cheers, Chris On Mon, 21 Jan 2019 15:22:55 -0800, Kurt Sansom <kayarre@gmail.com> wrote:
Hi am trying to compile the master branch, but when I go to test it everything works except for about some tests. it appears that they are all related to the code throwing 'std::bad_alloc'.
Can anyone point me to something that might help me resolve this?
Ubuntu 16.04, openmpi, most modules in cmake are on except python, CCM, CFI, Metis, petsc are off. using external OCE, and vtk.
I tried a clean rebuild, and several other variants without there being any change. I tried to debug one of the tests using gdb without much clarity.
1 - NekMesh_Nektar++/InvalidTetFace (Failed) 2 - NekMesh_Nektar++/InvalidQuads (Failed) 3 - NekMesh_Nektar++/Tube45Refinement (Failed) 4 - NekMesh_Nektar++/Tube45Refinement_extractsurf (Failed) 5 - NekMesh_Nektar++/CylQuadBl (Failed) 35 - NekMesh_MeshGen/cylinder (Failed) 36 - NekMesh_MeshGen/sphere (Failed) 37 - NekMesh_MeshGen/2d-cad (Failed) 38 - NekMesh_MeshGen/2d-naca (Failed) 39 - NekMesh_MeshGen/geo (Failed) 40 - NekMesh_MeshGen/t106c (Failed) 41 - NekMesh_MeshGen/t106step (Failed) 43 - FieldConvert_chan3D_interppointsplane (Failed) 44 - FieldConvert_chan3D_interppointsbox (Failed) 46 - FieldConvert_bfs_probe (Failed) 52 - FieldConvert_chan3D_csv (Failed) 53 - FieldConvert_chan3D_pts (Failed) 58 - FieldConvert_chan3D_probe (Failed) 63 - FieldConvert_interpfield (Failed) 72 - FieldConvert_chan3D_interppointsplane_par (Failed) 73 - FieldConvert_chan3D_interppointsbox_par (Failed) 329 - IncNavierStokesSolver_Cyl_AdaptiveSFD (Failed) 558 - tutorial_basics-advection-diffusion-msh-align (Failed) 568 - tutorial_fundamentals-integration-std1D-python (Failed) 569 - tutorial_fundamentals-integration-std2D-python (Failed) 570 - tutorial_fundamentals-integration-loc2D-python (Failed) 571 - tutorial_fundamentals-differentiation-std1D-python (Failed) 572 - tutorial_fundamentals-differentiation-std2D-python (Failed) 573 - tutorial_fundamentals-differentiation-loc2D-python (Failed) 583 - tutorial_mesh-generation-2d-step (Failed)
Regards, ~Kurt -- Kurt Sansom
-- Chris Cantwell Imperial College London South Kensington Campus London SW7 2AZ Email: c.cantwell@imperial.ac.uk www.imperial.ac.uk/people/c.cantwell
participants (2)
- 
                
                Chris Cantwell
- 
                
                Kurt Sansom