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

* Re: [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2007-06-04 17:43 UTC (permalink / raw)
  To: Gregory Marton; +Cc: bug-guile

() Gregory Marton <INVALID.NOREPLY@gnu.org>
() Sun, 03 Jun 2007 01:29:35 +0000

   This used to work in guile 1.3.4 but I haven't
   checked the versions in between.

data point:

 guile> (version)
 "1.4.1.107.9.0.7"
 guile> (regexp-exec (make-regexp ".") (string #\nul))
 #f
 
thi


_______________________________________________
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

* [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2007-06-05  8:01 UTC (permalink / raw)
  To: Ludovic Courtès, Gregory Marton, bug-guile


Update of bug #20056 (project guile):

             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Hi,

This was fixed in CVS `HEAD' and `branch_release-1-8' on 2007-01-16.  So the
fix will appear in the next stable release.

Thanks,
Ludovic.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par 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

* [bug #20056] guile 1.8.1 regular expressions die on #nul (character zero) in operand
  2007-06-05  8:01 ` Ludovic Courtès
@ 2007-06-05 10:14   ` Gregory Marton
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory Marton @ 2007-06-05 10:14 UTC (permalink / raw)
  To: Ludovic Courtès, Gregory Marton, bug-guile


Follow-up Comment #2, bug #20056 (project guile):

Thank you.

    _______________________________________________________

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