[cmaster-next] [PATCH 7/9] lib: Fix thread_execute_crash