From: Christopher Schmidt <christopher@ch.ristopher.com>
To: 11077@debbugs.gnu.org
Subject: bug#11077: 24.0.94; avl-tree--enter-balance: (wrong-type-argument arrayp nil)
Date: Fri, 23 Mar 2012 21:43:25 +0100 [thread overview]
Message-ID: <20120323204330.4C08E1FE45@saturn.ch.ristopher.com> (raw)
In-Reply-To: <20120323192804.F00471FE45@saturn.ch.ristopher.com> (Christopher Schmidt's message of "Fri, 23 Mar 2012 20:28:01 +0100")
Christopher Schmidt <christopher@ch.ristopher.com> writes:
> I have to run the body of the outer loop multiple times or increase
> the repeat count of the inner loop to trigger the error. I am not
> running out of virtual memory, though. Adding `do (garbage-collect)'
> to the outer loop does not help either.
This seems to be a bug caused by inconsistencies in the tree generated
by a specific dataset. This recipe triggers the error right away:
#+BEGIN_SRC emacs-lisp
(require 'cl)
(require 'avl-tree)
(loop with *random-state* = (vector 'cl-random-state-tag -1 30 6988712785513)
repeat 1000
with tree = (avl-tree-create (lambda (a b) (< a b)))
do (avl-tree-enter tree (random* 100000)))
#+END_SRC
Christopher
next prev parent reply other threads:[~2012-03-23 20:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 19:28 bug#11077: 24.0.94; avl-tree--enter-balance: (wrong-type-argument arrayp nil) Christopher Schmidt
2012-03-23 20:43 ` Christopher Schmidt [this message]
2012-03-27 17:59 ` Christopher Schmidt
2012-03-27 20:44 ` Stefan Monnier
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=20120323204330.4C08E1FE45@saturn.ch.ristopher.com \
--to=christopher@ch.ristopher.com \
--cc=11077@debbugs.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.