all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Dmitry Antipov <dmantipov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: Subtle bug in intervals code
Date: Wed, 18 Jul 2012 12:27:47 -0700	[thread overview]
Message-ID: <50070E33.4010409@cs.ucla.edu> (raw)
In-Reply-To: <83wr209awk.fsf@gnu.org>

On 07/18/2012 11:33 AM, Eli Zaretskii wrote:
> Do you have an easy test case that triggers this?

My test involves creating bool vectors of various sizes.
Usually it works, sometimes the intervals.c assert fails.
There doesn't seem to be a pattern; no single test case
always works.

That is, in *scratch* I do this:

(make-bool-vector 1000000 nil)
(make-bool-vector 1000000 nil)
(make-bool-vector 10000 nil)
(make-bool-vector 100000 nil)
(make-bool-vector 10000000 nil)

and evaluate each one in turn.  I do some more if the first
few don't dump core.  It fairly reliably dumps core eventually.

This is Fedora 15 x86-64, compiled with GCC 4.7.1,
with -g -O0 -DENABLE_CHECKING.  I ran emacs -Q
under X.



  reply	other threads:[~2012-07-18 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 11:48 Subtle bug in intervals code Dmitry Antipov
2012-07-18 13:19 ` Andreas Schwab
2012-07-18 21:35   ` Paul Eggert
2012-07-19  7:04   ` Stefan Monnier
2012-07-18 17:47 ` Eli Zaretskii
2012-07-18 18:33 ` Eli Zaretskii
2012-07-18 19:27   ` Paul Eggert [this message]
2012-07-18 19:44     ` Eli Zaretskii
2012-07-18 21:36       ` Paul Eggert

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=50070E33.4010409@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@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.