-
Gilles Chanteperdrix authored
When handle_cleanup_event() is called because a thread is calling exec after a fork from a Xenomai process, handle_taskexit_event() is called before remove_process(). However, handle_taskexit_event() calls clear_threadinfo(), so that later calls to cobalt_current_process() return NULL, causing crashes in cleanup functions relying on cobalt_current_process() or cobalt_ppd_get(), such as cobalt_mutex_reclaim().
e30f30df