unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand
@ 2007-06-03  1:29 Gregory Marton
  2007-06-04 17:43 ` Thien-Thi Nguyen
  2007-06-05  8:01 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Gregory Marton @ 2007-06-03  1:29 UTC (permalink / raw)
  To: Gregory Marton, bug-guile


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/



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


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

end of thread, other threads:[~2007-06-05 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03  1:29 [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand Gregory Marton
2007-06-04 17:43 ` Thien-Thi Nguyen
2007-06-05  8:01 ` Ludovic Courtès
2007-06-05 10:14   ` Gregory Marton

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