All of lore.kernel.org
 help / color / mirror / Atom feed
From: mohana sundaram <ksmoha@gmail.com>
To: kaushal@rocsys.com
Cc: linux-c <linux-c-programming@vger.kernel.org>
Subject: Re: SIGSEGV
Date: Wed, 2 Mar 2005 19:18:23 +0530	[thread overview]
Message-ID: <7fd0b9b40503020548ac32e24@mail.gmail.com> (raw)
In-Reply-To: <1109766028.5107.5.camel@localhost.localdomain>

You should not handle SIGSEGV and continue the process execution. The
result is undefined.  Consider restarting the program afresh if your
program has to run all the time.

Thanks,
- Mohan.


On Wed, 02 Mar 2005 17:50:28 +0530, kaushal <kaushal@rocsys.com> wrote:
> Hello all,
>         I have big package which "must" run all the time irrespective of any
> errors.As a part of that Iam even handling the SIGSEGV.The problem is
> even if I handle the sigsegv,the handler gets called continuously in an
> infinite loop as if the signal is being recvd. continuously.How can I
> solve this issue and make my handle run only once?Does bash has such a
> mechanism internally?Any suggestions would be very helpful.
> Thanks in advance.
> 
> kaushal.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
The expert at anything was once a beginner.

  reply	other threads:[~2005-03-02 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 12:20 SIGSEGV kaushal
2005-03-02 13:48 ` mohana sundaram [this message]
2005-03-02 14:24   ` SIGSEGV Ron Michael Khu
2005-03-04  0:33 ` SIGSEGV Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7fd0b9b40503020548ac32e24@mail.gmail.com \
    --to=ksmoha@gmail.com \
    --cc=kaushal@rocsys.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.