unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #30162] "abort to unknown prompt" can be infinitely recursive
@ 2010-06-17  3:57 Mike Gran
  2010-06-20 16:15 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Gran @ 2010-06-17  3:57 UTC (permalink / raw)
  To: Mike Gran, bug-guile


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/




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-09 22:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17  3:57 [bug #30162] "abort to unknown prompt" can be infinitely recursive Mike Gran
2010-06-20 16:15 ` Ludovic Courtès
2010-06-20 18:35   ` Mike Gran
2011-01-23 15:30     ` Mike Gran
2011-02-09 22:33       ` Andy Wingo

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).