Comment 1 for bug 1836558

Revision history for this message
Alex Bennée (alex-bennee) wrote :

Forgive my ignorance of the C++ threading semantics but when do these threads end? Inspection shows we do clear-up CPU and thread structures on exit. That said we do have a comment in linux-user that says:

    /* TODO: Free new CPU state if thread creation failed. */

So I wonder if thread creation is actually failing and and that is where we start leaking?