From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: Elusive assertion failure related to completion
Date: Wed, 02 Sep 2009 11:59:56 +0200 [thread overview]
Message-ID: <87my5d3bvn.fsf@lola.goethe.zz> (raw)
In-Reply-To: jwveiqq1buu.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> Could you check if it's triggerd by the xassert
>>>
>>> xassert (NILP (leaf_windows[i]->hchild)
>>> && NILP (leaf_windows[i]->vchild));
>
>> No, it's not :-(
>
>> I think the assertion failure is a read herring; it seems like some
>> kind of memory corruption. In fact, sometimes I just get a crash in
>> other unrelated places.
>
> Yes, looking at the code, I can't think of a way this data could be
> anything else than a symbol at that point, so it smells like
> memory corruption.
Concerning "at that point", let me quote from 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.
--
David Kastrup
next prev parent reply other threads:[~2009-09-02 9:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 1:02 Elusive assertion failure related to completion Juanma Barranquero
2009-09-01 10:00 ` martin rudalics
2009-09-01 11:33 ` Juanma Barranquero
2009-09-01 17:25 ` martin rudalics
2009-09-01 21:23 ` Juanma Barranquero
2009-09-01 23:32 ` Stefan Monnier
2009-09-02 9:59 ` David Kastrup [this message]
2009-09-02 19:35 ` Juanma Barranquero
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=87my5d3bvn.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.