bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30162] "abort to unknown prompt" can be infinitely recursive


From: Mike Gran
Subject: [bug #30162] "abort to unknown prompt" can be infinitely recursive
Date: Thu, 17 Jun 2010 03:57:34 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]