bugGuile - Bugs: bug #20056, guile 1.8.1 regular expressions...

 
 

bug #20056: guile 1.8.1 regular expressions die on #\nul (character zero) in operand

Submitted by:  Gregory Marton <gremio>
Submitted on:  Sun 03 Jun 2007 01:29:33 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 05 Jun 2007 10:14:20 AM UTC, comment #2:

Thank you.

Gregory Marton <gremio>
Tue 05 Jun 2007 08:01:51 AM UTC, 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.

Ludovic Courtès <civodul>
Project Administrator
Sun 03 Jun 2007 01:29:33 AM UTC, original submission:

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

Gregory Marton <gremio>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by civodul (Posted a comment)
  • -unavailable- added by gremio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 05 Jun 2007 08:01:51 AM UTCcivodulOpen/ClosedOpen=>Closed
    Sun 03 Jun 2007 01:29:33 AM UTCgremioCarbon-Copy-=>Added gremio

    Back to the top


    Powered by Savane 3.1-cleanup1