Nebo test failure on OSX El Capitan
I am seeing segmentation faults in test_nebo
(from NeboTest.cpp
) under the following configuration:
- OSX 10.11.4.
- Apple LLVM version 7.3.0 (clang-703.0.31)
- boost 1.60 (also occurs with boost 1.59)
-
ENABLE_THREADS=ON
withNTHREADS
>1 - both Release and Debug. This is coming off of bigmac.
A few other observations:
- I can duplicate this on my laptop running the same version of OSX and Clang but with boost 1.54 in Debug mode, but not in Release mode.
- I cannot duplicate this on prism (linux with gcc 4.8.4) running boost 1.60.
- If I run valgrind on
test_nebo
on bigmac (threaded build), there are a ton of things that come out, but the segfault doesn't occur and the test passes. - Running valgrind on a serial build (
ENABLE_THREADS=OFF
) results in errors from valgrind such as:
libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::overflow_error> >: Error in function boost::math::erfc_inv<e>(e, e): Overflow Error
-
Executables generated through Xcode on mac do not exhibit the problem, but when run with valgrind, they crash.
-
Once this is fixed, re-enable multithreaded testing on SpatialOps.