unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: lekktu@gmail.com, 17411@debbugs.gnu.org
Subject: bug#17411: 24.4.50; emacs_backtrace.txt
Date: Mon, 12 May 2014 16:21:59 +0300	[thread overview]
Message-ID: <83ppjjt9mw.fsf@gnu.org> (raw)
In-Reply-To: <jwvsiof3cv3.fsf-monnier+emacsbugs@gnu.org>

> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: Juanma Barranquero <lekktu@gmail.com>, 17411@debbugs.gnu.org
> Date: Sun, 11 May 2014 23:26:06 -0400
> 
> >> balance_an_interval at intervals.c:436
> >> balance_intervals_internal at intervals.c:509
> >> balance_intervals_internal at intervals.c:506
> > A duplicate of 17340.
> 
> Indeed.  Both seemed to fail the "eassert (LENGTH (i) > 0);" and right
> in the middle of a tree.  I tried to add this assertion everywhere where the
> length of an interval can be changed, so we should never bump into
> a case like the above, because such a non-positive length should have
> been caught by an assertion earlier.
> 
> Evidence shows that I missed some cases, tho.  I'd be interested to see
> the stack trace before we enter GC (in case it's in the middle of some
> interval manipulation, maybe?).

You mean, this one:

   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17411#8

> It might also be interesting to look at `i' to see whether it's
> hopelessly messed up, or if it looks "incorrect but sanish".

I was unable to convince Drew to run Emacs under GDB and leave the
crashed session running to allow us ask him to look around in the
crashed session.  So I think the only practical way of obtaining this
information is to add eassert's that will tell you which one is it.





  reply	other threads:[~2014-05-12 13:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 20:08 bug#17411: 24.4.50; emacs_backtrace.txt Drew Adams
2014-05-07 15:20 ` Juanma Barranquero
2014-05-12  2:37   ` Eli Zaretskii
2014-05-12  3:26     ` Stefan Monnier
2014-05-12 13:21       ` Eli Zaretskii [this message]
2014-05-12 18:18         ` Stefan Monnier
2014-05-12 18:33           ` Eli Zaretskii
2014-05-13 19:32             ` Stefan Monnier
2014-05-13 19:54               ` Eli Zaretskii
2014-05-13 21:19                 ` Stefan Monnier
2014-05-14  2:47                   ` Eli Zaretskii
2014-05-14  3:27                     ` Stefan Monnier
2015-12-26 14:16                     ` bug#17340: " Lars Ingebrigtsen
2015-12-26 14:24                       ` Eli Zaretskii
     [not found]                 ` <<jwvbnv1s7jt.fsf-monnier+emacsbugs@gnu.org>
     [not found]                   ` <<837g5poz4o.fsf@gnu.org>
2014-05-14 14:38                     ` Drew Adams
2014-05-14 15:21                       ` Eli Zaretskii

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=83ppjjt9mw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=17411@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@IRO.UMontreal.CA \
    /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).