Closed bentsherman closed 7 years ago
The root cause was in fact the mode
function, which was not exiting a for loop under the right conditions. I suspect that this fix will solve the issue on Mac as well. I'm not really sure why this issue never occurred in Linux.
This issue has been confirmed on both Windows (MSYS2) and Mac. In some cases,
face-rec
segfaults duringdb_recognize
. On Windows, I have traced the cause tokNN
, which returns animage_label_t *
which cannot be dereferenced. The segfault occurs whendb_recognize
tries to readrec_labels[j]->name
around line 351. I am currently investigating themode
function which returns this inaccessible pointer tokNN
.