linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ron Michael Khu <ronkhu@ntsp.nec.co.jp>
To: mohana sundaram <ksmoha@gmail.com>, linux-c-programming@vger.kernel.org
Subject: Re: SIGSEGV
Date: Wed, 02 Mar 2005 22:24:35 +0800	[thread overview]
Message-ID: <4225CCA3.6070107@hq.ntsp.nec.co.jp> (raw)
In-Reply-To: <7fd0b9b40503020548ac32e24@mail.gmail.com>

kaushal,
perhaps u can try making use of setjmp.h functions =)
but then perhaps ur application might have done a lot illegal memory 
access...
thus the reason for those SIGSEGV's

mohana sundaram wrote:

>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
>>
>>    
>>
>
>
>  
>


  reply	other threads:[~2005-03-02 14:24 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 ` SIGSEGV mohana sundaram
2005-03-02 14:24   ` Ron Michael Khu [this message]
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=4225CCA3.6070107@hq.ntsp.nec.co.jp \
    --to=ronkhu@ntsp.nec.co.jp \
    --cc=ksmoha@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).