unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: rms@gnu.org
Cc: Chong Yidong <cyd@stupidchicken.com>,
	jan.h.d@swipnet.se, emacs-devel@gnu.org
Subject: Re: crash: x_error_quitter
Date: Mon, 14 May 2007 10:40:23 +0200	[thread overview]
Message-ID: <86r6pjyf0o.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <E1HnVcN-0000JR-1B@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 14 May 2007 04\:09\:19 -0400")

Richard Stallman <rms@gnu.org> writes:

>     What's wrong with spitting out an error message to the terminal and
>     trying to continue, as I believe other X programs do?
>
> Users are not likely to report it or debug it.

Frankly, users are not likely to report or debug a crash, anyway.  And
then there is the problem that post-mortem debugging of abort calls or
failed assertions is typically completely unreliable (at least without
-fno-crossjumping and likely some other options) because gcc knows
that abort can't return and will, for that reason, just jump to any
old abort call, and without bothering to keep the stack frame in a
useful state.  Which means that the traceback is likely completely
wrong, and local variables, in particular those that have been stored
in registers, are also completely unusable.

So we are not likely to get useful bug reports, anyway, unless the
person compiled Emacs herself and made judicious use of options as
suggested in etc/DEBUG.

-- 
David Kastrup

  reply	other threads:[~2007-05-14  8:40 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 18:05 crash: x_error_quitter sds
2007-05-11 18:48 ` Richard Stallman
2007-05-11 18:56   ` Sam Steingold
2007-05-12 16:47     ` Richard Stallman
2007-05-11 20:02 ` Chong Yidong
2007-05-12  6:51   ` Jan Djärv
2007-05-12 16:47   ` Richard Stallman
2007-05-12 23:31     ` Chong Yidong
2007-05-12 23:36       ` Chong Yidong
2007-05-13 13:29         ` Jan Djärv
2007-05-13 13:41         ` Chong Yidong
2007-05-13 13:00       ` Jan Djärv
2007-05-13 13:52         ` Chong Yidong
2007-05-13 15:33           ` Jan Djärv
2007-05-14  8:09           ` Richard Stallman
2007-05-14  8:40             ` David Kastrup [this message]
2007-05-15  9:47               ` Richard Stallman
2007-05-15  9:59                 ` David Kastrup
2007-05-16  1:39                   ` Richard Stallman
2007-05-16  6:58                     ` David Kastrup
2007-05-16 14:32                       ` Richard Stallman
2007-05-16 18:04                       ` Eli Zaretskii
2007-05-16 21:42                         ` David Kastrup

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86r6pjyf0o.fsf@lola.quinscape.zz \
    --to=dak@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=rms@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).