From: David Kastrup <dak@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-pretest-bug@gnu.org, r.thiel@uni-jena.de,
Jason Rumney <jasonr@gnu.org>
Subject: Re: GNU Emacs crashes with longlines-mode and outline-mode
Date: Mon, 24 Sep 2007 09:52:59 +0200 [thread overview]
Message-ID: <86k5qgwld0.fsf@lola.quinscape.zz> (raw)
In-Reply-To: <mqir60v9j7.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon\, 24 Sep 2007 02\:53\:48 -0400")
Glenn Morris <rgm@gnu.org> writes:
> David Kastrup wrote:
>
>> Have you compiled with -fno-thread-jumps? Because otherwise the stack
>> traceback from failed assertions will be nonsense since gcc will reuse
>> the same abort call for every assertion.
>
> Please could you document this incantation, together with an
> explanation, somewhere in the information on debugging Emacs. Thanks.
Have you looked in etc/DEBUG?
** When you are trying to analyze failed assertions, it will be
essential to compile Emacs either completely without optimizations or
at least (when using GCC) with the -fno-crossjumping option. Failure
to do so may make the compiler recycle the same abort call for all
assertions in a given function, rendering the stack backtrace useless
for identifying the specific failed assertion.
Oops. So I misremembered the option name: thread-jumping seems
actually harmless. So replace my above question with the same using
-fno-crossjumping. Sorry for the confusion.
--
David Kastrup
next prev parent reply other threads:[~2007-09-24 7:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-22 7:22 GNU NT-Emacs crashes with longlines-mode and outline-mode Rainer Thiel
2007-09-23 0:19 ` Jason Rumney
2007-09-23 22:11 ` GNU Emacs " Jason Rumney
2007-09-24 6:10 ` David Kastrup
2007-09-24 6:53 ` Glenn Morris
2007-09-24 7:52 ` David Kastrup [this message]
2007-09-24 19:14 ` Glenn Morris
2007-09-24 7:03 ` Jason Rumney
2007-09-24 10:47 ` Jason Rumney
2007-09-24 23:17 ` Jason Rumney
2007-10-01 1:37 ` Richard Stallman
2007-10-01 9:48 ` Jason Rumney
2007-10-02 9:34 ` Johan Bockgård
2007-10-02 10:05 ` Jason Rumney
2007-10-08 18:04 ` Richard Stallman
2007-10-09 10:17 ` Jason Rumney
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=86k5qgwld0.fsf@lola.quinscape.zz \
--to=dak@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=jasonr@gnu.org \
--cc=r.thiel@uni-jena.de \
--cc=rgm@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).