Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Ludovic Courtès
Hi! Andy Wingo writes: > On Sun 27 Mar 2011 13:56, Andy Wingo writes: > >> On Sun 27 Mar 2011 13:30, Andy Wingo writes: >> (And Guile crashes upon ,bt.) >>> >>> I wonder if this indicates some compilation bug. >> >> Indeed it does; it's a bug in Guile, not sxml-match. >> >> The following

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread nalaginrut
> On Sun 27 Mar 2011 13:56, Andy Wingo writes: > > > On Sun 27 Mar 2011 13:30, Andy Wingo writes: > > > >>> (And Guile crashes upon ,bt.) > >> > >> I wonder if this indicates some compilation bug. > > > > Indeed it does; it's a bug in Guile, not sxml-match. > > > > The following expression exhib

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Sun 27 Mar 2011 13:56, Andy Wingo writes: > On Sun 27 Mar 2011 13:30, Andy Wingo writes: > >>> (And Guile crashes upon ,bt.) >> >> I wonder if this indicates some compilation bug. > > Indeed it does; it's a bug in Guile, not sxml-match. > > The following expression exhibits this bug: > > (car

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Mon 14 Mar 2011 18:40, l...@gnu.org (Ludovic Courtès) writes: > I can reproduce the problem: Me too. How weird. scheme@(guile-user)> (sxml-match '(to "Trove") ((to ,cv) (list cv)) (,_ #f)) $5 = ("Trove") scheme@(guile-user)> (define x (sxml-match '(to "Trove") ((to ,cv) (list cv)) (,_ #f)))

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Sun 27 Mar 2011 13:30, Andy Wingo writes: >> (And Guile crashes upon ,bt.) > > I wonder if this indicates some compilation bug. Indeed it does; it's a bug in Guile, not sxml-match. The following expression exhibits this bug: (car (letrec ((f (lambda () (call-with-prompt

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-14 Thread Ludovic Courtès
Hi, [Cc: Jim Bender.] I can reproduce the problem: --8<---cut here---start->8--- scheme@(guile-user)> (define sxml '(*TOP* (*PI* xml "version=\"1.0\" encoding=\"UTF-8\"") (note " " (to "Tove") " " (from "Jani") " " (heading "Reminder") " " (bo

VM stack overflow while calling sxml-match within let* or car

2011-03-14 Thread nalaginrut
hi all, I found a strange problem while I's using sxml module. For example, I have a regular xml file,and convert it to a sxml format: --- (*TOP* (*PI* xml "version=\"1.0\" encoding=\"UTF-8\"") (note " " (to "Tove") " " (from "Jani") " " (heading "Reminder") "