In case of core dump the TLS (Thread Local Storage) is not accessible. If the stack is corrupted is very tricky to figure out where minisatip died.
This PR saves all the LOGs in a thread specific variable (last_log) which allows figuring out around where minisatip crashed.
In case of core dump the TLS (Thread Local Storage) is not accessible. If the stack is corrupted is very tricky to figure out where minisatip died. This PR saves all the LOGs in a thread specific variable (last_log) which allows figuring out around where minisatip crashed.