A library I’m including in my code uses Eigen in turn, to run matrix operations.
In particular I’m trying to call this icp function multi-threaded with different input, using a Qt QThreadPool, and I’m facing a crash.
If running in debug I see an assertion which fails in Eigen Block.
None of this happens when running single-threaded.
I’m calling Eigen::initParallel()
before creating the QThreadPool, and I have also tried to define EIGEN_DONT_PARALLELIZE
as per documentation page, but nothing changes.
Any hints of want might be going wrong?