10 Jun
2013
10 Jun
'13
12:21 a.m.
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@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/