Task threads are not killed at exit

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Jun 10 00:21:50 CEST 2013


On Fri Jun 07, 2013 at 00:40:48 -0700, BogDan wrote:
> Not all the task threads are killed when a task exits or it crashes.
> I've created a  simple example here: http://paste.kde.org/760274
> After application crashes (line 22), test thread is still alive, I still can
> see "Test thread alive" message printed.

What happens is that the thread executing 'main' is having a page fault
while the other thread is doing fine. I guess exiting the app is easy in
that case but nothing left for debugging.

> If I call exit or return instead to crash the task, the test thread is still alive .

That works fine for me.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list