From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gregory Marton Newsgroups: gmane.lisp.guile.bugs Subject: [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand Date: Sun, 03 Jun 2007 01:29:35 +0000 Message-ID: <20070603-012934.sv59778.51980@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: sea.gmane.org 1180965246 22323 80.91.229.12 (4 Jun 2007 13:54:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2007 13:54:06 +0000 (UTC) To: Gregory Marton , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Jun 04 15:54:03 2007 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.50) id 1HvD0V-0004yY-G4 for guile-bugs@m.gmane.org; Mon, 04 Jun 2007 15:54:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvD0V-0004SA-3s for guile-bugs@m.gmane.org; Mon, 04 Jun 2007 09:54:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HueuX-0002jh-TS for bug-guile@gnu.org; Sat, 02 Jun 2007 21:29:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HueuW-0002hj-Ep for bug-guile@gnu.org; Sat, 02 Jun 2007 21:29:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HueuW-0002hV-C8 for bug-guile@gnu.org; Sat, 02 Jun 2007 21:29:36 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HueuW-0005GU-2X for bug-guile@gnu.org; Sat, 02 Jun 2007 21:29:36 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3] helo=frontend) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1HueuV-0006gP-Gx; Sun, 03 Jun 2007 01:29:35 +0000 Original-Received: from www-data by frontend with local (Exim 4.63) (envelope-from ) id 1HueuV-0006gL-9c; Sun, 03 Jun 2007 01:29:35 +0000 X-Savane-Server: savannah.gnu.org:443 [199.232.41.3] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 20056 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 X-Apparently-From: 66.30.8.221 (Savane authenticated user gremio) Original-References: In-Reply-To: X-detected-kernel: Linux 2.6 (newer, 1) X-Mailman-Approved-At: Mon, 04 Jun 2007 09:53:59 -0400 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:3531 Archived-At: URL: Summary: guile 1.8.1 regular expressions die on #\nul (character zero) in operand Project: Guile Submitted by: gremio Submitted on: Sunday 06/03/2007 at 01:29 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: guile> (regexp-exec (make-regexp ".") (string #\nul)) throw from within critical section. Abort trap $ guile -v Guile 1.8.1 If there is a null character anywhere in the string that any regular expression is trying to match, then guile 1.8.1 throws something that is impossible to catch, vis: guile> (catch #t (lambda () (regexp-exec (make-regexp ".") (string #\nul))) (lambda (k . v) #t)) throw from within critical section. Abort trap $ This used to work in guile 1.3.4 but I haven't checked the versions in between. Please help? Thanks, Grem _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile