Skip to content
Snippets Groups Projects
Commit a178f2f5 authored by Dominik Karol Piątkowski's avatar Dominik Karol Piątkowski
Browse files

lib/eudebug: Fix xe_eudebug_client_stop corner case


After `token_signal(c->p_in, CLIENT_STOP, c->pid)`, the client is
expected to end its work and exit. By the time the waitpid() is called,
the client process may be gone already, resulting in a failed assert.

Fix it by skipping the assert in case of errno being ECHILD, meaning
the process already exited.

Signed-off-by: default avatarDominik Karol Piątkowski <dominik.karol.piatkowski@intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
parent e677c521
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment