mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Regarding SIGSEGV
@ 2011-02-02  7:08 Sri Ram Vemulpali
  2011-02-05 14:39 ` Corrado Zoccolo
  0 siblings, 1 reply; 2+ messages in thread
From: Sri Ram Vemulpali @ 2011-02-02  7:08 UTC (permalink / raw)
  To: Kernel-newbies, linux-kernel-mail

Hi all,

       I know that when a thread in an application do invalid memory
reference, OS generates SIGSEGV(segmentation fault) signal and
terminates application. What if we handle this signal by defining a
signal handler to perform to terminate only the thread did invalid
memory reference. So, that the application will not be terminated.
Also, is there any way, we can find when SIGSEGV is generated to get
the invalid memory reference and thread id, who caused this fault. I
know debuggers are written in such fashion. Can anyone point me to
right direction. Thanks in advance.

-- 
Regards,
Sri.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-05 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-02  7:08 Regarding SIGSEGV Sri Ram Vemulpali
2011-02-05 14:39 ` Corrado Zoccolo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®