From: Mike Gran <INVALID.NOREPLY@gnu.org>
To: Mike Gran <spk121@yahoo.com>, bug-guile@gnu.org
Subject: [bug #30162] "abort to unknown prompt" can be infinitely recursive
Date: Thu, 17 Jun 2010 03:57:34 +0000 [thread overview]
Message-ID: <20100617-035733.sv73118.9655@savannah.gnu.org> (raw)
In-Reply-To:
URL:
<http://savannah.gnu.org/bugs/?30162>
Summary: "abort to unknown prompt" can be infinitely
recursive
Project: Guile
Submitted by: mike121
Submitted on: Thu 17 Jun 2010 03:57:33 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It appears that aborting to a unknown prompt when no prompt yet exists will
cause a recursive overflow leading to segfault.
To see the bug, try replacing (srcdir)/module/ice-9/eval.go with a zero
length file. This will cause an "object file too small" error to be thrown
from make_objcode_by_mmap() before a prompt exists.
It may be that the commit "remove internal treatment of default prompt tag"
c6a32a2cd59190dcf17c7fb3022588f56079a03e may have removed code that was
necessary after all. But that's just a guess.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30162>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
next reply other threads:[~2010-06-17 3:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 3:57 Mike Gran [this message]
2010-06-20 16:15 ` [bug #30162] "abort to unknown prompt" can be infinitely recursive Ludovic Courtès
2010-06-20 18:35 ` Mike Gran
2011-01-23 15:30 ` Mike Gran
2011-02-09 22:33 ` Andy Wingo
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100617-035733.sv73118.9655@savannah.gnu.org \
--to=invalid.noreply@gnu.org \
--cc=bug-guile@gnu.org \
--cc=spk121@yahoo.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.
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).