Hi all, This is regarding segment fault. Is there any feature that we can allow kernel to kill only the thread that generate seg fault rather than killing whole process in which it is running. Why is that we did not implement in such way. Is there any specific reason. Thanks in advance for explanation. -- Regards, Sri.
On Mon, Jan 31, 2011 at 2:31 PM, Sri Ram Vemulpali <sri.ram.gmu06@gmail.com> wrote:
Hi all,
This is regarding segment fault. Is there any feature that we can allow kernel to kill only the thread that generate seg fault rather than killing whole process in which it is running. Why is that we did not implement in such way. Is there any specific reason. Thanks in advance for explanation.
What is the guarantee that whole process isn't hosed up ? For example let's say a global pointer became NULL and we died accessing it from 1 of the threads. I'm not sure if it would be better to have 'N' coredumps as opposed to just 1. -- Thanks - Manish
Hi.... On Tue, Feb 1, 2011 at 05:31, Sri Ram Vemulpali <sri.ram.gmu06@gmail.com> wrote:
Hi all,
This is regarding segment fault. Is there any feature that we can allow kernel to kill only the thread that generate seg fault rather than killing whole process in which it is running. Why is that we did not implement in such way. Is there any specific reason. Thanks in advance for explanation.
quite similar like Manish said, but I'll said a bit differently. Threads in same thread group is sharing same address space...and segfault...is...well, something is wrong in memory operation, thus....got the idea? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (3)
-
Manish Katiyar -
Mulyadi Santosa -
Sri Ram Vemulpali