From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Reitter <david.reitter@gmail.com>
Cc: 7920@debbugs.gnu.org, edgar.goncalves@gmail.com
Subject: bug#7920: 24.0.50; Crash in balance_an_interval + 26
Date: Wed, 26 Jan 2011 22:31:42 -0500 [thread overview]
Message-ID: <jwv62tbm3lg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <066CE4A2-8802-4B25-B51D-5E9DD732A288@gmail.com> (David Reitter's message of "Wed, 26 Jan 2011 10:14:45 -0500")
Looking at the backtrace, the crash is probably not really in
balance_an_interval; instead what happened is that Emacs got stuck in an
infinite recursion and the OS killed the process when it reached the
maximum allowed stack depth, which happened to be when Emacs was in
balance_an_interval.
I couldn't find any user-provided info in the bug-report, is that right?
If I understand the backtrace right, it seems that the infinite
recursion went through `funcall', so it was an infinite recursion within
Elisp, and those are supposed to be caught before reaching the
maximum allowed stack depth thanks to limits like max-specpdl-size.
So, maybe the bug is that max-specpdl-size is larger than the OS allows,
in which case we should try and figure out why that is: is it because
someone set it explicitly higher (too high), or because the OS's maximum
stack depth is lower than we thought?
Stefan
next prev parent reply other threads:[~2011-01-27 3:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <B4C0695C-5EDB-4196-A9A9-7ACF2A695634@gmail.com>
2011-01-26 15:14 ` bug#7920: 24.0.50; Crash in balance_an_interval + 26 David Reitter
2011-01-27 3:31 ` Stefan Monnier [this message]
2011-01-27 16:32 ` Edgar Gonçalves
2011-01-27 17:37 ` Stefan Monnier
2012-03-27 0:29 ` Glenn Morris
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=jwv62tbm3lg.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=7920@debbugs.gnu.org \
--cc=david.reitter@gmail.com \
--cc=edgar.goncalves@gmail.com \
/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.