bug-guile
[Top][All Lists]
Advanced

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

[bug #20056] guile 1.8.1 regular expressions die on #nul (character zero


From: Gregory Marton
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
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

URL:
  <http://savannah.gnu.org/bugs/?20056>

                 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:

  <http://savannah.gnu.org/bugs/?20056>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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