Open Schroedi opened 6 years ago
I would like to use libigl but get memory errors ("^tetrahedralize: TETGEN CRASHED... KABOOOM!!! malloc_consolidate(): invalid chunk size").
For debugging I try to run the unit tests but they stop with a failed assertion:
$ GTEST_COLOR=1 ctest --verbose
[...] 1: [ RUN ] all_meshes/upsample.V_comes_first_F_ordering/truck_obj 1: igl_tests: /mnt/ascadian/geomtools/libigl-unit-tests/libigl/external/eigen/Eigen/src/Core/DenseCoeffsBase.h:337: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::DenseCoeffsBase<Derived, 1>::Index, Eigen::DenseCoeffsBase<Derived, 1>::Index) [with Derived = Eigen::Matrix<int, -1, -1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = int; Eigen::DenseCoeffsBase<Derived, 1>::Index = long int]: Assertion `row >= 0 && row < rows() && col >= 0 && col < cols()' failed. 1/1 Test #1: run_igl_tests ....................***Exception: Other 17.16 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 17.17 sec The following tests FAILED: 1 - run_igl_tests (OTHER_FAULT) Errors while running CTest
[...] 1: [ RUN ] all_meshes/upsample.V_comes_first_F_ordering/truck_obj 1: igl_tests: /mnt/ascadian/geomtools/libigl-unit-tests/libigl/external/eigen/Eigen/src/Core/DenseCoeffsBase.h:337: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::DenseCoeffsBase<Derived, 1>::Index, Eigen::DenseCoeffsBase<Derived, 1>::Index) [with Derived = Eigen::Matrix<int, -1, -1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = int; Eigen::DenseCoeffsBase<Derived, 1>::Index = long int]: Assertion `row >= 0 && row < rows() && col >= 0 && col < cols()' failed. 1/1 Test #1: run_igl_tests ....................***Exception: Other 17.16 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 17.17 sec
The following tests FAILED: 1 - run_igl_tests (OTHER_FAULT) Errors while running CTest
I tried to run them on Arch Linux with different compilers and Ubuntu 17.10 with gcc 7.2.
Do you have any idea what could cause the problem or how to debug it better?
I would like to use libigl but get memory errors ("^tetrahedralize: TETGEN CRASHED... KABOOOM!!! malloc_consolidate(): invalid chunk size").
For debugging I try to run the unit tests but they stop with a failed assertion:
$ GTEST_COLOR=1 ctest --verbose
I tried to run them on Arch Linux with different compilers and Ubuntu 17.10 with gcc 7.2.
Do you have any idea what could cause the problem or how to debug it better?