From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.bugs Subject: [bug #30162] "abort to unknown prompt" can be infinitely recursive Date: Thu, 17 Jun 2010 03:57:34 +0000 Message-ID: <20100617-035733.sv73118.9655@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1276747067 26199 80.91.229.12 (17 Jun 2010 03:57:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 03:57:47 +0000 (UTC) To: Mike Gran , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 17 05:57:45 2010 connect(): No such file or directory Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6EZ-0001oc-Eu for guile-bugs@m.gmane.org; Thu, 17 Jun 2010 05:57:43 +0200 Original-Received: from localhost ([127.0.0.1]:51881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6EZ-0007En-As for guile-bugs@m.gmane.org; Wed, 16 Jun 2010 23:57:43 -0400 Original-Received: from [140.186.70.92] (port=56744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OP6ES-0007CA-OU for bug-guile@gnu.org; Wed, 16 Jun 2010 23:57:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OP6ER-0007TV-9x for bug-guile@gnu.org; Wed, 16 Jun 2010 23:57:36 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:52252 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6ER-0007TO-8D for bug-guile@gnu.org; Wed, 16 Jun 2010 23:57:35 -0400 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OP6EQ-0003g7-JI; Thu, 17 Jun 2010 03:57:34 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1OP6EQ-0005QU-Hk; Thu, 17 Jun 2010 03:57:34 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 30162 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) X-Apparently-From: 71.140.147.138 (Savane authenticated user mike121) Original-References: In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4667 Archived-At: URL: 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: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/