zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: [Bug] ZSH segmentation fault
Date: Sun, 03 Jun 2007 17:55:01 -0700	[thread overview]
Message-ID: <070603175501.ZM16399@torch.brasslantern.com> (raw)
In-Reply-To: <200706031736.l53HaAJI003047@pws-pc.ntlworld.com>

On Jun 3,  6:36pm, Peter Stephenson wrote:
} Subject: Re: [Bug] ZSH segmentation fault
}
} DervishD wrote:
} >     While I understand that running such scripts is very unusual, I
} > think that just segfaulting is not a correct way of dealing with errors.
} 
} I didn't claim it was, indeed I think I implied the opposite.

It might suffice to have a segfault handler (possibly turned off when the
shell is compiled for debugging) which generically prints a message and
aborts cleanly rather than producing a core dump.  It's the same as far
as the end result of the script is concerned, which is why we've never
bothered with it so far, but it gives the appearance that the shell knows
what it's doing when a less-sophisticated user accidentally induces a
fault.


      parent reply	other threads:[~2007-06-04  0:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <matthieu.kermagoret@epita.fr>
2007-06-03 10:02 ` matthieu kermagoret
2007-06-03 14:30   ` Peter Stephenson
2007-06-03 16:43     ` DervishD
2007-06-03 17:36       ` Peter Stephenson
2007-06-03 19:16         ` DervishD
2007-06-04  0:55         ` Bart Schaefer [this message]

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=070603175501.ZM16399@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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