Roipo / Autocuts

Mozilla Public License 2.0
36 stars 15 forks source link

Segmentation fault: 11 #5

Open charlesfleche opened 6 years ago

charlesfleche commented 6 years ago

Building on macOS 10.13.2 (17C205) clang 5.0.1, Autocuts segfaults at startup:

$ ./Autocuts_bin 
Segmentation fault: 11
allo- commented 6 years ago

I had a similar issue which came from the getenv call in main.cpp. Try replacing it with a constant or setting the environment variable OMP_NUM_THREADS.